Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Constant definitions
Message
From
03/11/2008 15:38:38
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01359222
Message ID:
01359291
Views:
32
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform