Newbies Confused3 Posted April 5, 2009 Newbies Posted April 5, 2009 I am adding data to a file via a portal and after adding it I want to print it out. No matter how I design the TO relationship I can only get it to display the portal row with the lowest portal row ID number. How do I point to a particular row so I can print just the one row??
bcooney Posted April 5, 2009 Posted April 5, 2009 Use the go to related script step, show matching only, to jump from the parent to the child table (your portal records) and print your child record using a layout based on the child table.
Newbies Confused3 Posted April 7, 2009 Author Newbies Posted April 7, 2009 When I try to use the "go to related " it will only show all the records. Can I filter the related records to just the single active record like filtering a record in Microsoft Access? how do I do this. I can find a single record but it seem so circuitous there must be a simpler way? any thoughts?
bcooney Posted April 7, 2009 Posted April 7, 2009 Your go to related button needs to be on the portal row of the child. GTRR.fp7.zip
comment Posted April 7, 2009 Posted April 7, 2009 Why don't you simply set your print step to print only current record?
Newbies Confused3 Posted April 17, 2009 Author Newbies Posted April 17, 2009 Hi bcooney. I have tried your suggestions but it does not work for me. Each row in the portal has a row ID. I have a layout which is the layout for the printed document. My script is: go to ID, copy, go to layout, select all, go to field (ID field), enter find mode, paste.... then it all unravels. I get a message ID not found. If I use a script it tells me no record found. If I do it manually, it finds the record. What is it doing that I don't know about? The other intensely frustrating thing is if I do a find and I point to a field, it tells the find to look at the [field::name] not the value of the field. How do I get it to look at the value. MSAccess does this so much easier or am I just doing it wrongly?
Newbies Confused3 Posted April 17, 2009 Author Newbies Posted April 17, 2009 I have tried this and it still does not work. There are steps which I do not know about which is stopping this happening. What are they?
comment Posted April 17, 2009 Posted April 17, 2009 I don't see your script, so I wouldn't know. To answer your original question (again) to print the record in a specific portal row, place a button in the portal and attach it to a script that does: Go to Related Record [ ChildTable ; Layout for printing ] Print [ current record only ]
Recommended Posts
This topic is 5699 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