I have a form with 1 combo box from which the user selects an ID. From that ID I wish to populate several Text Boxes based on queries such as
select Jun from Table where ID=[ID] and Tab="Billing"
select Jul from Table where ID=[ID] and Tab="Billing"
select Jun from Table where ID=[ID] and Tab="Customer Care"
This is probably easy, but what do I have to do in the respective text boxes for them to display the value based on its query? I tried to put this in the Row Source (hardcoding in the ID selection):
select [Jun] from
where ID=12488 and Tab="Customer Care"
but I get a #Name? error. I'm stuck on the way to get the query into the Text Box
Thanks,
Pete
select Jun from Table where ID=[ID] and Tab="Billing"
select Jul from Table where ID=[ID] and Tab="Billing"
select Jun from Table where ID=[ID] and Tab="Customer Care"
This is probably easy, but what do I have to do in the respective text boxes for them to display the value based on its query? I tried to put this in the Row Source (hardcoding in the ID selection):
select [Jun] from
but I get a #Name? error. I'm stuck on the way to get the query into the Text Box
Thanks,
Pete