G
Guest
How to do this seems to escape me:
I have a form that the user chooses from an unbound combo box of Time Frame
and all are based on calculations except one: "Enter Specific Dates" and I
want the user to input a "Start Date" and an "End Date" and that info goes
into [RP_Date] and [RP_Today] fields of a table because the reports criteria
are based on this table but I forget how to write in code, this is what I
have:
If [cmb_Time_Frame] = "Enter Specific Dates" Then
[RP_Date] = [Enter Start Date]
[RP_Today] = [Enter End Date]
but I get the runtime-error 2465 "Microsoft can't find the field "!" refered
to in your expression. I am assuming I don't have the [Enter Start Date]
right (I want this to pop up and the user enter their date they want to use
and it to go into [RP_Date] same with the End Date.
Any help would be great.
Thanks!
Stacey
I have a form that the user chooses from an unbound combo box of Time Frame
and all are based on calculations except one: "Enter Specific Dates" and I
want the user to input a "Start Date" and an "End Date" and that info goes
into [RP_Date] and [RP_Today] fields of a table because the reports criteria
are based on this table but I forget how to write in code, this is what I
have:
If [cmb_Time_Frame] = "Enter Specific Dates" Then
[RP_Date] = [Enter Start Date]
[RP_Today] = [Enter End Date]
but I get the runtime-error 2465 "Microsoft can't find the field "!" refered
to in your expression. I am assuming I don't have the [Enter Start Date]
right (I want this to pop up and the user enter their date they want to use
and it to go into [RP_Date] same with the End Date.
Any help would be great.
Thanks!
Stacey