Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2013
    Posts
    55
    Provided Answers: 2

    Unanswered: vbscrip question

    I have a question. I know how to pass a Field entry from the vbscript but how do you pass a variable back?

    Joel

  2. #2
    Join Date
    Sep 2011
    Location
    Australia
    Posts
    264
    Provided Answers: 2
    Hi Joel
    Have you looked at the example on BD web site.
    http://www.brilliantdatabase.com/sho...e_tutorial/313
    A while since I played with vbscript but seems that variables used just like normal scripts but no "$" prefix.
    Regards
    David

  3. #3
    Join Date
    Oct 2013
    Posts
    55
    Provided Answers: 2
    Yes I have not very informative I'm afraid. It passes a variable to a field on the form fine.
    I wanted to see if it could pass to a variable. Could be useful or at least interesting.
    Joe

  4. #4
    Join Date
    Jul 2012
    Posts
    94
    Provided Answers: 4
    Try this please;

    Before VBScript command create emty variable, for example:


    Code:
    [$Result1] =         'emty variable in script editor
    
       Execute VBScript .... 
       ............
       ............
       Result1 = .......          'in vbscript
    After inform us.
    I do not know English well. I am using Google Translate for translation. Please do not laugh my sentences.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •