Trying for ages to get this right but keep getting errors.
Main Form: Suppliermaster
Sub Form: SupplierSub
Queries for sub form record source:
OFN_DocumentsMaster , Refrigerants_Documents_Master
Main form Combo Name: CylinderType
List Options: "OFN", "Refrigerants"
When selecting one of the two options listed in the main form combo, i would like for it to update the subform record source with the appropriate query and then requery the data.
Been attempting this for hours now but cannot seem to get the syntax right. Been trying to do this as a 'case' statement as i also need to add in additional bits and pieces as well as changing the record source.
If anyone could help me please, im not great with vba.
Main Form: Suppliermaster
Sub Form: SupplierSub
Queries for sub form record source:
OFN_DocumentsMaster , Refrigerants_Documents_Master
Main form Combo Name: CylinderType
List Options: "OFN", "Refrigerants"
When selecting one of the two options listed in the main form combo, i would like for it to update the subform record source with the appropriate query and then requery the data.
Been attempting this for hours now but cannot seem to get the syntax right. Been trying to do this as a 'case' statement as i also need to add in additional bits and pieces as well as changing the record source.
If anyone could help me please, im not great with vba.