Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FOR part not working
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01496452
Message ID:
01496454
Views:
69
>I do not understand why it is that a perfectly functioning set of code is now reporting on only the top record in spite of passing over the correct Order # to the REPORT FORM command, as follows:
>
>
>* PrintButton.Click()
>lnOrderNumber = Orders.Order_No
>REPORT FORM Order PREVIEW FOR Orders.Order_No = lnOrderNumber
>
>
>It seems that the REPORT FORM goes for the TOP record each time, and not the record pointed to by the FOR clause of the command.

Have you checked that lnOrderNumber actually holds the record you want?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform