I want to add an alphabet to ...

raghuprabhu

Registered User.
Local time
Today, 14:49
Joined
Mar 24, 2008
Messages
154
I have a number field ServiceNo. It has 7 digits maximum. First I want to change it to a text field then I want to add an alphabet to this field on the left hand side.

For example if the number is 8014342 I want to add A to the right and make it A8014342.

I want to change the field to a text field and store the new value.

What function or query do I use?

Cheers
Raghu Prabhu
 
would simply be:
PHP:
SELECT "a" & cstr([fieldname]) as NewFieldName
 
If you want to change the data in the table then this query would do the trick:

UPDATE YourTableName SET YourTableName.ServiceNo = "A" & [YourTableName]![ServiceNo]
 

Users who are viewing this thread

Back
Top Bottom