powered by simpleCommunicator - 2.0.60     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / FoxPro, Visual FoxPro [игнор отключен] [закрыт для гостей] / Use the keyFieldsList property of the cursor
4 сообщений из 4, страница 1 из 1
Use the keyFieldsList property of the cursor
    #32315130
Stiva
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
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
Use the keyFieldsList property of the cursor
    #32315241
sandy2
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
/topic/17953&hl=UpdateNameList
...
Рейтинг: 0 / 0
Use the keyFieldsList property of the cursor
    #32315262
Crip
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Попробуй вот так
lSuccess=CURSORSETPROP("Tables", "dbo.plat")
lSuccess=CURSORSETPROP("UpdateNameList","fiomen dbo.plat.fiomen")
...
Рейтинг: 0 / 0
Use the keyFieldsList property of the cursor
    #32315266
Crip
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
Верно wheretype 1 должен быть...
...
Рейтинг: 0 / 0
4 сообщений из 4, страница 1 из 1
Форумы / FoxPro, Visual FoxPro [игнор отключен] [закрыт для гостей] / Use the keyFieldsList property of the cursor
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


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