Setting TQuery SQL Statement | ||
| ||
The SQL statement finds all the fields from the Article table where the user_id field is equal to a varaible Text value dbtUser.Text. A better way would be to use Parameters in the Query. Query1.SQL[0] := 'select * from article where user_id = ' + dbtUser.Text + ''; Query1.Active := True; Tags: Delphi SQL TQuery | ||
| ||
| ||
Login for comment |
OTHER POSTS IN THE SAME CATEGORY How To Get The Windows OS Version |