Re: database.e request
- Posted by Robert Craig <rds at RapidEuphoria.com> Jun 28, 2007
- 582 views
Hayden McKay wrote: > it would be nice if database.e had two extra functions to assist with database > multitasking; db_save_state() and db_load_state(hnd). ie; to save or load the > current database and table. Yes, this is an issue to consider. Other libraries with global variables would also have similar issues when multitasking is used. I don't know the best approach, and right now I don't think many people have run into this. It may be a bit premature to try to define a solution. Obviously, each task could re-assert the current database and current table when it needs to, or you could design your program so all database requests go through one task. > there are currently no functions to query the current database or table ? No there aren't. Your code just has to remember. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com