Re: create access table with ado sql (cannot change table properties)

From: Brian Bushay TeamB (BBushay_at_Nmpls.com)
Date: 03/25/05


Date: Thu, 24 Mar 2005 20:23:10 -0600


>we have an access database and we want to modify the table field
>properties.like format of double field to Currency .
>is it possible to do it with sql ado.if yes how?

I think currency and Double are different field types in the Access table.

Try

Alter Table YourTable
  Alter Column yourField Currency

--
Brian Bushay (TeamB)
Bbushay@NMPLS.com


Relevant Pages

  • Re: Currency Format
    ... > the format statement and considers Currency to be a field... ... > here's the actual SQL statement...this is driving me crazy, please,> please, ... >>>I have a multi-column listbox on a form. ...
    (microsoft.public.access.forms)
  • Re: Currency Format
    ... Access prompts me for a field called Currency...it's not recognizing ... the format statement and considers Currency to be a field... ... here's the actual SQL statement...this is driving me crazy, please, please, ... The data entry field for this field has a format as Currency. ...
    (microsoft.public.access.forms)
  • Re: Linked table with percentages
    ... The fields in the SQL table are defined as Numeric 9 ... Those same fields are appearing as Currency in Access although the ... > posting in one of the Access newsgroups since it's really an Access ... What format do I need to ...
    (microsoft.public.sqlserver.odbc)
  • RE: Regional settings modification
    ... Country Text Indexed ... This application is intended for different countries and differend currency ... They are still derived from the regional settings. ... simply copied the pound symbol and used it in the format property for text ...
    (microsoft.public.access.modulesdaovba)
  • Re: Currency conversion
    ... I agree that the way Access works with regard to currency ... format at all with a currency field, ... again it displays per regional settings. ...
    (microsoft.public.access.modulesdaovba)