TADODataSet AddNew syntax
- From: "James D. Franchello" <james@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 18 Oct 2007 14:30:10 -0400
Hello,
Can anyone give me an example of the proper syntax for using TADODataSet
RecordSet.AddNew when attempting to insert a new record and specify more
than one field and value? I know that AddNew requires two parameters both of
which are OleVariants the first of which is a field list and the second is
the field values. Nothing I try seems to work as I always get an error
indicating the 'field is not found'. As long as I specify a single field and
value it works fine. I am working with Delphi 7 and and Access database.
TIA for any help!
James
.
- Follow-Ups:
- Re: TADODataSet AddNew syntax
- From: Dmitry Arefiev [da-soft.com]
- Re: TADODataSet AddNew syntax
- Prev by Date: Re: Copying from grid to Adotable
- Next by Date: ADOQuery and decimal fields in Delphi 5...
- Previous by thread: Copying from grid to Adotable
- Next by thread: Re: TADODataSet AddNew syntax
- Index(es):
Relevant Pages
|