Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SETFLDSTATE()
Message
From
24/12/1999 12:12:32
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00308418
Message ID:
00308422
Views:
27
>Hi Folks,
>
>I am trying to get an appended record in a view to looked like it was an existing edited one. The current GETFLDSTATE(-1) returns 34444444, and I want that to change to 12222222. However, every time I try to SETFLDSTATE() a field, I get a Function argument, type or count is invalid.
>
>Although it says nothing about restrictions in the Help file, my experiments suggest that 3s can only be interchanged with 4s, and 1s with 2s. Is this correct, and if so, is there another way to fool VFP that a new record is an existing one?
>
>TIA, Kevin

Wouldn't an existing record be all 1's?

Use

SETCURSORPROP('SendUpdates',.f.)
TABLEUPDATE(0)
SETCURSORPROP('SendUpdates',.t.)

I think that will do what you want.

BOb
Previous
Reply
Map
View

Click here to load this message in the networking platform