468,539 Members | 1,543 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,539 developers. It's quick & easy.

Setting Default Value On Windows Form

I am upsizing an access application to vb.net. In access textbox, combos
and checkboxes can have default values, which are assigned in the properties
for the control. How can I set a control's default value in bound and non
bound forms? thanks
Dec 14 '06 #1
1 2613

Will wrote:
I am upsizing an access application to vb.net. In access textbox, combos
and checkboxes can have default values, which are assigned in the properties
for the control. How can I set a control's default value in bound and non
bound forms? thanks
For a text box or check box, just set the Text property or the Checked
property. The data that is in there at design time can be the default
value. If there is code that puts values into the controls from a
datasource, it will just overwrite the design-time values.

Dec 14 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by DBC User | last post: by
7 posts views Thread by Academic | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.