Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Public Variable
Message
De
08/05/2003 11:26:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
08/05/2003 11:12:22
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00786043
Message ID:
00786277
Vues:
16
>Hello Cetin:
>
>How are you. Thank you for your kind response.
>
>>You setup values in main.prg with default empty values, 1st form should setup them then the 2nd form should run. But 1st form is not modal and 2nd form doesn't wait the values be set ? IOW in second form before your SQL if you log values are they what you expected them to be ?
>>
>The first form is the main form for the application startup. It consists of a container with 2 text control and a command button. The click envent of the command button will process the code and retrieve the Reference Number (which in my opinion should be containted in the mUserReferenceNumber variable till teh user shuts down the application). Later, the user could click on a menu item to view their messages. The init method of the message form uses the value of mUserReferenceNumber to identify the uer's fullname and thereafter to check if that user has any messages.
>
>Like I said, in the development mode, all is OK, but mUserReferenceNumber or the Fullname does not work after the app has been compiled.

Henry,
Would you provide your main.prg code (reduced - where variables are defined, where Form1 and 2 are called -modal or not- and where the read event/sclear events are)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform