Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setfldstate()
Message
From
29/04/2005 10:06:41
 
 
To
28/04/2005 15:25:56
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01009410
Message ID:
01009627
Views:
17
Hi James,

FLDSTATE = 3 indicates an appended record. I don't think you can SETFLDSTATE on an appended record to 1 or 2; only 3 or 4.

HTH

Bruce

>Hi,
>
>I am trying to use this function to chanege the field state on a cursor populated using SPT. I get an error "Function argument value, type, or count is invalid" when I try to change the field state. It does not give me an error if I use the same use the same value as the field state.
>
>
>?GETFLDSTATE("mailmergepk") = 3
>?setFLDSTATE("mailmergepk",1) = error
>?setFLDSTATE("mailmergepk",3) = .t.
>
>
>Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform