Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

R5, using a button to open a doc

Status
Not open for further replies.

JoseQuiervo

Programmer
Sep 25, 2002
57
US
On a view, if you double click a row, frm1 opens up with that data. Is there a way to highlight and then click a button to open up another doc with the highlighted data? The doc I would be looking to open via a button is frm2, and the data would be field1, field2, field3 and field 4. Please advise.

Thank you
 
Use the button to call an agent (toolsrunmacro).

Set the agent to run on selected docs.

Code the agent to look at the selected doc, get some data off of it and then use that data to open another doc.

Haven't tried it but it could work.

-Robot
 
Use the "Form Formula" option under View objects in the ojects pane. Simply put "frm2" into this placeholder and this tells the view what form to use when opening documents. then just name the fields on the form the same as the ones in the document.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top