Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where is a default Field value coming from.
Message
From
09/01/2003 15:11:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Where is a default Field value coming from.
Miscellaneous
Thread ID:
00739981
Message ID:
00739981
Views:
68
I am trying to make sense of some code that was written by my predacessor here. He is no longer with the company.

I have a form with a table in the DE. When You click new on the codemine toolbar a default value is filled in for one of the fields. I need to find where that default value is coming from. Sounds simple.

It is not in the form. There is no custom code in the form. In fact, I placed the table on a new form with a couple textbox controls and the default value appeared when I clicked new.

Similarly it is not on the cmdatamanager class.

So I began looking at the database. In the table designer, the default value box is blank.

If I just browse the table directly and add a record it just adds a blank record without the default value. So that confirms that it is not happening in the database.

The default value is getting filled in when the table is in a data form. It is not coming from any inherited code of the form or data manager because I went all the way back to the codemine base classes and it still filled in the default value.

There has to be someplace else that this is getting defined.
Unfortunately, I'm not that familiar with the debugger, any tips on using it to step through the code of a form.
Next
Reply
Map
View

Click here to load this message in the networking platform