Re: Problem accessing View in VB6 - Mailing list pgsql-students

From oca@mvc.edu.ph
Subject Re: Problem accessing View in VB6
Date
Msg-id 20080810002202.pj97hcciokowcw8o@mail.mvc.edu.ph
Whole thread Raw
In response to Re: Problem accessing View in VB6  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Problem accessing View in VB6
List pgsql-students
----- Message from andrew@dunslane.net ---------
     Date: Sat, 09 Aug 2008 11:46:18 -0400
     From: Andrew Dunstan <andrew@dunslane.net>
Reply-To: Andrew Dunstan <andrew@dunslane.net>
  Subject: Re: [pgsql-students] Problem accessing View in VB6
       To: oca@mvc.edu.ph
       Cc: pgsql-students@postgresql.org


>
>
> 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
>
> --
> Sent via pgsql-students mailing list (pgsql-students@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-students


----- End message from andrew@dunslane.net -----

Thank you, that does the job, but i guess i have to use lowercases for
my views names.

oscar



pgsql-students by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Problem accessing View in VB6
Next
From: Andrew Dunstan
Date:
Subject: Re: Problem accessing View in VB6