Announcement

Collapse
No announcement yet.

[SOLVED] Use Global Variable in SQL statement

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] Use Global Variable in SQL statement

    I have a form and I'm saving 2 values in session variables by saying Save Variable on the field and giving it a variable name.

    I have a button that runs a grid application and I want to use those variables in my sql statement for the grid.

    What is the best way to do this?

    Thanks

  • #2
    Just set the selected fields into a [global] and use this [global] in your sql.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Thanks, that worked.

      Comment

      Working...
      X