New topic: RB2009r5.1: Calling db.close and creating tables error
<http://forums.realsoftware.com/viewtopic.php?t=32196> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message george Post subject: RB2009r5.1: Calling db.close and creating tables errorPosted: Tue Jan 26, 2010 3:04 pm Joined: Mon Oct 09, 2006 3:20 pm Posts: 278 As discussed in my posts here: viewtopic.php?f=3&t=31452&start=15 You will see I have been having trouble creating a new db and tables... I figured out that calling database.close and then trying to create a new db with tables results in a blank database file with no tables... If I remove any calls to db.close, creating a new database with tables works.... The problem is I need to call database.close to close any existing open database, before creating a new one... Any ideas? Is database.close required anymore, or is simply setting the databasefile property to nil good enough? I am confused. I need to figure this out ASAP, or any workarounds. Thank you. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
