>>>I thought it worked perfectly but it only prints the first record from the
>>>table. I put "goto bott" before the report form but it
>>>still only prints the first record in the table. Is there a
>>>way to pass the information displayed on the form from that field to
>>>the report?
>>
>>You shouldn't issue GO TOP/BOTTOM. 'NEXT 1' clause means current record.
>>What you have to do is SELECT the table from where you want to print a
>>record.
>>
>>
>>
>
>I agree however when the report is printed the current record shown
>on the form is not where the record pointer is when the report form
>is issued or the report always start at the first record. If no
>parameters are give to the report form all records are printed. It
>always goes to the start of the table. As a test I issued "goto bott"
>to see if I would get different results. But it didn't work. I think
>I need a way to pass the contents of the "week" variable that is
>shown on the form into the report. Or maybe there is a better way.
>
>Any Ideas??
>
>
>Andy Roth
>Neyenesch Printers
>619 297 2281
>andyroth@electriciti.com
currentkey = yourtable.keyfield
REPORT FORM ... FOR yourtable.keyfield = currentkey
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only