Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form Property default value
Message
From
24/10/2008 10:29:12
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01356658
Message ID:
01356917
Views:
23
Sergey--

>What are you trying to acomplish?

I have inherited an app. The form controls are all bound to form properties rather than table/view/cursor fields. When the user clicks on Add, the code wants to set all of the properties that the controls are bound to to their Default/Initial Value. Needless to say the code does not work.

Sounds like I need to look at the type of the individual form data properties. If a property's Type is character set it to "", if it is numeric set it to 0, etc. Worry about the exceptions later.


Tim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform