跳到主内容

搜索

搜索

Vbscripting Help

评论

2 条评论

  • Avatar
    Ian Cummings
    版主

    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

请先登录再写评论。