Results 1 to 5 of 5

Thread: Add Text To String

Threaded View

  1. #1

    Thread Starter
    PowerPoster lintz's Avatar
    Join Date
    Mar 2003
    Location
    The 19th Hole
    Posts
    2,697

    Resolved Add Text To String

    My brain has gone blank.

    EntryRiskText (string variable) can either be Low, Med or High so depending on it's value, LowRiskCounter, MedRiskCounter or HighRiskCounter is checked. My problem is the 2nd line which returns an "Expected: expression" error and the first "&" is highlighted.

    Can anyone help me out?

    VB Code:
    1. If EntryRiskText & "RiskCounter" <> 10 Then
    2. EntryRiskText & "RiskCounter" = EntryRiskText & "RiskCounter" + 1
    3. End if
    [B]
    Last edited by lintz; May 3rd, 2005 at 09:44 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width