Append an F to an field

G

Guest

I have a table that has a field called IdNumber and another field IdNumberF.
When a person enters the IdNumber on the form I need to transfer this number
into the IdNumberF field with an F appended to the end. How would I go about
doing this

IdNumber IdNumberF
123 123F
 
G

Guest

One way that you could do this is to add a textbox to your form for the
IDNumberF field (you can set the visibility to false if you do not want to
user to see the field). Then use a procedure like this in an appropriate
event (i.e. On_Exit, On_Update, etc)

IDNumberF=IDNumber & "F"

HTH
 
R

Rick B

Why?

Seems kind of redundant. If you want to display the ID number with an F,
just do so in an unbound text field with something like...


=[IdNumber] & "F"



Proper database design would indicate that you don't store redundant
information.
 
G

Guest

The stats person wanted a 2nd field with this appended to it.

Rick B said:
Why?

Seems kind of redundant. If you want to display the ID number with an F,
just do so in an unbound text field with something like...


=[IdNumber] & "F"



Proper database design would indicate that you don't store redundant
information.
--
Rick B



pokdbz said:
I have a table that has a field called IdNumber and another field IdNumberF.
When a person enters the IdNumber on the form I need to transfer this number
into the IdNumberF field with an F appended to the end. How would I go about
doing this

IdNumber IdNumberF
123 123F
 
R

Rick B

But again, that is not needed. They maight also want ten different fields
for the various formats of "name", but that is not needed. You build
variations of fields in the tables, queries, and reports, not in the table.
Your "stats person" should explain what end results they want, they should
not be telling you how to build the database.



--
Rick B



pokdbz said:
The stats person wanted a 2nd field with this appended to it.

Rick B said:
Why?

Seems kind of redundant. If you want to display the ID number with an F,
just do so in an unbound text field with something like...


=[IdNumber] & "F"



Proper database design would indicate that you don't store redundant
information.
--
Rick B



pokdbz said:
I have a table that has a field called IdNumber and another field IdNumberF.
When a person enters the IdNumber on the form I need to transfer this number
into the IdNumberF field with an F appended to the end. How would I
go
about
doing this

IdNumber IdNumberF
123 123F
 
G

Guest

Thanks for the help.


Rick B said:
But again, that is not needed. They maight also want ten different fields
for the various formats of "name", but that is not needed. You build
variations of fields in the tables, queries, and reports, not in the table.
Your "stats person" should explain what end results they want, they should
not be telling you how to build the database.



--
Rick B



pokdbz said:
The stats person wanted a 2nd field with this appended to it.

Rick B said:
Why?

Seems kind of redundant. If you want to display the ID number with an F,
just do so in an unbound text field with something like...


=[IdNumber] & "F"



Proper database design would indicate that you don't store redundant
information.
--
Rick B



I have a table that has a field called IdNumber and another field
IdNumberF.
When a person enters the IdNumber on the form I need to transfer this
number
into the IdNumberF field with an F appended to the end. How would I go
about
doing this

IdNumber IdNumberF
123 123F
 
J

Joseph Meehan

pokdbz said:
The stats person wanted a 2nd field with this appended to it.

That is what they said. 99.5% chance what they want is the results
displayed somewhere with the F. They just don't know it is better to do it
another way, in fact they likely don't know it can be done another way.
Rick B said:
Why?

Seems kind of redundant. If you want to display the ID number with
an F, just do so in an unbound text field with something like...


=[IdNumber] & "F"



Proper database design would indicate that you don't store redundant
information.
--
Rick B



pokdbz said:
I have a table that has a field called IdNumber and another field
IdNumberF. When a person enters the IdNumber on the form I need to
transfer this number into the IdNumberF field with an F appended to
the end. How would I go about doing this

IdNumber IdNumberF
123 123F
 

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