Function to create record
is a function such as the following possible? I can not seem to get it to work. I am trying to create records in ANOTHER form based on every record in for 1. IE for each record in form1 report, place a record in form2.
- void scripts.customFunction(fun)
- {
- for each <myvariable> in <form>
- {
- insert into <form>
- [
- <field> = <expression>
- ]
- }
- }