I have a Client Table and a Work Order Table. The Work Order table has a form where you select a client, which provides that client information such as name and address, and says what work needs to be done. I am working on a workflow where if you're filling out a Work Order Form for a client that is not in the Client Table, a trigger will create a new record for that client.
In the Client Table Form to manually add a new client, there are fields for First Name and Last Name and fields for Address, City, State, etc. There are also formula fields on the table level that concatenate these into one field - Full Name and Full Address. This is where my problem starts with this new workflow.
When entering in new customer info on the Work Order Form, they enter in a full name and a full address. I need to be able to split up these values into multiple fields. In example, the Work Order Form will record a Full Name value, and I need the trigger to split it into First Name and Last Name. I could do this on the table level and make First and Last Name fields a formula, but then they are non editable and totally cancels out the way my Client Table form and Client Update form works.
Tldr; I need to be able to create a formula in a trigger that will split a field into multiple fields, and I cannot do it on the table level because it makes those fields uneditable.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
kpcollier
I have a Client Table and a Work Order Table. The Work Order table has a form where you select a client, which provides that client information such as name and address, and says what work needs to be done. I am working on a workflow where if you're filling out a Work Order Form for a client that is not in the Client Table, a trigger will create a new record for that client.
In the Client Table Form to manually add a new client, there are fields for First Name and Last Name and fields for Address, City, State, etc. There are also formula fields on the table level that concatenate these into one field - Full Name and Full Address. This is where my problem starts with this new workflow.
When entering in new customer info on the Work Order Form, they enter in a full name and a full address. I need to be able to split up these values into multiple fields. In example, the Work Order Form will record a Full Name value, and I need the trigger to split it into First Name and Last Name. I could do this on the table level and make First and Last Name fields a formula, but then they are non editable and totally cancels out the way my Client Table form and Client Update form works.
Tldr; I need to be able to create a formula in a trigger that will split a field into multiple fields, and I cannot do it on the table level because it makes those fields uneditable.
If there is a better way, please let me know!
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.