Zum Hauptinhalt gehen

Suche

Suche

Access DB Fields from VB Script within OnPrintStart Event

Kommentare

3 Kommentare

  • Avatar
    Peter Thane

    I think it would need to be OnNewRecord as OnPrintStart the lookup to the database will not have been performed. 

    Have you re-linked all the fields in the command lines? Not sure if makes a difference but in 10.0 BT would use the ODBC driver but in 2019 it uses the inbuilt database link.   

    0
  • Avatar
    Hans Pesata

    Hi!

    Thanx for replying!

    I changed to OnNewRecord  but the problem remained.

    I have an Access Database connected to my .btw file and Bartender 2019 claimed, that I have to confgure a named Database Connection.

    After I diid this, the error messages have vanished, but no it seems, that the VB Scripts are not executed and also the referenced Database fields in Text-objects are not updated anymore with the actual values ?

    This is pretty confusing an annoying ...

    Regards,
    Hans

    0
  • Avatar
    Peter Thane

    On screen the information wont show but when you print/print preview and have selected a record then it should. The only exception to this is if you are using a Preview of Template on a Data Entry Form as the VB work does not get processed until after the image is displayed. if that makes sense.

    0

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