Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
REPORT NOWAIT not works with form private data session
Message
From
29/06/1998 12:16:46
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
REPORT NOWAIT not works with form private data session
Miscellaneous
Thread ID:
00112545
Message ID:
00112545
Views:
45
I have a lot of ready made FPW reports designed for default data session,
tables & relations are set programmatically before report command.
I want to have some reports in screen simultaneously.
Forms from which reports are called are in private data session.

I made a test program.
This program displays the report. However, when I click it the report,
a table open dialog appears: it seems that report switches to
default data session !!!!

How to make REPORT FORM NOWAIT command to use form's private data session?
How to make following program to work?

CREATEOBJECT( 'myform' )
READ EVENTS
RETURN

DEFINE CLASS myform AS FORM
DATASESSION = 2

PROCEDURE INIT
CREATE CURSOR test ( test c(1) )
APPEND BLANK
CREATE REPORT test FROM test
REPORT FORM test NOWAIT PREVIEW
ENDPROC
ENDDEFINE
Andrus
Reply
Map
View

Click here to load this message in the networking platform