VB Resync

Поиск
Список
Период
Сортировка
От MRGonzalez
Тема VB Resync
Дата
Msg-id 3EE8A211.000003.01780@GUAJ215DESA
обсуждение исходный текст
Ответы Re: VB Resync  (Chris Gamache <cgg007@yahoo.com>)
Список pgsql-odbc
I have an application where I save the information of a bill and its detail. The PK of the header its a serial.
 
I need to save the header and get the number of the serial to save it as a FK in the detail.
 
This is the way I wrote but it raise an error:
 
header.recordset.update
header.recordset.resync adAffectCurrent, adResyncAllValues
 
dataenvironment.connection.execute "Insert Into Detail (FK, Field1, Field2, FieldN) Values (" & header.recordset!PK & "," & intData1 & "," & intData2 & "," & intDataN & ")"
 
Any suggestions?
 
Thank you in advanced,
 
 
MAGO
_________________________________________________________________
  IncrediMail - El E-mail ha evolucionado finalmente - Haga clic aquí
Вложения

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

Предыдущее
От: Avi Schwartz
Дата:
Сообщение: OS X driver
Следующее
От: Chris Gamache
Дата:
Сообщение: Re: VB Resync