Clifford, your idea about the table proved to be very usefull :)
Thanks.
"Clifford Bass" <CliffordBass[ at ]discussions.microsoft.com> schreef in bericht news:A826A621-0EAF-4A13-AFE7-B1146A929007[ at ]microsoft.com...
[Quoted Text] > Hi Rob, > > It would be easier to relate/store them in a table. But if you really > don't want to do that, you can do the following, which does not need VBA. > Assume your entry form is named "frmEnter a Label" and a couple of the > controls on it are named "txtName" and "txtCity". In your report, you > might > have a control, also named "txtName" and another, also named "txtCity". > For > the first, you would set its Control Source to [Forms]![frmEnter A > Label]![txtName]. Likewise the Control Source for "txtCity" would be > [Forms]![frmEnter a Label]![txtCity]. The enter-a-label form must remain > open for the report to be able to get the values from it. > > Hope this helps, > > Clifford Bass > > "Rob" wrote: > >> Hi all :) >> >> I have an Access 2007 application where I want people to fill in a form >> with >> 6 text fields and one field that contains the number of copies. >> Those text fields are not related to any table. >> When they are done filling in the fields , they can press the print >> button >> and those 6 text lines should end up on some label-printer's label. >> >> Now I thought I could somehow make a report with 6 lines in it and use VB >> to >> transfer the form's data into the reports fields and print the report. >> But after several hours of trying and failing I am at a end. >> >> Has someone a good solution to my problem? >> >> Thanks in advance, >> >> Rob.
|