Calantha Posted October 14, 2005 Posted October 14, 2005 (edited) Hi there, Quick background: I've created a form, the user entires info, hits submit, the info is copied to another layout and the form is then cleared. I have been setting each individual field (because I don't know of an easier way) and then clearing each individual field. I have done this and it has worked until now. The only difference I can see is that I have to go to multiple layouts for this script... Can someone tell me what is wrong here? It works for the first layout but not the others. For example: Go to Layout ["ACOU" (Student Eval)] Set Field [student Eval::ACOU_Material, Form::ACOU_Material] Set Field [student Eval::ACOU_Knowledge, Form::ACOU_Knowledge] Commit Records Go to Layout ["APIX" (Student Eval)] Set Field [student Eval::APIX_Material, Form::APIX_Material] Set Field [student Eval::APIX_Knowledge, Form::APIX_Knowledge] Edited October 14, 2005 by Guest
Zero Tolerence Posted October 14, 2005 Posted October 14, 2005 Can you tell us what exactly is going wrong?
Calantha Posted October 14, 2005 Author Posted October 14, 2005 Sorry, I guess that would help. The fields outside of ACOU are not setting... they are remaining blank.
Calantha Posted October 14, 2005 Author Posted October 14, 2005 Well I found out the main problem, my form fields weren't global fields, however, my comment fields (which are text fields) do not work even when they are set to global fields...
-Queue- Posted October 14, 2005 Posted October 14, 2005 If both layouts are based on the same TO (Student Eval), then you should not even need to go to the second layout. Go to Layout ["ACOU" (Student Eval)] Set Field [student Eval::ACOU_Material, Form::ACOU_Material] Set Field [student Eval::ACOU_Knowledge, Form::ACOU_Knowledge] Set Field [student Eval::APIX_Material, Form::APIX_Material] Set Field [student Eval::APIX_Knowledge, Form::APIX_Knowledge] Commit Records/Requests should work fine. If there are quite a few fields, I would probably link the tables via a temporary ID and use Lookups or auto-enter calculations to pull the data into the second table.
Recommended Posts
This topic is 6982 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 accountSign in
Already have an account? Sign in here.
Sign In Now