B
Bill Frederick
New to this, got a tabel with three field, first name, last name and area.
I built a form and report for this table and put a command button on the
form to print the single report with the name that is showing. The problem
I have is that when two people have the same last name (which is what I am
using in the DoCmd event) it automatically prints the first occurance of
that name and not the one shown. I have to keep this simple so that it can
be used by a novice computer person, and I don't know much about
programming. Is there a way to include two fields in the DoCmd so that both
conditions must be on the current view and it will only print the visable
report? Here is my current button DoCmd.openReport "COMM-SHU",
acViewNormal, , "[Field1]=Forms![COMM-SHU]![Field1]". This dtable has to be
imported from Oracle daily to generate the information so there is no
primary key and no ID in the table. I keep it at Field 1 Field 3 and Field
16 for the information. Please keep it simple and detailed. Thanks
I built a form and report for this table and put a command button on the
form to print the single report with the name that is showing. The problem
I have is that when two people have the same last name (which is what I am
using in the DoCmd event) it automatically prints the first occurance of
that name and not the one shown. I have to keep this simple so that it can
be used by a novice computer person, and I don't know much about
programming. Is there a way to include two fields in the DoCmd so that both
conditions must be on the current view and it will only print the visable
report? Here is my current button DoCmd.openReport "COMM-SHU",
acViewNormal, , "[Field1]=Forms![COMM-SHU]![Field1]". This dtable has to be
imported from Oracle daily to generate the information so there is no
primary key and no ID in the table. I keep it at Field 1 Field 3 and Field
16 for the information. Please keep it simple and detailed. Thanks