Hi
I have a subform with the following fields:
Module, Datagroup, Version.
The main form has two combo boxes:
Combo Box 1 lists all datagroups
Combo Box 2 lists all versions based on the datagroup selected in combo box 1
The subform needs to display the modules based on the datagroup/version combination selected above.
The master/child link is set to datagroup/datagroup and version/version.
I tried the following in the second combo box after update but got a run-time 13 error:
Me.RecordsetClone.FindFirst "[VERSION] = " & Me![Combo1] And "[DATAGRP] = " & Me![Combo2]
I'm guessing it doesn't like the 'and' What is the correct syntax to find the records I am looking for?
I have a subform with the following fields:
Module, Datagroup, Version.
The main form has two combo boxes:
Combo Box 1 lists all datagroups
Combo Box 2 lists all versions based on the datagroup selected in combo box 1
The subform needs to display the modules based on the datagroup/version combination selected above.
The master/child link is set to datagroup/datagroup and version/version.
I tried the following in the second combo box after update but got a run-time 13 error:
Me.RecordsetClone.FindFirst "[VERSION] = " & Me![Combo1] And "[DATAGRP] = " & Me![Combo2]
I'm guessing it doesn't like the 'and' What is the correct syntax to find the records I am looking for?