Thanks for the reply. Yes, I'm using the OLEDB Adapter Wizard to create
these things. You will be aware that at one point in the process it tells
you that it has generated the SQL statements for SELECT, INSERT, DELETE etc.
For this one table it says it is unable to do that - some of them cannot be
generated. It can usually generate the SELECT statement, but some of the
others seem to cause a problem. It does carry on and create the adapter,
but some of the SQL statements are missing.
My first thought was that it did not like some of the field names in the
table, i.e. that they might have been reserved words in SQL. I have tried
changing some of them, but it did not get past the problem. The field names
in the table are:
ID an Access Autonumber field, and the primary index for
the table
Description text
Log boolean
LogAmp boolean
MarginState boolean
Margin number (single)
Mode text
Relative boolean
Display boolean
There is a one-to-many relationship based on the ID field to a child table.
This is the same arrangement as several other pairs of tables I am working
with.
I tried changing the names "Relative", "Display" and "Mode" thinking they
were the most likely to clash with something in SQL, but no dice. I have
other tables with the names ID, Description and Log, and have created data
adapters for them without problem. So it has me rather bemused at the
moment!
--
Remove numeral in e-mail address to send e-mails.
www.marshallarts.com.au
"Cor Ligthert [MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Steve,
>
> Can you tell a little bit more, probably are you using an OleDb
> adapterwizard however maybe is it totally something different. And if it
> is an OleDB adapterwizard at what place does it stop.
>
> ADODB is another name for the classic ADO way, which has no wizards in
> VS2003
>
> Cor
>