Populate a textbox from table field (1 Viewer)

mikesp1234

Registered User.
Local time
Today, 18:25
Joined
Aug 28, 2013
Messages
16
I am trying to populate a textbox from a field in a table based on clicking on a item in a listbox. User clicks a name from the Client table in the client field, and the date that is stored in the orderDate in the same row. I want the text11 textbox to show that date.
 

mikesp1234

Registered User.
Local time
Today, 18:25
Joined
Aug 28, 2013
Messages
16
Yes. Based on the date stored in the feild of the table. Same id number
 

mikesp1234

Registered User.
Local time
Today, 18:25
Joined
Aug 28, 2013
Messages
16
I have tried lots of options. Its just getting it to update on the onclick function for the listbox. Thats the problem
 

mikesp1234

Registered User.
Local time
Today, 18:25
Joined
Aug 28, 2013
Messages
16
I know I read it. But it still isn't updating the textbox. I tried that method already.
 

mikesp1234

Registered User.
Local time
Today, 18:25
Joined
Aug 28, 2013
Messages
16
Perhaps this is sounding too complicated. I have a form with a listbox and when I click on a different name, I want it to change a textbox to have the information from a different field in the same row. So if I click the name Mike the "date"(which is a field) in the textbox should change, click Tom should change again, and so on.
 

pr2-eugin

Super Moderator
Local time
Today, 23:25
Joined
Nov 30, 2011
Messages
8,494
Okay, go to Form Design mode. Click on the ListBox, under Data tab there should be something called the RowSource.. It would be a SELECT Query.. Copy and paste it here..
 

Users who are viewing this thread

Top Bottom