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 Mike Lewis 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: *

  • Users: Footbal76
  • Order by date
  1. Footbal76

    get total

    Golom I get a Object not defined on: With New FileSystemObject suggetions thanks
  2. Footbal76

    get total

    George's had the time error
  3. Footbal76

    get total

    Sum, total. the number of times ID is in the file
  4. Footbal76

    get total

    I tried what you indicated I get an error run-time error 13 type mismatch any suggestions
  5. Footbal76

    get total

    Here is an example. but it would have more than 50 or so I want to get the total of IDs ID:2067 BIOLOGICAL SCI...
  6. Footbal76

    get total

    I have this code it works great. It opens a file and searchs for a value. once its done with that file it goes to the next file. I have 3 files total. I need to give the total of the value ID. in each file Does anyone know how to do this? Thanks in advance Dim File As String Dim TextLine As...
  7. Footbal76

    read file

    Code is not looping through file to get each textline to find value: "ID" Any help please. Public Sub Email() Dim File As String Dim TextLine As String Dim i As Integer Dim stucntr As Integer Dim filecntr As Integer stucntr = 0 For filecntr = 1 To 3 File =...
  8. Footbal76

    read file

    I'm trying to read this file and I want to find the total records within the file. Search the file and find the value (ID:) and give the total records found in the file so I'm trying to loop through. How can I find the total records in the file based on what I have? For filecntr = 1 To 3...
  9. Footbal76

    read string

    I have it workin now my string had balnk spaces in them like 2 hundred spaces I just used the (ltrim) method and it worked Thanks to u all
  10. Footbal76

    response.write syntax

    get an error. 0405T2D1 this is just a name not a variable Error Type: Microsoft VBScript compilation (0x800A03EE) Expected ')' /App_PDF/PDFIndex.asp, line 117, column 70 Response.Write ("<a href='/File/BUS2006T2D.pdf'> " & BUS & " " & 0405T2D1 & " BUS </a>")...
  11. Footbal76

    response.write syntax

    I have a PDF file in a directory and Im trying to link it But I have a syntax problem and I have been trying to find out the problem but I have'nt had any luck any help would be appraciated Response.Write ("<a href=/File/"BUS2006T2D.pdf"> "+BUS+" "+0405T2D1+" BUS </a>")
  12. Footbal76

    read string

    onpnt That works great. Question how would I put each value into one string. The output looks like this: ART ASC BIO HUM JUR MPS MUS SBS USS UVC So I guess this loops through and prints out every 3 characters with a "<br>" for break I need to put each one of these ART, ASC, BIO, HUM, JUR...
  13. Footbal76

    read string

    That worked separate like u said. Im trying to test the Array to se if there is any data in there
  14. Footbal76

    read string

    well I don't have totalcolls setup like they way you have it. let me test your code separatly and see if I get what you have.
  15. Footbal76

    read string

    For some reason its not picking up the value. I used your example: output: The item at index 1 is:
  16. Footbal76

    read string

    Ok that worked here is the ouput. This goes on forever The starting string is: ARTASCBIOHUMJURMPSMUSSBSUSSUVC i = 1 StartPosition = 1 The value is: i = 2 StartPosition = 4 The value is: i = 3 StartPosition = 7 The value is: i = 4 StartPosition = 10 The value is: i = 5 StartPosition = 13...
  17. Footbal76

    read string

    Ok I get a response back from the the first response.write but the other part does not seem to work here is the output: any suggestions The starting string is: ARTASCBIOHUMJURMPSMUSSBSUSSUVC Also here is most of the code I'm working with. It might explain why its not working colls =...
  18. Footbal76

    read string

    I get no response from the response.write function Do u have any other suggestions? Thanks SetLength = 3 SetCount = Len(totalcolls) Mod SetLength For i = 1 to SetCount StartPosition = i * SetLength Response.Write Mid(totalcolls, StartPosition, SetLength) Next
  19. Footbal76

    read string

    Having a problem. I have this variable that Response.Write totalcolls gives this line totalcolls = Mid(colls,i+1,colls_lgth) Response.Write totalcolls ARTASCBIOHUMJURMPSMUSSBSUSSUVC this is the line Now I'm trying to parse this line out every three characters. Dim strCol2 i = 0 strCol2...
  20. Footbal76

    read string

    I get this error An unhandled data type was encountered. strlngth = Len(retval) Response.Write(retval) Str = split(retval, " ") Response.Write(Str)

Part and Inventory Search

Back
Top