customfamily Posted November 4, 2010 Posted November 4, 2010 Hey guys, I have a complicated script which has several steps. It involves importing data from an excel sheet to a table and then distributing that data into 2 other tables within the database. To achieve this I use global variables to carry over the data from script to script. It all works fine. Except for some reason, if I try and run the script twice in a row, the second time the script gets stuck half-way. However if I close the file, reopen and try then, it works fine. So i'm guessing there's a conflict of some kind with the global variables. Is there a way I can reset all variables once the script has run? As if I had closed the file and started from scratch? Any and all info would greatly appreciated. Thanks guys, Rob
Lee Smith Posted November 4, 2010 Posted November 4, 2010 Hi Rob, Except for some reason, if I try and run the script twice in a row, the second time the script gets stuck half-way. However if I close the file, reopen and try then, it works fine. So i'm guessing there's a conflict of some kind with the global variables. I think we need to see the actual script or file in order to see what the script is doing. Lee
Recommended Posts
This topic is 5133 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now