|
Stephenos Beginner
Joined: 06 Jul 2007 Posts: 27
|
Posted: Wed Sep 19, 2007 9:08 pm
Database not in memory after #DBLOAD |
I have a Cures database that fails on lookups unless I manually open it using the Database dialog. I've tried using #dbclose cu;#dbload cu to see if that would reset it automatically - it apparently does not.
There is a Cures_bak database in the same directory. I don't know if that causes a problem for #DBLOAD cu
Thanks |
|
|
|
Progonoi Magician
Joined: 28 Jan 2007 Posts: 430
|
Posted: Wed Sep 19, 2007 10:33 pm |
As far as I know you can't do DB lookups *unless* you have database dialog window opened.
I may be wrong, though.
Prog |
|
_________________ The Proud new owner of CMud.
--------------------------------
Intel Core i5-650 3,2GHz
4 DD3 RAM
GTX 460 768MB
Win 7 Home Premium 64x
-------------------------------- |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Sep 20, 2007 12:48 am |
Nope, not wrong. None of the DB commands or functions do anything if the DB window is not open and the target is a database record (if it's a datarecord variable, as in the case of #DBLOOP or %db(), it still operates correctly).
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
|
|