Skip to main content
Participating Frequently
September 5, 2014
Answered

Can I print a list of the Variables in the Variables Pod?

  • September 5, 2014
  • 2 replies
  • 396 views

I have about 125 variables and I want to list them on paper or a spreadsheet or whatever so I can organize them before I start modifying what's there.

How to do that?

Thanks

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer Arnis Gubins

    Unfortunately not.

    If you save as MIF, then you can open the file in a text editor and extract the Variable catalog. The data will look like:

    <VariableFormats

    <VariableFormat

        <VariableName `Page Count'>

        <VariableDef `<$lastpagenum\>'>

      > # end of VariableFormat

    <VariableFormat

        <VariableName `Current Date (Long)'>

        <VariableDef `<$monthname\> <$daynum\>, <$year\>'>

    > # end of VariableFormat

    ...

    ... additional variable definitions here

    ...

    > # end of VariableFormats

    You can manipulate this in a text editor to get the variable name and definition into a csv format suitable for importing into a spreadsheet.

    You can also create a suitable routine in the spreadsheet to output your modified variables back into MIF format in order to re-import directly into FM files. Check the MIF Reference manual for the full syntax required to make a simple MIF snippet file.

    2 replies

    Arnis Gubins
    Arnis GubinsCorrect answer
    Inspiring
    September 5, 2014

    Unfortunately not.

    If you save as MIF, then you can open the file in a text editor and extract the Variable catalog. The data will look like:

    <VariableFormats

    <VariableFormat

        <VariableName `Page Count'>

        <VariableDef `<$lastpagenum\>'>

      > # end of VariableFormat

    <VariableFormat

        <VariableName `Current Date (Long)'>

        <VariableDef `<$monthname\> <$daynum\>, <$year\>'>

    > # end of VariableFormat

    ...

    ... additional variable definitions here

    ...

    > # end of VariableFormats

    You can manipulate this in a text editor to get the variable name and definition into a csv format suitable for importing into a spreadsheet.

    You can also create a suitable routine in the spreadsheet to output your modified variables back into MIF format in order to re-import directly into FM files. Check the MIF Reference manual for the full syntax required to make a simple MIF snippet file.

    babloomAuthor
    Participating Frequently
    September 5, 2014

    Arnis, You are the Man. -Bruce