Zum Hauptinhalt gehen

Suche

Suche

Vbscripting Help

Kommentare

2 Kommentare

  • 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

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.