Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Purpose of the NAME option
Message
 
 
To
12/04/2007 09:30:43
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01214930
Message ID:
01214934
Views:
10
>What's the purpose again of the NAME option in the REPORT FORM command? I've looked in the help file, but it's chinese to me.
>
>I am asking because I've come across a strange bug. If I omit the NAME clause, my formset is closed before the report is generated. If I add the NAME clause, my formset stay alive. For example:
REPORT FORM IA200000 TO FILE c:\temp\temp.ps NOCONSOLE   && The formset is closed
>REPORT FORM IA200000 TO FILE c:\temp\temp.ps NOCONSOLE NAME whatever   && The formset stay alive
Anyone know why the NAME clause is mandatory for my formset to stay alive?
>
>TIA

Perhaps the reference becomes global and thus keeping the formset from releasing. I never used NAME option in report command and don't see a need for this unless you add some tables programmatically into report's DE using this NAME reference.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform