Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Want to check the record status in VFP 6
Message
From
12/07/2004 07:45:14
 
 
To
12/07/2004 07:22:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00923228
Message ID:
00923240
Views:
21
This message has been marked as the solution to the initial question of the thread.
Whoops, my mistake.

If you specify -1 as the field it will return a string with all the field states concatenated, you can then just check for the existence of a 2 in the string.

Hope that helps.

Kev

>using buffering mode 5.
>
>?GETFLDSTATE(Address)
>Error -> "Variable "variable" is not found (Error 12)"
>
>?GETFLDSTATE("Address")
>Error -> "Function argument value, type, or count is invalid (Error 11)"
>
>
>
>>>It solves my problem thanks a lot Kev.
>>>it is posible that i can get it from the complete record not a field.
>>
>>Yes, you can specify
>>
>>
nStatus = GETFLDSTATE(tableAlias)
>>
>>If it returns 2 or 4 then you know an aspect of that record has changed, or it has been deleted/recalled.
>>
>>Kev
>>
>>>
>>>>Have a look at GETFLDSTATE function.
>>>>
>>>>Kev
>>>>
>>>>>Hi,
>>>>>
>>>>>I want to check the record status when i add or modify the record
>>>>>in the table . Any function for this problem.
>>>>>
>>>>>thank in advance,
>>>>>Mob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform