J
jrthor_85 via AccessMonster.com
I have a Form with a subform (inquiry // parts within that inquiry), which I
am trying to have print out only the current record shown in the form. I
understand that I should only print from reports, and so I've used "Save-as"
to convert my parent form to a report. What I need is to be able to only
print the current record (from both main and sub forms). I've read over and
again that I should use an OpenReport function with something in the WHERE
clause... only problem is I don't know how to type it out or where to put it
into the code.
Note also that I am trying to do the above procedure in 2 different instances.
One form/subform which I want to have do this is only used to enter basic
information for a new entry, and the fields are directed to the tables
themselves. The other form/subform I want to do this with is tied to a
SelectQuery that manipulates the data into many fields not stored in the
tables at all. I dont know if this will make any difference in how the code
is entered, but thought I'd put it out there just in case.
I have scoured these forums for a few weeks now trying to find the answer to
this, and while i'm positive i had found the answer already, I cant seem to
figure out how to implement it.
I thank you in advance for any responses to this, and doubly thank all of you
for your continued effort on this excellent newsgroup/forum.
John
am trying to have print out only the current record shown in the form. I
understand that I should only print from reports, and so I've used "Save-as"
to convert my parent form to a report. What I need is to be able to only
print the current record (from both main and sub forms). I've read over and
again that I should use an OpenReport function with something in the WHERE
clause... only problem is I don't know how to type it out or where to put it
into the code.
Note also that I am trying to do the above procedure in 2 different instances.
One form/subform which I want to have do this is only used to enter basic
information for a new entry, and the fields are directed to the tables
themselves. The other form/subform I want to do this with is tied to a
SelectQuery that manipulates the data into many fields not stored in the
tables at all. I dont know if this will make any difference in how the code
is entered, but thought I'd put it out there just in case.
I have scoured these forums for a few weeks now trying to find the answer to
this, and while i'm positive i had found the answer already, I cant seem to
figure out how to implement it.
I thank you in advance for any responses to this, and doubly thank all of you
for your continued effort on this excellent newsgroup/forum.
John