R
Roshan Abbasi via AccessMonster.com
One of my forms open a report as below:
DoCmd.OpenReport "rptTest", acViewPreview, "Order By '" & strIDNum & "'",
strCriteria, acWindowNormal
The strIDNum is read from a textbox, in the form, with no problem. The
strCriteria is a string working fine.
But the report does not Order the result as expected. I want to know the
correct syntax for the 'Order By' phrase.
I tried concatinating the 'Order By' phrase with the Criteria as well,
without success.
Seeking help.
DoCmd.OpenReport "rptTest", acViewPreview, "Order By '" & strIDNum & "'",
strCriteria, acWindowNormal
The strIDNum is read from a textbox, in the form, with no problem. The
strCriteria is a string working fine.
But the report does not Order the result as expected. I want to know the
correct syntax for the 'Order By' phrase.
I tried concatinating the 'Order By' phrase with the Criteria as well,
without success.
Seeking help.