Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

code:


New Record Request

Set Field ["Begin Week", "Week Start Day"]

Set Field ["First Name",""John""]

Set Field ["Last Name",""Doe""]

New Record Request

Set Field ["Begin Week", "Week Start Day"]

Set Field ["First Name",""Jane""]

Set Field ["Last Name",""Doe""]

New Record Request

Set Field ["Begin Week", "Week Start Day"]

Set Field ["First Name",""George""]

Set Field ["Last Name",""Smith""]

is there anyway to do this in a loop instead of the way i have it and then connect it somehow to my employee database that has a record for each employee.. and create a new record for each employee so i don't have to write those four lines of code for each of the employees... that could get really tedious.

-------

worked on it a little.. this is what i have so far, but i'm not sure how to stop the loop, and i'm also not sure how to make it go to the next record in the relationship.. so right now it just continually creates a record that has the name of the first record in the userlogin database.. but it is pulling the name from the userlogin database so atleast my relationship is set up right.

code:


Loop

New Record/Request

Set Field ["Begin Week", "Week Start Day"]

Set Field ["First Name", "userlogin::FirstName"]

Set Field ["Last Name", "userlogin::LastName"]

End Loop


[This message has been edited by bman (edited February 01, 2001).]

Posted

you seem to talk to yourself alot. I've always heard its okay to talk to yourself as long as you don't answer back. OH BOY, your in trouble. wink.gif

jeremy

This topic is 8700 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
×
×
  • Create New...

Important Information

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