Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What am I missing here ???
Message
From
05/08/1999 15:21:41
 
 
To
05/08/1999 14:43:23
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00250312
Message ID:
00250339
Views:
19
>I have created a simple one-to-many report using the wizard. It works fine except that it refuses to ignore deleted child records. I have invoked the SET DELETED ON command, but it is still ignored.
>Also, I have a private data session for this report. I tried to use the default session of the form I am running (It has identical tables/relations), but the report would only pick up the fist child record. Do I have some type of environment issue ? Can the environment be blown away as in FP2.6???
>

SET DEFAULT is scoped to the data session, meaning that anything that has it's own data sessions (forms or reports based on a private datasession, or isntances of the new SESSION object added to VFP6 SP3) will ignore how you've set it in a different data session.

The easiest fix is to add the SET DELETED ON to the Load or Init event of any Form or report that uses a private data session. If you've created a subclass of the base form class, and you've set things up so that Form Wizard will use that rather than the base class you can add the statement to the Load or Init code of the first-level subclass and have it propagated to all forms built from it...

>As usual, any help is appreciated.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform