Quantcast
Channel: VBForums - Database Development
Viewing all articles
Browse latest Browse all 2918

VBA 'only one SQL statement allowed' error, when writing from one database to another

$
0
0
Hi! I'm using VBA 7 with MS Word to change field values in a SQLite database. I need to read every record in a table in one database and write it to another table in another database. When I'm trying to get the second record set I get the error: 'only one SQL statement allowed'. I attached the code.
I'd appreciate any help.
Attached Files

Viewing all articles
Browse latest Browse all 2918

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>