L
litedread
Hi All,
I have been trying to create a button on a form that will populate a
report with only the current record's info. I have tried using this
code,
DoCmd.OpenReport "rptJacket", acViewPreview, , "[VUCaseFile] = '" &
[VUCaseFile] & "'"
VUCaseFile is an automatically generated alpha-numeric field. When i
click the button i get a dialog box asking for a parameter value for
VUCaseFile. I type in the case file (which is in the format VU08-000)
and the report opens, but there is no data.
What am I doing wrong? and is there anyway that Access can use the
current VUCaseFile on the form?
Any help would be GREATLY appriciated!!
Litedread
I have been trying to create a button on a form that will populate a
report with only the current record's info. I have tried using this
code,
DoCmd.OpenReport "rptJacket", acViewPreview, , "[VUCaseFile] = '" &
[VUCaseFile] & "'"
VUCaseFile is an automatically generated alpha-numeric field. When i
click the button i get a dialog box asking for a parameter value for
VUCaseFile. I type in the case file (which is in the format VU08-000)
and the report opens, but there is no data.
What am I doing wrong? and is there anyway that Access can use the
current VUCaseFile on the form?
Any help would be GREATLY appriciated!!
Litedread