Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO Question
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00705667
Message ID:
00705810
Views:
10
>How do I know if a record in a recordset was just added with
>
>oRecordSet.AddNew()
>
>
>or if it is an existing record?

Hi,
Check out EditMode property of Recordset object:

IF BITAND(oRecordSet.EditMode, adEditAdd) > 0
...
ENDIF
Previous
Reply
Map
View

Click here to load this message in the networking platform