|
-
May 8th, 2001, 11:20 PM
#1
Beginner
i have two textboxes on my form.by using any of these : MSHFlexGrid,DataGrid,DBGrid, i want to display cust_code and cust_name fields into any of these grids from my database(ms-access).in these grids can i navigate the records through keyboard i.e. when i press c it should go to the record with the cust_name starting with c and when i press m it should go to the record with the cust_name starting with m.when the user clicks on the particualr record i would like the cust_code to appear in text1 and cust_name in text2.please help me out.
This is possible with DBList,but in DBList i can have only one column or row.
[email protected]
-
May 9th, 2001, 07:26 AM
#2
Re: Beginner
Form your Access db create a recordset and enter it for example to the MSFlexGrid. If you want you can sort you your flexgrid by cust_name.
Now when you tipe "c" in your text box, you have to search the cust_name column in the flexgrid and go to the first record which starts with "c".
If you have question how to
1.Create recordset
2.Enter it to MSFlexGrid
3.Sort MSFlexGrid
3.Search MSFlexGrid
Let me know
Iouri Boutchkine
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|