![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a script that is opening a new window and creating only the first of 9 possible records based on a yes/no variable. What script should I add to repeat the script with changed parameters? This is what I have so far... (Explaination of tabes: Product Parts is a table of multiple parts each could require one or more of 9 different types of approvals. The nine types of approvals are indicated by yes/no selections in a portal with button on portal row that generates the $ppart variable) If [ Product Parts::LicensorAppReqD = "yes" ] Set Field [ ProductPartApprovalList::ProductPartforapprovalIDk ey; $ppart ] Set Field [ ProductPartApprovalList::Approval Level; "Final Design" ] Set Field [ ProductPartApprovalList::Approver; "Licensor" ] End If If [ Product Parts::ClientAppReqD = "yes" ] Set Field [ ProductPartApprovalList::ProductPartforapprovalIDk ey; $ppart ] Set Field [ ProductPartApprovalList::Approval Level; "Final Design" ] Set Field [ ProductPartApprovalList::Approver; "Customer" ] End If I haven't written the rest of the if/thens thinking I'd better test what I have a a couple first... ?? Carpeflora :-) |
![]() |
| Thread Tools | |
| Display Modes | |
| |