Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Constant definitions
Message
De
03/11/2008 15:38:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01359222
Message ID:
01359291
Vues:
34
>>When defining a series of constants like this
>>#define dbBoolean	1			&& Logical
>>#define dbByte		2
>>#define dbInteger	3			&& Short
>>#define dbLong		4			&& Long
>>#define dbCurrency	5
>>#define dbSingle	6
>>#define dbDouble	7			&& Float
>>#define dbDate		8			&& Datetime
>>#define dbBinary	9
>>#define dbText		10			&& Character
>>#define dbLongBinary	11		&& OLE
>>#define dbmemo		12			&& with Attachments
>>#define dbGUID		15			&& Replication
>>#define dbDecimal	16			&& Maybe 20
>>for use in a form and its methods, where should the above code be placed? I tried putting it in form.load but they weren't visible to the forms methods.
>>Thanks
>
>Open the form for editing.
>Click on Form Menu and click on "Include File..."
>
>You could set this file to be "Default include File" in Tools->Options->File Location
>But that will affect only new created forms, classes etc.
>
>For the PRGs #include ..... at the beginning of the PRG is enough.

Thanks Borislav. I had thought you could just type them directly in the form like you do in the prg.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform