Loading ...
Sorry, an error occurred while loading the content.

variable to combo

Expand Messages
  • Manuel123
    One more time question. How can I pass the variable hoy to combo ^!Set %hoy%=^$GetDate(mm/dd/yyyy)$ ^!Set %fecha%=^?[Dime fecha==^%hoy%] ... Cursos para
    Message 1 of 8 , Aug 18, 2003
    • 0 Attachment
      One more time question. How can I pass the variable hoy to combo

      ^!Set %hoy%=^$GetDate(mm/dd/yyyy)$
      ^!Set %fecha%=^?[Dime fecha==^%hoy%]
      ---
      Cursos para ciegos. http://www.solotxt.com
      Windows,Iexplorer,Outlook,Html,Word,Excel,Access
      ---
      Caso de devoluciĆ³n repetidas de respuestas enviar un mensaje de aviso a <incidencias@...>
    • Manuel123
      Sorry. It don t work because I used [ ] and now with { } work ok. Thanks ^!Set %hoy%=^$GetDate(mm/dd/yyyy)$ ^!Set %fecha%=^?{Dime fecha==^%hoy%} ... Cursos
      Message 2 of 8 , Aug 18, 2003
      • 0 Attachment
        Sorry. It don't work because I used [ ] and now with { } work ok.
        Thanks

        ^!Set %hoy%=^$GetDate(mm/dd/yyyy)$
        ^!Set %fecha%=^?{Dime fecha==^%hoy%}
        ---
        Cursos para ciegos. http://www.solotxt.com
        Windows,Iexplorer,Outlook,Html,Word,Excel,Access
        ---
        Caso de devoluciĆ³n repetidas de respuestas enviar un mensaje de aviso a <incidencias@...>
      • loro
        ... From Help ( Clip Wizard and Fields ): If a function is used in square brackets ^?[Today s date is=^$GetDate$] the actual function would be seen in the
        Message 3 of 8 , Aug 18, 2003
        • 0 Attachment
          Manuel123 wrote:
          >One more time question. How can I pass the variable hoy to combo
          >
          >^!Set %hoy%=^$GetDate(mm/dd/yyyy)$
          >^!Set %fecha%=^?[Dime fecha==^%hoy%]

          From Help ("Clip Wizard and Fields"):
          "If a function is used in square brackets ^?[Today's date is=^$GetDate$] the actual function would be seen in the prompt because the square brackets are processed first, but the function will not be processed until after it is reached in the script. On the other hand, since curly braces and functions are processed when the line is processed, the date will be shown in the prompt using ^?{Today's date is=^$GetDate$}. The same is true when using variables."

          So the answer is use curly braces.

          Lotta
        Your message has been successfully submitted and would be delivered to recipients shortly.