Since I'm new I like using macro's over code, but coding allows me to do so much more. I'm still learning.
I have a macro for a button that opens a report with a long "Where Condition" I understand that the macro does not support as many characters as code does in the "where condition"
Heres an example of what I'm trying to do with the Macro (as one line without returns)
([ReceiveType] Like [Forms]![MakeReport]![Combo27]) And
([CompanyName] Like [Forms]![MakeReport]![Combo29]) And
([DateReceived] Like [Forms]![MakeReport]![Combo37]) And
([ReceiveRef] Like [Forms]![MakeReport]![Combo33]) And
([NewService] Like [Forms]![MakeReport]![Combo43]) And
([BoardType] Like [Forms]![MakeReport]![Combo31])
Can someone help me with this code?
All help is appreciated. Thanks
					I have a macro for a button that opens a report with a long "Where Condition" I understand that the macro does not support as many characters as code does in the "where condition"
Heres an example of what I'm trying to do with the Macro (as one line without returns)
([ReceiveType] Like [Forms]![MakeReport]![Combo27]) And
([CompanyName] Like [Forms]![MakeReport]![Combo29]) And
([DateReceived] Like [Forms]![MakeReport]![Combo37]) And
([ReceiveRef] Like [Forms]![MakeReport]![Combo33]) And
([NewService] Like [Forms]![MakeReport]![Combo43]) And
([BoardType] Like [Forms]![MakeReport]![Combo31])
Can someone help me with this code?
All help is appreciated. Thanks
Comment