Design view

  • Thread starter Thread starter Rich
  • Start date Start date
R

Rich

I have a field which is in Data Type Text:
Which has the below values inserted.

$2,000,000.

Anyway under format to remove the $, . from the value.

I cannot use Data Type Number because the field contains
text and will not import.

Thanks,

Rich
 
I have a field which is in Data Type Text:
Which has the below values inserted.

$2,000,000.

Anyway under format to remove the $, . from the value.

I cannot use Data Type Number because the field contains
text and will not import.

Thanks,

Rich

You can't do so using the Format property (which in any case has no
effect on what's stored in the table).

An Update query will work though; if you have AccessXP or later,
update the field to

Replace(Replace([fieldname], "$", ""), ",", "")
 
Thanks
-----Original Message-----
I have a field which is in Data Type Text:
Which has the below values inserted.

$2,000,000.

Anyway under format to remove the $, . from the value.

I cannot use Data Type Number because the field contains
text and will not import.

Thanks,

Rich

You can't do so using the Format property (which in any case has no
effect on what's stored in the table).

An Update query will work though; if you have AccessXP or later,
update the field to

Replace(Replace([fieldname], "$", ""), ",", "")



.
 

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

Back
Top