Skip to main content

Search

Search

Get Databasefield Value

Comments

4 comments

  • Avatar
    Ian Cummings
    Moderator

    You use the .Value property of the SubString class.

     

    LABEL.TEXT = btFormat.SubStrings("SubString1").Value
    
    0
  • Avatar
    Legacy Poster

    it is not working. The Compiler said:

    "Fehler1 Der nicht aufrufbare Member "Seagull.BarTender.Print.LabelFormat.SubStrings" kann nicht wie eine Methode verwendet werden.    C:\Users\Carsten\documents\visual studio 2010\Projects\LabelPrint\LabelPrint\Form1.cs    62    40    LabelPrint"
     

    this can not be used like an Method.

     

    regards Carsten B

    0
  • Avatar
    Domingo Rodriguez
    Moderator

    As you seem to be using C#.Net use the following instead:

     

    1.  
      1. LABEL.TEXT = btFormat.SubStrings["SubString1"].Value

       

    0
  • Avatar
    Ian Cummings
    Moderator

    Opps, yes you're using C#.  Sorry I missed that as I gave you the VB.NET equivalent.

    0

Please sign in to leave a comment.