Real Software Forums
http://forums.realsoftware.com/

In Memory REALSQLDatabase Table
http://forums.realsoftware.com/viewtopic.php?f=10&t=47877
Page 1 of 1

Author:  plunkettphoto [ Tue May 14, 2013 10:20 am ]
Post subject:  In Memory REALSQLDatabase Table

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

Author:  npalardy [ Tue May 14, 2013 10:59 am ]
Post subject:  Re: In Memory REALSQLDatabase Table

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

Author:  jjfcpa [ Tue May 14, 2013 11:14 am ]
Post subject:  Re: In Memory REALSQLDatabase Table

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.

Author:  plunkettphoto [ Tue May 14, 2013 12:09 pm ]
Post subject:  Re: In Memory REALSQLDatabase Table

Ok thanks, that's simpler than I thought...

b

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/