How to resolve VBA filtering query issue ?
I have these pieces of codes inside my form (name: frmBOMComparisonQuantity)
I have inserted below code into the QUERY : Report_BOM_Comparison_StandardQty_WithoutUnitPrice and Report_BOM_Comparison_BalanceQty_WithoutUnitPrice . Both queries are the pivot table format.
I have these pieces of codes inside my form (name: frmBOMComparisonQuantity)
If optStandardQty.Value Then
DoCmd.OpenQuery "Report_BOM_Comparison_StandardQty_WithoutUnitPrice", acViewNormal
ElseIf optBalanceQty.Value Then
DoCmd.OpenQuery "Report_BOM_Comparison_BalanceQty_WithoutUnitPrice", acViewNormal
End If
I have inserted below code into the QUERY : Report_BOM_Comparison_StandardQty_WithoutUnitPrice and Report_BOM_Comparison_BalanceQty_WithoutUnitPrice . Both queries are the pivot table format.
However, i obtain error message as attached during execution. Anyone has idea how to resolve the problem?[Forms]![frmBOMComparisonQuantity]![txtOperator]
Attachments
Last edited: