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

Text Box Values

P: n/a
Hi everyone.

Can anyone assist with this?

How do I go about setting the value of a form text box to the value of
a variable?

to explain;

I have a declared a public variable called Serial

On the opening of a form called frm_Order which is opened in data input
only I want one of the text boxes to be set to the variable Serial

Thanks

Andy

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Don't create a public variable, but declare a public
function called Serial that references a private module
variable mSerial. Then you can use it as a default value of
your textbox.

But it sounds like you are trying to create something an
AutoNumber field could do. Are you sure you want to manage
this yourself?

Kevin
Andy48<a@ajgreen1953.fsnet.co.uk> 4/12/2005 7:26:45 AM
Hi everyone.

Can anyone assist with this?

How do I go about setting the value of a form text box to
the value of
a variable?

to explain;

I have a declared a public variable called Serial

On the opening of a form called frm_Order which is opened
in data input
only I want one of the text boxes to be set to the

variableSerial

Thanks

Andy

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.