Re: double quotes inside VBA string ?

From: Pascual De Ruvo <deruvo(at)gmail(dot)com>
To: Zlatko Matić <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: double quotes inside VBA string ?
Date: 2005-05-18 13:34:09
Message-ID: fb73c1ee0505180634116027df@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

If you need to use a double quote inside a VB string, you have to write two
double quotes (double double quotes!),
so your command will be something like:

"select * from public.""Customers"""

On 5/18/05, Zlatko Matić <zlatko(dot)matic1(at)sb(dot)t-com(dot)hr> wrote:
>
> Hello.
> I have a problem when working with MS Access/PostgreSQL.
> Namely, as PostgreSQL syntax uses doble quotes for table names and field
> names, when I write it as a string of a pass-through query or Command text
> of ADO Command object it looks like:
> "select * from public."Customers""
> and VBA considers that the first quote after public. is the end of
> statement.
>
> How to solve it ?
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Parker 2005-05-18 14:03:05 ceci n'est pas un btree
Previous Message Michael Fuhr 2005-05-18 13:23:19 Re: Executing Dynamic DDL