Click here to Skip to main content
15,901,853 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everyone,

i was wondering if anyone knew a simple way to fill multiple text fields with a record based on a ID field of an access database.

Cheers

Don
Posted
Updated 16-Jan-11 14:31pm
v2
Comments
Dave Kreskowiak 16-Jan-11 21:06pm    
What do you mean by simple? All it takes is to bind the TextBoxes to your DataTable. How much simpler do you want it?
SIFNOk 16-Jan-11 21:21pm    
i understand that the datatable automatically fills at load().

want i am looking at achieving is a seperate textbox that filters the "ClientID" field. soo basically a user can enter a client number if known and it fill then fill the other textbox fields relating to that client id, ie first name, last name, address, ect.

that make senses?

1 solution

 
Share this answer
 
v2
Comments
fjdiewornncalwe 16-Jan-11 23:13pm    
I think you are partially on track with the auto complete, but I think the OP wants to have other textboxes auto complete with database information based on entry in the "Client ID" textbox. How he is to do this will depend entirely on whether this is a web based or forms based application. At this point, I'm much too tired to put together a complete answer right now, but being on the right track, you could probably get your's up to standard quite easily.
thatraja 16-Jan-11 23:56pm    
Also I think the same Marcus, anyway updated answer for now. Let's see.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900