Re: Problem with field name that uses #



...

or [mt].[SS#]

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Striper" <jkaufmann@xxxxxxxxxxxxx> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:430b6fec$1@xxxxxxxxxxxxxxxxxxxxxxxxx
>I have the solution for this when using one table:
>
> Select [SS#] from MyTable
>
> The problem is that I need to use aliases because I am using multiple
> tables
> so:
>
> Select [mt.SS#], ct.Lname
> from MyTable mt, ChildTable ct
>
> Does not work
>
>
> "Striper" <jkaufmann@xxxxxxxxxxxxx> wrote in message
> news:430b4170$1@xxxxxxxxxxxxxxxxxxxxxxxxx
>> I am trying to read from an access file that has a field named SS#.
>>
>> In my SQL select clause if I do not put double quotes around it, it will
> not
>> open. If I do the query opens but trying to access the field generates an
>> error. Any suggestions for addressing this?
>>
>>
>
>


.



Relevant Pages

  • Re: MS Access table and field properties
    ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... MS Jet and Interbase (through OLEDB) ...
    (borland.public.delphi.database.ado)
  • Re: index list with ado?
    ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... MS Jet and Interbase (through OLEDB) ...
    (borland.public.delphi.database.ado)
  • Re: Looking for free installer program
    ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... MS Jet and Interbase (through OLEDB) ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Bitmaps in SynEdit
    ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... MS Jet and Interbase (through OLEDB) ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: a connection problem
    ... http://www.oledbdirect.com - The fastest way to access MS SQL Server, ... MS Jet and Interbase (through OLEDB) ...
    (borland.public.delphi.database.ado)