Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Constant definitions
Message
 
À
03/11/2008 13:20: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:
01359224
Vues:
31
This message has been marked as the solution to the initial question of the thread.
>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.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform