>Hi, Craig!
>
>I think I'm not expressing myself very well... :-)
>
>Try the following code:
>
>#DEFINE ADRECDELETED &H0000004
>
>teste = ADRECDELETED
>
>Do you see?
>
>ADOVFP.H defines that constant as a hexadecimal value, and when I reference it through my code,
>like oRS.Status = adRecDeleted, VFP just don't know about this constant...
>
>Do you have any suggestion?
You define a hex value like this:
#DEFINE ADRECDELETED 0x0000004
of course,
#DEFINE ADRECDELETED 4
is the same, since 0x4 and 4 are the same number :).
Steve Gibson