>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
Kevin,
Can you show us the exact SetFldState() code you asre running that doesn't work.
BTW, I am not sure, but I recall soething from teh past where it was discovered that changing teh fiedl state on teh buffer only affected the return from GetFldState and not what VFP saaw and how VFP dealt with teh buffer.