March 1, 200718 yr Newbies Hi all. I'm new in here. I'm running FM Pro 8.5. I was hoping if you guys could assist me. How do I insert a text link (the full location of the file) rather than have it displayed just as a filename in the container? Can it be done in a Text Field? The 'Insert File' script does not do the job. Another question, when you have Inserted a File, How do I remove the inserted file only without having to delete the entire record?
March 1, 200718 yr You can get the full path of a file that is stored as a reference in the container field. Those that has been actually stored in the field do not have a path because it is embedded. Use a GetAsText(YourContainer) to get the filename if stored, or return both filename and full path if referenced only. To delete the file, just go to the container field and then press delete or use a "clear" step.
March 2, 200718 yr Author Newbies Thanks mr_vodka. It's a bit unclear. Where do I use the GetAsText command. Do I run the script in the Container Field or in the Insert File Field. I created an Insert File command which when I click, will place the file (whether its embedded or referenced) into a Container field. Instead of just the filename, I'm hoping to get the full path displayed. But I'm not sure where to place the GetAsText command to display the full path. Hope you can help. Thanks
March 2, 200718 yr Author Newbies Fantastic. It did the job! The file name gets displayed as file:XX filewin:XX Is there a way that I can make it to display just the filewin:XX as I've got a separate field that gives the name of the file. Thanks.
March 2, 200718 yr Author Newbies Thanks Mr_Vodka. You've been a big help. If I have any other problems, would it be ok if I was to just send a private message. At least it won't clog up the forum with newbie questions. Thank you once again. Faz
Create an account or sign in to comment