Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where are threads subject VFP6 not stopping at Read Even
Message
 
 
À
21/08/2000 15:41:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00407462
Message ID:
00407499
Vues:
18
>>* Does 6.0 not recognize the global variables? (USERPASS, USERNAME, USERlev1,2,3 etc.)
>
>Where do you define these variables? Try defining them as private in Main.PRG with blank values. You can't just declare: PRIVATE USERPASS because it doesn't actually create the variable.
>
>>* Or does 6.0 require a Read event after the security login (t2)?
>
>What is the login forms WindowType property? Try it with Modal.

All of this occurs in Main before the already mentioned code

PRIVATE USERLEVEL && GLOBAL VARIABLES
PRIVATE USERLEV1
PRIVATE SECID
PRIVATE cSeekVal && Stores Toolsbar Seek Value Character
PRIVATE cKEYWATCH && CFSERIALNO1.Value Current KEY
PRIVATE USERPASS
PRIVATE gcUSER
PRIVATE gcDEPT
Private cSTART && Inactivity (1-HOUR) disabler
PRIVATE gnPULLUP
USERLEVEL= 0
USERLEV1= 0
cKEYWATCH= SPACE(10)
cSeekVal= SPACE(50)
SECID= " "
USERPASS= " "
gcSTATUS= " "
gcUSER= " " && Requestor Variables
gcDEPT= " "
gnPULLUP= 3

Security Screen (t2) is modal

So maybe the problem lies in the way VFP6.0 runs code? I never see the login screen, in which case the USERPASS would remain blank and by design end the attempt to start. (if blank do nothing)

If that's the case what's the proper way to instantiate T2 security? (set global vars)
Edgar L. Bolton, B.S. B.B.A.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform