Page 1 of 1

Create Record Without Form

PostPosted: Sun Jun 20, 2010 2:27 pm
by 4xjbh
What is the best way to create a record in a table without specifying a form....Something that will be friendly with different databases...

Thanks

Re: Create Record Without Form

PostPosted: Sun Jun 20, 2010 2:31 pm
by ROCLASI
Hi James,

You can simply create a foundset from a connection/table and start working with that like you would with a foundset of a form.
Code: Select all
var _fs = databaseManager.getFoundSet("myConnectionName","myTableName");
_fs.newRecord();
_fs.myColumn = "myValue";


Hope this helps.