AutoNumber in Textbox

A

an

Hello!

I Have a form based on table with AutoNumber field.
When the field is empty (the last), the textbox show
us "AutoNumber".
Is possible to omit this message in Access 2K?

Thanks in advance.
an
 
R

Rick Brandt

an said:
Hello!

I Have a form based on table with AutoNumber field.
When the field is empty (the last), the textbox show
us "AutoNumber".
Is possible to omit this message in Access 2K?

Instead of binding the TextBox directly to the Autonumber field, bind it to
an expression that will give the same result.
=[AutonumberField] + 0

The above will display the same as the autonumber field except on a new
record where it will be blank.
 
M

Malcolm Cook

or, use conditional formatting to set the background and foreground both to
white!

Rick Brandt said:
an said:
Hello!

I Have a form based on table with AutoNumber field.
When the field is empty (the last), the textbox show
us "AutoNumber".
Is possible to omit this message in Access 2K?

Instead of binding the TextBox directly to the Autonumber field, bind it to
an expression that will give the same result.
=[AutonumberField] + 0

The above will display the same as the autonumber field except on a new
record where it will be blank.
 
A

an

Ok, MC.
Many thanks
an
-----Original Message-----
or, use conditional formatting to set the background and foreground both to
white!

Rick Brandt said:
Instead of binding the TextBox directly to the
Autonumber field, bind it
to
an expression that will give the same result.
=[AutonumberField] + 0

The above will display the same as the autonumber field except on a new
record where it will be blank.


.
 
J

John Vinson

Hello!

I Have a form based on table with AutoNumber field.
When the field is empty (the last), the textbox show
us "AutoNumber".
Is possible to omit this message in Access 2K?

Just don't show the autonumber on the form AT ALL. The user can't edit
it and shouldn't use it!
 
A

an

Ok!

Many thanks, RB
an
-----Original Message-----
Hello!

I Have a form based on table with AutoNumber field.
When the field is empty (the last), the textbox show
us "AutoNumber".
Is possible to omit this message in Access 2K?

Instead of binding the TextBox directly to the Autonumber field, bind it to
an expression that will give the same result.
=[AutonumberField] + 0

The above will display the same as the autonumber field except on a new
record where it will be blank.


.
 
A

an

Thanks for your replay and sorry for my delay.
Your solution work fine!
an
-----Original Message-----
Hello!

I Have a form based on table with AutoNumber field.
When the field is empty (the last), the textbox show
us "AutoNumber".
Is possible to omit this message in Access 2K?

Instead of binding the TextBox directly to the Autonumber field, bind it to
an expression that will give the same result.
=[AutonumberField] + 0

The above will display the same as the autonumber field except on a new
record where it will be blank.


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top