var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Delphi database query
I am a beginner in delphi and using the following command to get the count of records based on SQL query:
Query1.SQL.Add('Select COUNT(*) AS total_count from myDBName where myField = 999');
now I need to read total_count value and put it into an Edit textBox, how can I do that?
edit.text := query1.FieldByName('total_count').AsString;