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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mikecon

    ReadLine with TextSteam Obj

    Feng, Pretty vanilla... ... 'Input stream Set oTextIn = oFSO.OpenTextFile(strSubFolder & "\" & strFile, ForReading) ' Reformatted output stream Set oTextOut = oFSO.CreateTextFile(strSubFolder & "\" & strNewFile) ' Read lines Do While Not oTextIn.AtEndOfStream...
  2. mikecon

    ReadLine with TextSteam Obj

    I'm seeing what appears to be a weird behavior using the ReadLine method of a TextStream object. The data file is a little funky in that it's UNIX format and, evidently, the COBOL guys who must have made it use hex 00 (null) as their filler character for unused 'fields'. I have to do a bunch of...
  3. mikecon

    Formatting output from SQL Server TEXT datatype

    That would cover the rest. Thanx!
  4. mikecon

    Formatting output from SQL Server TEXT datatype

    Since the response posts were not exactly beating down my door, I tried a bunch of things and it boils down to this. Maybe I'll get a self-inflicted 'star' ;-) ... As I now see clearly, HTML doesn't give a rat's behind about CR/LF -- it summarily ignores them. That's where something like <pre>...
  5. mikecon

    Formatting output from SQL Server TEXT datatype

    Can anyone describe methods for outputting data from a SQL Server TEXT field as it was entered? If I use <TEXTAREA>#MyTextField#</TEXTAREA> the text is displayed appropriately (i.e. with what appear to be CR/LFs). But if I simply <cfoutput>#MyTextField#</cfoutput> the line formatting is...
  6. mikecon

    Does anyone know if/how ArrayAvg ca

    GJ -- It definitely works. I remade the array like this: <CFSET Days_Array = ArrayNew(2)> <CFSET Sales_Admin_Col = 1> <CFSET Credit_col = 2> <CFSET Provisioning_Admin_Col = 3> ... <CFLOOP QUERY=&quot;MyQuery&quot;> <CFSET Days_Array[Sales_Admin_Col][CurrentRow]=#Sales_Admin_days#> <CFSET...
  7. mikecon

    Does anyone know if/how ArrayAvg ca

    Thanx GJ. Actually, it's funny -- I can act on any _row_ (e.g. ArrayAvg(MyArray[1]) or ArrayAvg(MyArray[2]) works) but could see no way to address the columns. I was thinking I could build the array 'sideways' or 'pivot' (rebuild) the existing one and use the 'row' references above on my former...
  8. mikecon

    Does anyone know if/how ArrayAvg ca

    Does anyone know if/how ArrayAvg can be made to average the values in just a single column of a 2-d array? Thanx, mc

Part and Inventory Search

Back
Top