Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report Print When a Cursor not open
Message
From
16/07/2012 16:27:32
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Report Print When a Cursor not open
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01548682
Message ID:
01548682
Views:
112
Hi,

I would like to be sure that I am understanding one aspect of VFP reports. I have a report where the General tab has teh following:
MyCursor.FieldName
I have the following The Print When expression
select("MyCursor") > 0
I thought that if the cursor MyCursor is not open VFP will simply not print this field. But I get run-time error. Does it mean that VFP report evaluates the General expression of the report before the When?
"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