M
mark.macumber
Hi All,
Im new to MS Access VBA programming and reporting but im an
experienced programmer in general. I need to do a MS Access report, and
find that the default pop-ups for parameters are plain and boring. I
would like to use a form to ask the user for input.
I have heard this can be done but cant get it to work.
Here is what I have done.
* Created Report
* Created Form
* Added Event to Report to open form:
Private Sub Report_Open(Cancel As Integer)
DoCmd.OpenForm "DateInput", acNormal
End Sub
* Added SQL in report query to use form params:
WHERE ExpiryDate < [Forms]![DateInput]![LabelStart]
This all works to a degree. But my form is full screen, and my report
isnt taking into account the parameters that I type into the form.
Can someone please help me?
Most Appreciated!
Kram
Im new to MS Access VBA programming and reporting but im an
experienced programmer in general. I need to do a MS Access report, and
find that the default pop-ups for parameters are plain and boring. I
would like to use a form to ask the user for input.
I have heard this can be done but cant get it to work.
Here is what I have done.
* Created Report
* Created Form
* Added Event to Report to open form:
Private Sub Report_Open(Cancel As Integer)
DoCmd.OpenForm "DateInput", acNormal
End Sub
* Added SQL in report query to use form params:
WHERE ExpiryDate < [Forms]![DateInput]![LabelStart]
This all works to a degree. But my form is full screen, and my report
isnt taking into account the parameters that I type into the form.
Can someone please help me?
Most Appreciated!
Kram