Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

including database info in a string

Status
Not open for further replies.

sthmpsn1

MIS
Sep 26, 2001
456
US
I have the following variable that is equal to some text which I also want to include some database info. How would I correctly write this.

BodyString = "The following user " & rs2.Fields.Item("firstname").Value rs2.Fields.Item("lastname").Value & " has submited his information for the health drawnings"

 
BodyString = "The following user " & rs2("firstname") &
rs2("lastname") & " has submited his information for the health drawnings"


This will do the trick :) Brett Birkett B.Comp
Systems Analyst
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top