Normal Topic [Solved] Sesame2 Freezes when macro opens database (Read 416 times)
dhopkins
Member
*
Offline



Posts: 47
Joined: Aug 20th, 2007
[Solved] Sesame2 Freezes when macro opens database
Sep 14th, 2007 at 5:24pm
Print Post Print Post  
Solution: Use DeferredOpenApplication()

Hi, I moved to Sesame 2.0 from 1.x and am also trying out its client/server capabilities.

The form I'm using has a button that opens a second database by running a macro. This worked in 1.x but on 2.0 the application brings up a window that says "opening another database will close the current database without saving a form. Continue?". The problem is that it wont let you click the Yes/No buttons on the dialog. Clicking on them does nothing. The program just freezes up. The only way to close it is to open up Task Manager and kill the process.

I'm opening  the db with the code: @deferredMacro("Macro_OpenClientDB.mac");
and the Macro opens the db.

I'm hoping there's another way to open the new db because the Macro seems like a kludge way of doing it, even when it worked.

Thanks,
Derrick
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Sesame 2 Freezes when macro opens a database
Reply #1 - Sep 14th, 2007 at 5:29pm
Print Post Print Post  
dhopkins wrote on Sep 14th, 2007 at 5:24pm:
I'm hoping there's another way to open the new db because the Macro seems like a kludge way of doing it, even when it worked.

Try the new DeferredOpenApplication() command.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
dhopkins
Member
*
Offline



Posts: 47
Joined: Aug 20th, 2007
Re: Sesame 2 Freezes when macro opens a database
Reply #2 - Sep 14th, 2007 at 5:52pm
Print Post Print Post  
That worked like a charm, thanks.

Derrick
  
Back to top
 
IP Logged