|
-
Apr 4th, 2005, 03:44 AM
#1
Thread Starter
New Member
How to execute Multiple Sql Statements?
Hello I am new to VB programming, Currently I am facing one Problem in executing multiple SQL Queries through Connection Object.
My situation is like this,
i want to transfer records from one Mdb file to another. for that i have created one transfer function that calls other functions. now while tranferring, if i debug the entire code, then it transfers records from one Mdb to another, but if i run code directly onPress of command button, records remains as it is in the same Mdb without transfer,
its really strange for me that code runs perfectly in debug mode but not while running program. i think there should be some buffer or other properties or attributes that i have to set for that, but i dont know how to solve this problem,
please anybody help in this problem.
-
Apr 4th, 2005, 06:08 AM
#2
Re: How to execute Multiple Sql Statements?
Welcome to the forums.
If you could please post the code you are using to do the record transfer, perhaps a solution will present itself. Without knowing how you are doing what you are doing, any comments would be pure speculation.
Last edited by Hack; Apr 4th, 2005 at 06:13 AM.
-
Apr 4th, 2005, 06:23 AM
#3
Re: How to execute Multiple Sql Statements?
From what I've seen of my own bugs, when something doesn't work in .EXE that works while stepping through code in IDE, then it's event related - some event is firing or not firing properly.
Does it always work in the IDE - even if RUN without stepping?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|