Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error when not Browsing first
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Error when not Browsing first
Miscellaneous
Thread ID:
01677526
Message ID:
01677526
Views:
49
Hi,

I am troubleshooting the following situation.

When I call a procedure that creates a cursor and then prints a report based on this cursor, I get error:
cannot find variable 'rec_type'
REC_TYPE is actually a column in the cursor based on which the report is created.

But when - right before I call REPORT FORM .... - I have the command BROWSE (which shows that the column REC_TYPE does exist), I have no problem/no error.

The procedure is called from a click on a check box in a grid.

Where do you suggest I look for the solution?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform