F
FilemakerPro_Developer
I have a form with two combo box value list fields: reportName, fiscalQtr
The form these fields are on shouldn't store the data. When I created the
value list
I chose store the value for later use. I noticed that there are 8 records
in the form.
I don't want it to store a value for the field just use it as a selection
for the reports.
I couldn't figure out which property to not allow for creation of records.
The main question I have is how to pass the two values to the form so I can
filter the report? When I click the button on this form it says it can't
find the field reportname in my expression.
Private Sub cmdGetReport_Click()
'On Error GoTo Err_
Dim stDocName As String
Dim stFiscalQtr As String
stDocName = [Forms]![frmChooseReport]![ReportName]
stFiscalQtr = [Forms]![frmChooseReport]![FiscalQtr]
DoCmd.OpenReport stDocName, acPreview, , strFilter
End Sub
thanks for all your help, I'm almost done.
The form these fields are on shouldn't store the data. When I created the
value list
I chose store the value for later use. I noticed that there are 8 records
in the form.
I don't want it to store a value for the field just use it as a selection
for the reports.
I couldn't figure out which property to not allow for creation of records.
The main question I have is how to pass the two values to the form so I can
filter the report? When I click the button on this form it says it can't
find the field reportname in my expression.
Private Sub cmdGetReport_Click()
'On Error GoTo Err_
Dim stDocName As String
Dim stFiscalQtr As String
stDocName = [Forms]![frmChooseReport]![ReportName]
stFiscalQtr = [Forms]![frmChooseReport]![FiscalQtr]
DoCmd.OpenReport stDocName, acPreview, , strFilter
End Sub
thanks for all your help, I'm almost done.