Re: Save as PDF script step doesn't work from runtime



On Mon, 7 Jul 2008 23:36:44 +0200, "Ursus" <ursus.kirk@xxxxxxxxx>
wrote:


"Nelson" <noreply@xxxxxxxxx> schreef in bericht
news:t6d4749kujib1hje0od96okcovt4dn4v89@xxxxxxxxxx
Guy - Thanks for the XPS tip and link. Will look into it out of
curiousity even though the virtual printer approach with doPDF is
doing the job so well. (Hey, if I'm not careful, I might learn
something.)

Martin - So, your use of FM variables is for building file names, not
for PDF generation. Thanks. Still wonder why variables (like
$$MyCalcResult) cannot be displayed in text on layouts.


create a calculation that returns a global of the correct type (text if the
variable is text etc)

cMyVar < text ; $$MyCalcResult > and put this on your layout

keep well, Ursus



Thanks, Ursus. Tried what you suggested and some variations on it,
but no go.

There's no problem if a field is established to hold the value, and
that's how I've handled it. If a field is used, changing values
display nicely within text on a layout.

I'm curious as to why FM seems unable to use its variables that way,
given that they are already in memory. Can FM display a variable's
value within text on a layout without creating a field? In other
words, can FM use a "set variable" or a "let" step to create a
variable and assign it a value, without putting into a field, and then
have that value display within some text on a layout?

According to Data Viewer, the variable is created and holds the right
value. Why can't FM show that value on a layout directly?

Using FM 85A on WinXP-SP2.


.



Relevant Pages

  • Re: Save as PDF script step doesnt work from runtime
    ... Thanks, Ursus. ... display nicely within text on a layout. ... Perhaps your point is that using an unstored field may accomplish a ...
    (comp.databases.filemaker)
  • Re: Save as PDF script step doesnt work from runtime
    ... Thanks, Ursus. ... Tried what you suggested and some variations on it, ... display nicely within text on a layout. ...
    (comp.databases.filemaker)
  • Re: Conditional formatting
    ... happens if you step through the script in Script Debugger? ... I'd like to dynamically place a button on my layout. ... I only want the "Show All" button to display when I'm ... calculation determining how the button is labelled and describing what ...
    (comp.databases.filemaker)
  • Re: Not seeing Indent options when I place my cursor on the ruler
    ... no tips display, but the did display in Print Layout. ... [MVP] ... it says another kind of indent which I forget. ...
    (microsoft.public.word.docmanagement)
  • Conditional formatting
    ... I'd like to dynamically place a button on my layout. ... at the list of current projects (showing only projects that aren't ... So my report should show one of two buttons for each ... I just don't want to display both buttons for each record ...
    (comp.databases.filemaker)