I've got this page here

http://www.virgilslist.com/roster.asp?branch=NAVY
<http://www.virgilslist.com/roster.asp?branch=NAVY&unit=FF-1059>
&unit=FF-1059

 

I'm wanting to write the delete and edit portions, so I added a field to sql
server for the record number.

 

When I display this screen, all of the info is text, but the record number
is an int.

What command converts a int to a string in the following code ??

 

Been looking and I'm not finding it <grin>

 

Thanks,

 

Virgil Bierschwale

http://www.bierschwale.com

http://www.bierschwalesolutions.com

 

 

 

 

 

fieldname1 = "svcbranch"

fieldname2 = "svcunit"

fieldname3 = "svcrate"

fieldname4 = "svcrank"

fieldname5 = "svclastname"

fieldname6 = "svcfirstname"

fieldname7 = "svccity"

fieldname8 = "svcstate"

fieldname9 = "svczip"

fieldname10 = "svconboard"

fieldname11 = "svcdeparted"

fieldname12 = "svclatitude"

fieldname13 = "svclongitude"

fieldname14 = "record_number"

 

connectstr = "Driver={SQL Server};SERVER=" & db_server & ";DATABASE=" &
db_name & ";UID=" & db_username & ";PWD=" & db_userpassword

 

Set oConn = Server.CreateObject("ADODB.Connection")

oConn.Open connectstr

 

qry = "SELECT " & fieldname1 & ", " & fieldname2 & ", " & fieldname3 & ", "
& fieldname6 & ", " & fieldname5 & ", " & fieldname7 & ", " & fieldname8 &
", " & fieldname9 & ", " & fieldname10 & ", " & fieldname11 & " FROM " &
tablename & " where " & fieldname2 & " = '" & svcBranch & "'"

Set oRS = oConn.Execute(qry)   



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to