Ask Your Question

The window cannot be closed while BASIC is running. [closed]

asked 2014-05-17 10:17:00 +0200

mihikatha gravatar image

updated 2015-09-06 11:29:02 +0200

Alex Kemp gravatar image

I wrote a macro (while RowSet.Next().....wend) to run a select query, assigned it to a textbox control event (keypress) now the macro doesn't end, above eror message appears while trying to close. I am in transition period to libreoffice from MSOffice. Using Libre OS Ubuntu 12.04

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-23 02:09:43.515755


So, why does RowSet.Next() never return false? Is the rest of your code top secret?

mahfiaz gravatar imagemahfiaz ( 2014-05-17 12:29:40 +0200 )edit

Rest of the code is "MsgBox "Item: " + RowSet.getstring(1) + " " +Rowset.getstring(2)" Point is I can't close, exit libre office or delete the macro completely. It's stuck.

mihikatha gravatar imagemihikatha ( 2014-05-18 12:20:53 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2014-05-18 14:10:02 +0200

ROSt52 gravatar image

If you can, print out or write down by hand your macro and then pull the plug. Simply switch off the power.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-05-17 10:17:00 +0200

Seen: 786 times

Last updated: May 18 '14