JoeTekTips
Programmer
First, thanks to everyone for thier help in the past. There are some tricky things that I have to deal with for the application that I am creating and I am more of an Access novice than expert.
Anyhow, hear is the latest challange. On a form that creates a new job ticket record, I need to have a combo box's On Change cause certain text boxes to autopopulate. Now the not-so-simple part is that the data for the text boxes will come from a query, and not the same data source as the form.
Basically, when the On Change event happens, a query will run that uses the selection in the combo box as part of the SQL statement.
More specifically, the data source for the form is tblJobTicket. Part of the data fields for tblJobTicket are for address and contact info. Meanwhile, each customer has a record in tblClients. The idea for the form is that when the combo box is selected, a query is run that gets the address feilds from the tblClients and sets the shipping text boxes on the form to those values.
The reason for all of this is so that the user will get the default address info for the client put in the ship to fields. This way, if address happens to be differant than the main address for the customer, it can be changed on the form before the actual job ticket is produced.
Thanks in advance,
-Joe
Anyhow, hear is the latest challange. On a form that creates a new job ticket record, I need to have a combo box's On Change cause certain text boxes to autopopulate. Now the not-so-simple part is that the data for the text boxes will come from a query, and not the same data source as the form.
Basically, when the On Change event happens, a query will run that uses the selection in the combo box as part of the SQL statement.
More specifically, the data source for the form is tblJobTicket. Part of the data fields for tblJobTicket are for address and contact info. Meanwhile, each customer has a record in tblClients. The idea for the form is that when the combo box is selected, a query is run that gets the address feilds from the tblClients and sets the shipping text boxes on the form to those values.
The reason for all of this is so that the user will get the default address info for the client put in the ship to fields. This way, if address happens to be differant than the main address for the customer, it can be changed on the form before the actual job ticket is produced.
Thanks in advance,
-Joe