B
- Butch
I have an intermediate knowledge of Access97 and wondered if someone would
help me with a macro.
I have a database that keeps track of the contents of a hundred of my home
video tapes. It has fields like "Tape #", "People", "Event", "Time counter",
"Date", "Setting", etc.
I created both a query and a report that produces the contents of the tape #
I manually enter into the query. It works fine if I manually go into the
query, enter the tape # I want, and manually save it before I open the
report.
I created a Switchboard with a button labeled "Tape contents" and when I
click on it, a form I created pops up and asks for a tape number. That's
when things go wrong. When I click on the View Report Preview button also on
the form, the report appears but always with the last tape # that was
manually entered, and saved, in the query design screen. I want to be able
to enter a tape # and have the Report Preview appear with the information
about that tape # (- appear either automatically or by clicking the View
Report Preview button I put on that form.)
The macro I created contains lines: OpenForm, GoToControl, OpenQuery, Save,
RunCommand, OpenReport. What have I done wrong?
Also, after hours of trial & error, I am now also presented with a pop-up
form that prompts: Enter Parameter Value. I have no idea what I did to get
that and since I don't know what it refers to, I can't find any way to get
rid of it.
I'd appreciate any advice. Thanks.
help me with a macro.
I have a database that keeps track of the contents of a hundred of my home
video tapes. It has fields like "Tape #", "People", "Event", "Time counter",
"Date", "Setting", etc.
I created both a query and a report that produces the contents of the tape #
I manually enter into the query. It works fine if I manually go into the
query, enter the tape # I want, and manually save it before I open the
report.
I created a Switchboard with a button labeled "Tape contents" and when I
click on it, a form I created pops up and asks for a tape number. That's
when things go wrong. When I click on the View Report Preview button also on
the form, the report appears but always with the last tape # that was
manually entered, and saved, in the query design screen. I want to be able
to enter a tape # and have the Report Preview appear with the information
about that tape # (- appear either automatically or by clicking the View
Report Preview button I put on that form.)
The macro I created contains lines: OpenForm, GoToControl, OpenQuery, Save,
RunCommand, OpenReport. What have I done wrong?
Also, after hours of trial & error, I am now also presented with a pop-up
form that prompts: Enter Parameter Value. I have no idea what I did to get
that and since I don't know what it refers to, I can't find any way to get
rid of it.
I'd appreciate any advice. Thanks.