Jump to content

script that add new record


This topic is 7788 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

How can I create a script that add new record in my database for each single field (in a form) after posting a form?

For example, I have field 1, field 2, filed 3, in my form. I want the script to take the value of the field1 and create a new record and so on for each field in the form.

help will be much appreciated.

Cheers.

fred.

Link to comment
Share on other sites

quote:

Originally posted by fredlafitte:

How can I create a script that add new record in my database for each single field (in a form) after posting a form?

For example, I have field 1, field 2, filed 3, in my form. I want the script to take the value of the field1 and create a new record and so on for each field in the form.

Set the values into globals, then:

New Record

Set Field [Field1, gField1]

New Record

Set Field [Field1, gField2]

New Record

Set Field [Field1, gField3]

Link to comment
Share on other sites

This topic is 7788 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.