跳到主内容

搜索

搜索

How To Automaticaly Control The Color Of A Text From An Access Field

评论

3 条评论

  • Avatar
    Shotaro Ito

    BarTender Automation edition (Ver 9.3 or later) has such function, though you need some VB Script.

    this topic might helps:

    http://forums.seagullscientific.com/index.php?/topic/213-how-to-change-object-properties/

    0
  • Avatar
    Legacy Poster

    Thank you for your answer.

    I will study that.

    0
  • Avatar
    Legacy Poster

    I put this :

     

    Set Texte = Objects(Field("Etiquettes.Nom_produit"))
    If (Field("Etiquettes.Couleur")) = “Red”) Then
          Texte.TextColor = btColor.Red
    Else
          Texte.TextColor = btColor.Green
    End If

     

    But I have a script error message.

     

    I am not too much familiar with VBscript .....

    0

请先登录再写评论。