Ok so i have corrected the query to include all the fields required , i removed the "*"
?[Forms]![ClientInformation]![searchcombo] in the debug window returns the client ID selected in the combobox in this case 2.
So how do i get the subform to be populated with values returned by the query.
The...
in the debug window ? [Forms]![ClientInfoForm]![searchcombo] returns NULL.
The query is empty when run.
The searchcombo property sheet is as follows:
control source is empty
row source: select * from ClientInformation;
row source type: table/query
bound column 1.
yes the recordsource for the visitform is visitResultsQuery
you mean the syntax should be Me.visitform.requery?
let me explain better.
I have 2 tables "ClientInformation" and "Visits"
The 2 tables are related by the clientID.
ClientInformation
--------------------------
ClientID -->...
I am new to ms access, i need some help populating a subform (visitForm) according to a selection in a combobox(searchCombo) on the mainform(clientInfoForm)
so far it pulls up the info but opens up a new datasheet instead of populating the subform.
In the searchCombo box on change event i have...
I am new to ms access, i need some help populating a subform (visitForm) according to a selection in a combobox(searchCombo) on the mainform(clientInfoForm)
so far it pulls up the info but opens up a new datasheet instead of populating the subform.
In the searchCombo box on change event i have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.