Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetFldState not working in VFP 7
Message
From
04/10/2001 08:26:41
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00563930
Message ID:
00564060
Views:
18
>Well, why you need this? You can make a view, open it with NODATA option and append recrd to it - this will cause no any default values from the table definition apply to the view fields. Tell more details, and probably we will be able to find some other solutions. I know SetFldState() is needed in VERY rare situations and neve heard it is used in production.


Thanks.
I use the default values in tables because upon appending of records it gives me a simple way to have some fields the correct values right away.
Those values are for example the primkey.

I could also do the updating after the appending, in code. But this would be more work and more difficult to maintain. I would really have liked to use this simple solution, and instead of missing the default value option, I even prefer to let the user prompt for "Save changes?".
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform