|
thartos Newbie
Joined: 30 Mar 2003 Posts: 2
|
Posted: Wed Apr 09, 2003 12:04 am
The database window |
I am using a zMUD database to track the exchange of equipment between containers in a room and characters, so the characters can request a 'balance' of how much they have taken.
I wrote the triggers and such and it all works just fine. Datase records get updated many times a second when things are busy. That's the problem.
I also want to be able to PLAY on the character doing this database work, and if I'm typing text to go to the MUD and someone activates one of the triggers that involves the database, up pops the DB window and makes itself focused, so that if I'm typing I **OVERWRITE** an entire record's data with a couple random letters I've typed.
I know I need to have the window OPEN, but must it bring itself to the foreground and in focus every time a #DBPUT happens to update the info?
Any help or suggestions would be much appreciated.
- Dan Grossman (Thartos: Hi Darker!) |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Apr 09, 2003 2:05 am |
I'm not sure about this one, but try docking it to the main window. It should appear as a tab right beside the tab for your MUD output window.
Another solution would be to use #DBOFFLINE to prevent the database window from updating itself everytime it changes (the underlying data is modified, but the change is not shown to you). You may later use #DBONLINE when you want to resume updates.
Kjata |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|