Can u create a parameter witin a crosstab query that draws its criteria from a custom dialog box. I have used this in select queries with no problem but it does not work in a crosstab. (Access 97) Any help would be appreciated.
Thanks for your help. It works for my text field but do u know what the proper line code should be for a date/time field using the between command. I used Between [Forms!Frm_ReportCentral!Txt_StartDate] And [Forms!Frm_ReportCentral!Txt_CloseDate] but I was prompted for a parameter. Taking out the brackets didn't work either. Any help would be once again greatly appreciated.
you really had the brackets like that? only one set around each parameter? i did that just to see what would happen and got a bracket error message. brackets should be around each object:
Between [Forms]![Frm_ReportCentral![Txt_StartDate] And [Forms]![Frm_ReportCentral]![Txt_CloseDate]
are you still talking about the crosstab query? if so then put these two things in the parameters box too.
I know the bracketing looked odd the way i did it but I received the error message(invalid bracketing) when i tried the way you suggested.
Why I attempted it with only one bracket was because, on the first parameter I received the error message (invalid bracketing) so I changed it(see below) and it worked. [Forms]![Frm_ReportCentral]![Txt_VSM] didn't work but Forms!Frm_ReportCentral!Txt_VSM did.
Either way the 2nd date parameter is still not working. Any thoughts. Once again thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.