rugby Championship Score := 10; rugby Championship Games Predicted:= 10; rugby Championship Games Correct:= 10; rugby Championship Games Almost:= 10; rugby Championship Games Wrong:= 10; currie Cup Score := 10; currie Cup Games Predicted := 10; currie Cup Games Correct := 10; currie Cup Games Almost := 10; currie Cup Games Wrong := 10; sql Query Update. Command Text := 'UPDATE users SET overall Score=:par Score, overall Games Predicted=:par Games Predicted, overall Games Correct=:par Games Correct, overall Games Almost=:par Games Almost, overall Games Wrong=:par Games Wrong, overall Accuracy=:par Accuracy WHERE username=:par Username'; sql Query Update. As Integer := Round(100 / (rugby Championship Games Predicted currie Cup Games Predicted)*(rugby Championship Games Correct currie Cup Games Correct) ((rugby Championship Games Almost currie Cup Games Almost)/2)); sql Query Update. Call Update to force the control to be repainted before any more, possibly time-consuming, processing takes place. Use Update to provide immediate feedback to the user that cannot wait for the Windows paint message to arrive. Note: The Borland Database Engine (BDE) has been deprecated, so it will not be enhanced. For information about migrating from BDE to db Express, see Consider migrating your existing database applications from BDE to db Express.
|