Welcome! Log In Create A New Profile

Advanced

Content Initial Value

Posted by Hans60 
Hans60
Content Initial Value
March 04, 2009 09:53PM
why is the initial value of a edit control not shown when the control is connected to a database?
Alexandre Leclerc
Re: Content Initial Value
March 05, 2009 02:52PM
Hi Hans60,

It is replaced by the default value from the analysis.

Default content from the filed will be displayed at first only. Then the moment you call FileToScreen() the fields values will be replaced by the default values from the analysis. Calling Reset() will reset the actual field in the screen. Then the default value of the field (not the Dcool smiley will be displayed.

It really depends what you try to achieve. If you really want a default value for that db-field, put it in the analysis; or after calling FileToScreen() set it manually.

Best regards.
Hans60
Re: Content Initial Value
March 05, 2009 03:19PM
Hi Alexander,
what I am trying to do is, add some info in a edit field to make input of data on a new entry as short as possible.
Your info is helpfull thanks, I will try what you suggest!
regards
Hans

Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: