>>>When defining a series of constants like this
>>>#define dbBoolean 1
>>>#define dbByte 2
>>>#define dbInteger 3
>>>#define dbLong 4
>>>#define dbCurrency 5
>>>#define dbSingle 6
>>>#define dbDouble 7
>>>#define dbDate 8
>>>#define dbBinary 9
>>>#define dbText 10
>>>#define dbLongBinary 11
>>>#define dbmemo 12
>>>#define dbGUID 15
>>>#define dbDecimal 16
>>>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.
You can, but they are valid only for the method where you put the #include statement.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.