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:
01496466
Views:
46
I had my SET VIEW ON operational and saw an old LV_ORDERS view open, which means that the REPORT's DataEnvironment is still holding that view. This is why it won't work. I am going to have to see how to clear out the old DataEnvironment.

>As a test, try this

>lnOrderNumber = Orders.Order_No
>select orders
>set filter to order_no=lnOrderNumber
>REPORT FORM Order PREVIEW

>This code should do exactly the same, but it's worth a try...

>>Yes, that is what is so bewildering is that lnOrderNumber does hold the correct value.
>>
>>>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