PC Review


Reply
Thread Tools Rate Thread

ADO Mass Insert Problem with Access

 
 
=?Utf-8?B?R0NhbGxlbmQ0MQ==?=
Guest
Posts: n/a
 
      12th Feb 2006
Question

I am currently developing a report application at work. I am using ADO to
perform mass deletes and mass inserts to clear and repopulate my tables.
Sometimes, during execution, the receiving table is populated with zero
records. Yet however, if I execute the same function in step-through mode (F8
Button to trace through VBA logic), the table gets correctly populated. I am
buffled by this. Is it during execution mode, the catalog or table is not
updated fully, before the logic moves on to the other statements? There
seems to be no SQL commit statement using ADO.
I would appreciate any sugegstion to rectify this issue.

Example of the SQL Statement:

createConn -- Function that create Connection

strsql = "Insert into AuditCommGrp Select Code, Finding, priority from
tst_issues "
strsql = strsql + "where Left(code,2) = '05' Group by Code"

conn.execute(strsql)
--
GCallende41


--
GCallende41
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mass File Column Insert and Name =?Utf-8?B?S2lyayBQLg==?= Microsoft Excel Programming 1 31st Aug 2007 09:00 PM
how to insert spouse name into mass mailing label set up =?Utf-8?B?RGFuYSBIdXRjaGVyc29uLCBSRUFMVE9S?= Microsoft Outlook Contacts 1 29th Jan 2007 08:51 PM
[DB - BULK INSERT for mass insertion ] authorization needed teo Microsoft ASP .NET 1 17th Nov 2006 07:27 PM
ASP.Net [2.0] Parameters with mass insert Rob Meade Microsoft ASP .NET 1 29th May 2006 06:38 PM
Mass Insert problem Using VBA with Access =?Utf-8?B?R0NhbGxlbmQ0MQ==?= Microsoft Access 0 12th Feb 2006 05:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:29 AM.