Skip to main content

Search

Search

Vbscripting Help

Comments

2 comments

  • Avatar
    Ian Cummings
    Moderator

    Using an OnProcessData VB script for your database field data source, write something like the below:

     

    If value = "" Then

       value = Field("myDatabase.myTable.myField")

    End If

     

    You'll need to substitute in your own DB, table, and field names.

    0
  • Avatar
    Legacy Poster

    That worked almost perfectly. Bartender suggested using:

     

    ReferenceField("myDatabase.myTable.myField")

     

    At the beginning of the script and now it works perfectly.

     

    Thanks for the help as I do not know anything about scripting.

     

    :)

    0

Please sign in to leave a comment.