Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Session Object
Message
De
29/10/1999 00:47:45
 
 
À
29/10/1999 00:40:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00283611
Message ID:
00283630
Vues:
11
Hi,
Yes... I got it... Thank you...
I got a problem again....
mymethod

DEFINE CLASS loSession AS SESSION
PROCEDURE INIT
	IF .NOT. USED('User')
		USE User SHARED AGAIN
		CURSORSETPROP('Buffering', 5, 'User')
	ENDIF

	SELECT User
	IF SEEK(THIS.UserID, 'User', 'User_ID')
		IF Supervisor
			llPass = .T.
		ENDIF
	ENDIF
	USE
	
ENDPROC
ENDDEFINE

loSession.DESTROY
RETURN llPass
WHAT WRONG WITH MY CODE? I got compile error...STATEMENT IS NOT IN PRCEDURE....
i rarely DEFINE CLASS programmatically...

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform