From: Rob Christiansen on 3 Apr 2010 10:12 ok, in my script i extract data from one record/feild in a *.MBD file. i must then tear that variable down into its induvidual characters or subsets. i have done that with an ascii file - (wordsubset = text_stream.Read(1) ) but never with a *.MBD file or a variable. in 'C' i would use getc or just variable[x]. Could you help me out? sql = "SELECT * FROM santa1 "; var rs = Server.CreateObject("ADODB.RecordSet") rs.Open (sql, ConnectionObject) // RS = var splitname = new Array(); var Recnum = new Array(); while(! (rs.EOF)) { //567 if( rs("id").Value == 25 ) //havfe to get inf9o from the file { //33 Recnum = rs("smessage").Value splitname[0] = rs("smessage").Value[0]; //?????????????? break } //33 rs.MoveNext( ) } //567 crazyswede *** Sent via Developersdex http://www.developersdex.com ***
|
Pages: 1 Prev: How to create <!DOCTYPE> element in JavaScript? Next: rs.MovePrevious( ) |