Appending Characters to value in Textbox

  • What is the syntax for appending characters to a value in a textbox???

    i.e.          =Fields!Weight.value + "lbs"   

    Also what is the default language that this is using?? VB? C++? 

    Thanks for any suggestions!

  • This would come from Access (maybe something else that I never used).

    If you need a calculated field, maybe you could try :

    =Fields!Weight.value & "lbs"

    Or you could add a label right beside that textbox so that you wouldn't have to concatenate anything.

  • The ampersand works! Thanks!  What language is this using?  I am only really familiar with SQL.

  • VB... and if I remember correctly C# uses + to concatenate. I don't think you can concatenate using operators in other versions of C.

  • It (RS) uses VB.net as the code language, so somewhat similar to old VB (ie VB6).  unfortunately VB.net is the only code option unless you write external assemblies (which can be written with any .net compliant language) and then reference the functions in your report/s.

     

     

    Steve.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply