New topic: Adding data (records) to a database
<http://forums.realsoftware.com/viewtopic.php?t=45738> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message Stuart J Sykes Post subject: Adding data (records) to a databasePosted: Sat Oct 27, 2012 12:26 pm Joined: Fri Oct 26, 2012 6:24 am Posts: 4 OK, Iv'e created a database in Real Studio Add To Project>Database>New Real SQL Database I called it Database (funnily enough) I added a table (called Table1) I added 3 fields:- Membership, FullName, PCode (Membership being a primary key (INTEGER) - the other 2 being text fields) After I have saved this - then open the databse up again, it says that the INTEGER field is now a TEXT field?..........anyway...! How do I get some data (records) in there? Top Bob Keeney Post subject: Re: Adding data (records) to a databasePosted: Sat Oct 27, 2012 1:04 pm Joined: Fri Sep 30, 2005 11:48 am Posts: 3257 Location: Lenexa, KS Use the Language Reference to look up DatabaseRecord. That is one way to add fields to the database. _________________ Bob K. Get true Word Processing in your Real Studio applications with Formatted Text Control at http://www.bkeeney.com/products/formatted-text-control 36+ hours of Real Studio Video Training at http://www.bkeeney.com/ Real Studio Consulting http://www.bkeeney.com/consulting/real-studio-consulting Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 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]
