Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
Maeda @ Media
USBXtra
Tool Tips/Help popUp box ver 2.1
Which Keys
Send E-mail using Buddy API
ModMania
Billenium Transitions Xtra v2
Scroll Thumb
sound volum
Change Cursor
MediaMacros Xtras Mall
 

 

 

FAQ Creating Records - Valentina

Added on 4/3/2001

 

Compatibilities:

Required Xtras:
Valentina

This item has not yet been rated

Author: Thomas (website)

How do I create new records in a table in Valentina?

This is a way of adding new records to a table in Valentina:

-- Open the database if not already open
vDB = new(Xtra "VDatabase")
vDB.OpenDatabase("databasename.vdb")
-- vTable is the table to add a record to
vTable = "tablename"
-- Open the recordset for that table
vRS = new(Xtra "VCursor", vDB.getRef(), "SELECT * FROM " & vTable)
-- Create a new record
vRS.SetBlank()
-- Add data
vRS.SetField("fieldname1", "value")
vRS.SetField("fieldname2", "value")
....
-- Save the record
vRS.AddRecord()
-- Close the recordset
vRS = 0

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail