Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
REPORT NOWAIT not works with form private data session
Message
De
29/06/1998 12:16:46
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
REPORT NOWAIT not works with form private data session
Divers
Thread ID:
00112545
Message ID:
00112545
Vues:
44
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
Répondre
Fil
Voir

Click here to load this message in the networking platform