Re: Error -2147217833
- From: "Stephen Howe" <stephenPOINThoweATtns-globalPOINTcom>
- Date: Mon, 11 Jun 2007 18:39:35 +0100
"dguilbault" <dguilbault@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9859E7F4-6B1C-4770-B565-B7F75E72B11E@xxxxxxxxxxxxxxxx
Bob,
Ok here is the code
sqlstr = "INSERT INTO tblBonusType35Temp9 "
sqlstr = sqlstr & "SELECT tblContractsTemp.* "
sqlstr = sqlstr & "From tblContractsTemp "
sqlstr = sqlstr & "WHERE (((tblContractsTemp.autKey) Is Not Null)) "
sqlstr = sqlstr & "ORDER BY tblContractsTemp.lngVersionNumber"
Why do you have an ORDER BY clause when you are INSERTing?
Not required.
Are you sure the table structures for tblContractsTemp and
tblBonusType35Temp9 are identical?
Stephen Howe
.
- Prev by Date: Re: Trouble using ADOX to create linked tables in jet database fro
- Next by Date: Re: Trouble using ADOX to create linked tables in jet database fro
- Previous by thread: Trouble with ADO
- Next by thread: Re: Retrieve one row of data
- Index(es):
Relevant Pages
|
|