display single record in edit boxes

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
pkakkar
Posts: 5
Joined: Mon 14 Apr 2008 09:05

display single record in edit boxes

Post by pkakkar » Wed 23 Apr 2008 09:55

hello,

I have 3 labels and 3edit boxes as customer no, first name, last name. and a DBNavigator with 4 buttons- first, next, prior n last. Also, have MSConnection, MSQuery and Datasource on my form and they r interlinked.

In DBNavigator's Datasource property , I have mentioned Datasource1...

in MSQuery, I have given SQL statement as 'select cust_no, first_name, last_name from customer'..how can I show the records one by one using DBNavigator?'

Regards
Pooja

pkakkar
Posts: 5
Joined: Mon 14 Apr 2008 09:05

Post by pkakkar » Wed 23 Apr 2008 10:42

hi,

No need to reply ...I have done it using DBEdit and DBLabel..
regards
Pooja

Post Reply