I have Report form which runs report per criteria entered. If it is based on single txtbox or cbobox, then I do not have a problem, but when it is multiple boxes then it doesn't produce the results I want. I.e. I want to get a report between two different dates, I tried below Macros but it only pulls report for TxtGDFrom textbox.
[GDate]=[Forms]![FrmGDayAlphaReport]![TxtGDFrom] And [Forms]![FrmGDayAlphaReport]![TxtGDTo]
if I use below Macro, it produces blank report
[GDate]=[Forms]![FrmGDayAlphaReport]![TxtGDFrom] And [GDate]=[Forms]![FrmGDayAlphaReport]![TxtGDTo]
I tried using BETWEEN function, but it is giving me an error.
[GDate]=Between[Forms]![Copy Of FrmGDayAlphaReport]![TxtGDFrom] And [Forms]![Copy Of FrmGDayAlphaReport]![TxtGDTo]
This must be simple, but having a hard time figuring out.
Also, i would like to display criteria on my report. Is it possible? If so, how?
Please help.
[GDate]=[Forms]![FrmGDayAlphaReport]![TxtGDFrom] And [Forms]![FrmGDayAlphaReport]![TxtGDTo]
if I use below Macro, it produces blank report
[GDate]=[Forms]![FrmGDayAlphaReport]![TxtGDFrom] And [GDate]=[Forms]![FrmGDayAlphaReport]![TxtGDTo]
I tried using BETWEEN function, but it is giving me an error.
[GDate]=Between[Forms]![Copy Of FrmGDayAlphaReport]![TxtGDFrom] And [Forms]![Copy Of FrmGDayAlphaReport]![TxtGDTo]
This must be simple, but having a hard time figuring out.
Also, i would like to display criteria on my report. Is it possible? If so, how?
Please help.
Last edited: