Adding Records

Questions, tips and tricks and techniques for scripting in Servoy

Adding Records

Postby newsman2010 » Thu Jan 06, 2011 1:31 am

I'm not exactly a programming guru but am trying to fiddle around with Servoy at my university. Currently I've been looking through the Servoy Developer User/Reference Guides for how to create new Records using functions. No luck thus far. I was wondering if somebody could help me write such a method. Let's say for example that:

I have a form called "testForm"
And a field called "testField"

Help is much appreciated.
newsman2010
 
Posts: 2
Joined: Mon Jan 03, 2011 11:29 pm

Re: Adding Records

Postby jcarlos » Thu Jan 06, 2011 3:29 am

I think that the function you are looking for is:

Code: Select all
controller.newRecord();


However, I think that you are better off if you view the free video tutorials at: http://www.servoyuniversity.com/.

The free tutorial are:

Getting to Know the IDE (Servoy Developer)
Working with Solutions
Working with Databases
Servoy Concepts
Downloading and Installing
Connect to Databases
Create your First Solution
Working with Forms
Launching the Debug Clients
Forms within Forms
Implementing Business Logic
Exporting a Solution
Starting the Application Server
Importing a Solution
jcarlos
 
Posts: 578
Joined: Thu May 04, 2006 8:55 pm
Location: Palo Alto, California USA

Re: Adding Records

Postby newsman2010 » Thu Jan 06, 2011 7:13 pm

Thank you. I really appreciate the help!
newsman2010
 
Posts: 2
Joined: Mon Jan 03, 2011 11:29 pm

Re: Adding Records

Postby Joas » Thu Jan 06, 2011 8:30 pm

You can also find tutorials here.
Joas de Haan
Yield Software Development
Need help on your project? yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 842
Joined: Mon Mar 20, 2006 4:07 pm
Location: Leusden, NL


Return to Methods

Who is online

Users browsing this forum: No registered users and 13 guests