J
jen
Hi,
I have a form, it passes a beginning date and an ending
date to a query in one date variable, which I used the
following: Between [Forms]![frmExtractReinstate]!
[txtBeginning] And [Forms]![frmExtractReinstate]!
[txtEnding] . on the form I have a view report
button,behind the button, I first checked the rst.EOF and
rst.BOF to see if there is any record in the query. If
there is no record, I will send out a message, saying
there is no record corrently, so you can not open the
report, but if there is any record, I want to open the
report, but when I check the query there are records in
the query, but when I wanted to click the button to open
the report, it always give me a message: Too few
parameters. Expected 2. Does anyone know what's wrong
with this and how to solve this problem?
Thanks,
jen
I have a form, it passes a beginning date and an ending
date to a query in one date variable, which I used the
following: Between [Forms]![frmExtractReinstate]!
[txtBeginning] And [Forms]![frmExtractReinstate]!
[txtEnding] . on the form I have a view report
button,behind the button, I first checked the rst.EOF and
rst.BOF to see if there is any record in the query. If
there is no record, I will send out a message, saying
there is no record corrently, so you can not open the
report, but if there is any record, I want to open the
report, but when I check the query there are records in
the query, but when I wanted to click the button to open
the report, it always give me a message: Too few
parameters. Expected 2. Does anyone know what's wrong
with this and how to solve this problem?
Thanks,
jen