By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,389 Members | 1,955 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,389 IT Pros & Developers. It's quick & easy.

Textbox on form will not give a default value of Zero

anoble1
100+
P: 225
I have 2 textboxs on a form that have nothing in them and will not show $0.00. Any ideas?
The table is set to Currency with a default value of "0" also.
Ideas on how to make this show Zero?
I have also tried properties on the textbox and make the default value zero there too. Still is blank.
Aug 30 '17 #1

✓ answered by NeoPa

The Default property of a TextBox control must be a string value. A new TextBox will take on the Default property of the Field if it's created from that Field. I don't believe it will inherit its properties when you simply change the value of the ControlSource property.

If you still can't get it to work then post back the exact string you're using in the TextBox's Default property.

Share this Question
Share on Google+
1 Reply


NeoPa
Expert Mod 15k+
P: 31,494
The Default property of a TextBox control must be a string value. A new TextBox will take on the Default property of the Field if it's created from that Field. I don't believe it will inherit its properties when you simply change the value of the ControlSource property.

If you still can't get it to work then post back the exact string you're using in the TextBox's Default property.
Aug 31 '17 #2

Post your reply

Sign in to post your reply or Sign up for a free account.