tomlepk Posted October 18, 2001 Posted October 18, 2001 I am trying to get data out of a portal. I have 5 fields in a portal I want to copy to the clipboard from a script the information lets say from field1 in portal row 1 but I can't seem to see how to do that. Am I just missing it or are portals just for viewing the data? Thanx, Thomas Lepkowski
LiveOak Posted October 18, 2001 Posted October 18, 2001 You can do what you wish. I would not copy to the clipboard unless you are using the data outside of FM. Within FM always use the Set Field script step and global fields to move data around. To capture data from a portal row. Go to Field (rel::fieldname) <-- this selects the correct portal if you have more than one on a layout Go to Portal Row(by number or contents of a field) Set Field (destination, Rel::fieldname) -bd
tomlepk Posted October 19, 2001 Author Posted October 19, 2001 I use copy usually to paste when I am in Find Mode. Is that ok? BTW: Thanx it makes sense now.
FUBAR Posted October 19, 2001 Posted October 19, 2001 Newbie question. How are you copying to the clipboard? I'm trying to find a way to do it also in find mode (since I know how to work around copying using global fields in browse mode.) I've found plug-ins that say that they allow to copy to the clipboard but I'd rather not pay for it if FM can do this by itself. Any info would be appreciated
LiveOak Posted October 19, 2001 Posted October 19, 2001 Aha! Now I understand the motivation for "how to create a plug-in". You don't need a plug-in to copy to the clipboard. The script statement "Copy" will do this. Best to spend a little more time with the FM manual before undertaking the design and creation of a plug-in in "C". In Find mode I still use Set Field and global fields almost exclusively. The only slight modification is using Insert statements to build date range finds. Set Field generates a result type error when you attempt to set a field to "date1...date2". -bd
FUBAR Posted October 19, 2001 Posted October 19, 2001 Well your part right on why I made the other post I also want to manipulate the text that I copied but I found a way around it using global fields (make the users decide what they want to find in a layout before entering find mode.) However, there are more reasons why I want to create plug-ins (see my reply in "Newbie Question about creating plug-ins") Also I have a question about triggering a script (see "ScriptScheduler?") that I think will require me to create a plug-in Thanks for all the help
Recommended Posts
This topic is 8437 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