New topic: In Memory REALSQLDatabase Table
<http://forums.realsoftware.com/viewtopic.php?t=47877> Page 1 of 1 [ 4 posts ] Previous topic | Next topic Author Message plunkettphoto Post subject: In Memory REALSQLDatabase TablePosted: Tue May 14, 2013 10:20 am Joined: Fri Oct 10, 2008 7:14 pm Posts: 91 I need to use a fairly small table to copy records to and then recreate the original table. How do I specify that the table is to be in memory only and not actually written to disc. thanks b Top npalardy Post subject: Re: In Memory REALSQLDatabase TablePosted: Tue May 14, 2013 10:59 am Real Software Engineer Joined: Sat Dec 24, 2005 8:18 pm Posts: 7834 Location: Canada, Alberta, Near Red Deer you do do it on a table by table basis. it's easy to create an in memory real sql database - just dont assign a folder item to it or try & create a folder item for it. This will create a db (named db) as an in memory database to which you can add tables etc. Quote:dim db as new realsqldatabase if db.connect() end if _________________ Norman Palardy (Real Software) Top jjfcpa Post subject: Re: In Memory REALSQLDatabase TablePosted: Tue May 14, 2013 11:14 am Joined: Tue Apr 17, 2007 9:19 pm Posts: 435 You might want to make the db object a property of the form so that you can use it in multiple methods. That's what I've done without passing parameters around. Top plunkettphoto Post subject: Re: In Memory REALSQLDatabase TablePosted: Tue May 14, 2013 12:09 pm Joined: Fri Oct 10, 2008 7:14 pm Posts: 91 Ok thanks, that's simpler than I thought... b Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 4 posts ] -- 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]
