From: Andrew Dunstan <andrew@dunslane.net>
To: oca@mvc.edu.ph
Cc: pgsql-students@postgresql.org
Subject: Re: Problem accessing View in VB6
Date: Sat, 09 Aug 2008 11:46:18 -0400
Message-ID: <489DBBCA.3040303@dunslane.net> (raw)
In-Reply-To: <20080809221516.80lhop5lw04g4oc8@mail.mvc.edu.ph>
References: <20080809221516.80lhop5lw04g4oc8@mail.mvc.edu.ph>
oca@mvc.edu.ph wrote:
>
> hi,
>
> I got problem accessing views in Visual Basic 6.
>
> Dim rsSchedule As New Recordset
> With rsSchedule
> .Open "SELECT * FROM tvwClassSchedules", dbConn, adOpenDynamic,
> adLockReadOnly
> .Close
> End With
>
> I got this error:
>
> ERROR: relation "tvwClassSchedules" does not exist;
> Error while executing the query
>
> this view exist because i can use the view in pgAdmin to display the
> records.
>
>
If that is really the name of the view then the name needs to be quoted
in double quotes. Postgres folds unquoted names to lower case.
cheers
andrew
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-students@postgresql.org
Cc: andrew@dunslane.net, oca@mvc.edu.ph
Subject: Re: Problem accessing View in VB6
In-Reply-To: <489DBBCA.3040303@dunslane.net>
References: <20080809221516.80lhop5lw04g4oc8@mail.mvc.edu.ph> <489DBBCA.3040303@dunslane.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox