Re: Problem accessing View in VB6

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Problem accessing View in VB6
Дата
Msg-id 489DBBCA.3040303@dunslane.net
обсуждение исходный текст
Ответ на Problem accessing View in VB6  (oca@mvc.edu.ph)
Ответы Re: Problem accessing View in VB6
Список pgsql-students

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

В списке pgsql-students по дате отправления:

Предыдущее
От: oca@mvc.edu.ph
Дата:
Сообщение: Problem accessing View in VB6
Следующее
От: oca@mvc.edu.ph
Дата:
Сообщение: Re: Problem accessing View in VB6