tcl proc using table argument

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf tcl proc using table argument

  • Creator
    Topic
  • #52920
    Femina Jaffer
    Participant

      Hello,

      Is there any way I can use a generic tcl proc I created to filter doctors based on a table argument?  For example, I need to to use one proc for different clients too match an field against a table.  However, I would like to use this code for other clients too.  All I would like to do is put in an argument in the preproc to reference a table name.  Can this be done and how?

      Thank you,

      Femina

    Viewing 2 reply threads
    • Author
      Replies
      • #75939
        Femina Jaffer
        Participant

          I figured it out – it was actually quite simple!

          Thank you.

        • #75940
          Tim Pashon
          Participant

            Would you care to share what you found out with the rest of us?

            Thanks!

          • #75941
            Russ Ross
            Participant

              Tim:

              I previously posted a detail example of how to do this using Jim Kosloskey’s argument driven proc called tps_msg_action.

              Here is the URL

              <a href="https://usspvlclovertch2.infor.com/viewtopic.php?t=1578&#8243; class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?t=1578

              The code for tps_msg_action.tcl might seem like overkill at first glance but that proc can do all kinds of filtering.

              The nice thing about it is that once you know how to use the args you can make it dance in just a matter of minutes to do the desired filtering without have to code anything.

              Russ Ross
              RussRoss318@gmail.com

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.