September 22, 201510 yr Hello All, I have two tables: Materials Table and Label Table What I want to accomplish is when Click my Print Label Button but I want to see my Label Table in a Separate window. For Now I have a the following script: Freeze Window Go to Layout ["Labels"(Labels)] Show all Records Delete All Records [No Dialog] Loop New Record/Request Set Variable [X; Value (GetFondCount)] Set variable [$_Text; Value Material Description:".........] Set Field [Labels::Label; $_text] Set Variable[$_text; Value"Location: & $Location] Exit Loop if $X≥$_MatnContainers End Loop Enter Preview Mode [Pause] Print [Restore] Go to Layout [("Materials)] Enter Browse Mode Thank you so much in advance. Rose
September 22, 201510 yr Are you asking for this?: http://fmhelp.filemaker.com/fmphelp_14/en/html/scripts_ref1.35.92.html#1108582
September 23, 201510 yr Author Hi Fitch, I tried the examples but I want my original window to be open when the other pop up window appears. Thank you.
September 23, 201510 yr The link explains how to use the new window command. The script you provided appears to be quite incomplete. You mention popup windows; but your script has no new window command. Your script mentions variables; but it never defines the variables. It would be helpful to attach you file; or a clone of your file; or complete copies of your scripts.
September 23, 201510 yr I tried the examples but I want my original window to be open when the other pop up window appears. Scratching my head ... OK, I see you're on Windows. My guess is that you have your original window maximized. What happens then is that your new window will also open maximized. So your original window is still open, but it's behind the new window. In order to keep the original window visible, you'll need to un-maximize it before you create the new window. I use a script step like this: Move/Resize Window[ Get ( WindowWidth )] This will un-maximize the window and make it a pixel smaller.
September 24, 201510 yr Author Hi Fitch, Thank you. Please pardon the newbie... How can I integrate the Move/Resize Window to my new script New WIndow [Name: "Print Label"] Go to Layout ["Label" (Labels)] Enter Preview Mode [] Print Setup [Restore] Thanks you.
Create an account or sign in to comment