March 30, 200718 yr Hi Folks, I have a contacts/events managment database. I have a layout for event information on which I have a portal that displays event materials - in this case files. I created a script to add files to this portal but all of a sudden it's not working. What happens is: 1) The script doesn't work if the portal is empty (i.e. a new event record) 2) It overwrites the last file added Here's the script: Set Variable [$eventid; Value: Events: Event_ID] Go to Field [Event_Materials::Title] Go to PortalRow [select;Last] SetField [Event_Materials::Title;1] SetField [Event_Materials::Title;""] SetField [Event_Materials::For_ID;$eventid] Instert File [Event_Materials::File] SetField [Event_Materials::Title;Event_Materials::File] Go to Field[] Please help!
Create an account or sign in to comment