Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Procedure for all forms
Message
De
04/11/2008 10:23:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Procedure for all forms
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01359518
Message ID:
01359518
Vues:
107
Dear Experts

There are more than 100 Forms in my Project.
I want to use following codes in the INIT event of some 50 Forms.
I want to ask:
Should I use CLASS or some Procedure and how?

Please help
select u_right
locate for usno=m.usno and uname= juststem(sys(1271,thisform))
if found()
	allow_rights= rights
	if allow_rights=0
		messagebox("Not Allowed",0+16+512,"No Permission")
		return.f.
	endif
else
	messagebox("Not Allowed",0+16+512,"No Permission")
	return.f.
endif
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform