Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / FoxPro, Visual FoxPro [игнор отключен] [закрыт для гостей] / Use the keyFieldsList property of the cursor / 4 сообщений из 4, страница 1 из 1
04.11.2003, 17:07
    #32315130
Stiva
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Use the keyFieldsList property of the cursor
hConn=SQLCONNECT('serv')

nSet=SQLSETPROP(hConn, "Asynchronous", .F. )
nSet=SQLSETPROP(hConn, "Transactions", 1 )

=SQLEXEC(hConn,"SELECT *FROM plat WHERE plat.reg=9","plat")

lSuccess=CURSORSETPROP("SendUpdates", .T.)
lSuccess=CURSORSETPROP("Tables", "plat")
lSuccess=CURSORSETPROP("UpdateNameList","fiomen plat.fiomen")
lSuccess=CURSORSETPROP("WhereType",4)
lSuccess=CURSORSETPROP("KeyFieldList","user_s")
lSuccess=CURSORSETPROP("UpdatableFieldList","fiomen")
BROWSE
USE

=SQLDISCONN (hConn)
Выдает сообщение "No key columns are spec.. for the update table "plat". Use the keyFieldsList property of the cursor"
В чем причина, ребята ???
...
Рейтинг: 0 / 0
04.11.2003, 18:05
    #32315241
sandy2
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Use the keyFieldsList property of the cursor
/topic/17953&hl=UpdateNameList
...
Рейтинг: 0 / 0
04.11.2003, 18:15
    #32315262
Crip
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Use the keyFieldsList property of the cursor
Попробуй вот так
lSuccess=CURSORSETPROP("Tables", "dbo.plat")
lSuccess=CURSORSETPROP("UpdateNameList","fiomen dbo.plat.fiomen")
...
Рейтинг: 0 / 0
04.11.2003, 18:17
    #32315266
Crip
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Use the keyFieldsList property of the cursor
Верно wheretype 1 должен быть...
...
Рейтинг: 0 / 0
Форумы / FoxPro, Visual FoxPro [игнор отключен] [закрыт для гостей] / Use the keyFieldsList property of the cursor / 4 сообщений из 4, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]