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 bkrike 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: lazytrucker
  • Content: Threads
  • Order by date
  1. lazytrucker

    OnUnload Event problems

    Hi all, I am using a script not unlike this below to open a new page when the client closes the browser: <body onLoad="closing=true" onUnload="if (closing) window.open('thanksForVisiting.html');"> The below code has been added to links to ensure the window does not open when navigating. <a...
  2. lazytrucker

    Simulteaneous request issue??

    Hi all, I am getting an error when users execute the exact request at the exact same time: Run-time error -2147024864 The process cannot access the file because it is being used by another process. The function being used in the dll makes, saves, sends, recieves and then saves an xml object...
  3. lazytrucker

    Run Time ERROR -2147024864

    Hi all, I have a site that heavily processes XML in conjunction with a DLL which in turn comunicates with an external server. Process: The .asp web page builds an xml, sends it to the DLL function which then runs through a connection process and building of several xmls (all xmls are created in...
  4. lazytrucker

    IIS Load Issues

    Hi all, I am running a test server on xp pro with iis 5.1 and MYSQL Server, and have come across several issues. 1.)When logging in with 8 users simulteanously not all are granted acces. Is this due to lack of proxy, Or a load issue, or something else? 2.)The server runs a dll which...
  5. lazytrucker

    RoundUp to 5

    Hi all just wondering if anyone has a script which will round up a number to the nearest 5 eg: 123.15 >> 125.00 128.72 >> 130.00 Any suggestions will be appreciated Cheers Lazytrucker
  6. lazytrucker

    Dynamic Locks

    After recently changing from MSSQL to MYSQL I have encountered a couple of problems. Here is an sql statement used in a Dll which connects to MYSQL database. The query seems to fall down at the point of rs1.UPDATE does MYSQL not support this sort of structure, syntax? I dont think it is to do...
  7. lazytrucker

    MULTIPLE INSERTS

    Is it possible to simultaneously insert a row into different tables using different column names in each table and different/similar values. EG: INSERT INTO table1 (col1, col2, col3) values (val1,val2,val3) INSERT INTO table2 (col5, col6, col7 ,col8) value(val1,val2,val6,val8) (BOTH above...
  8. lazytrucker

    GOOD TABLE STRUCTURE?

    Quick question to see if any one can point me to some articles or something. I am redesigning some of the larger tables in my "mysql" database, I want to create a new table with somewhere between 25-30 columns and 1000's of rows. This will be getting queryed alot and query caching is not an...
  9. lazytrucker

    CONVERT STRING TO OBJECT

    Hi all, is there a stored procedure or method for converting a string to an object?? The context in which I am trying to do this is as follows: For i = 1 To 3 "UserForm1.TextBox" & i & ".Visible" = False Next UserForm1.Show This obviously doesnt work but is...
  10. lazytrucker

    DYNAMICALLY CREATE FORM

    I have done some research on this subject and have had no luck. Basically depending on the previous results in my script I want to create a form for user input, simply if txtCount = 4 I want to create a form with 4 i/p fields if txtCount = 5, then 5 i/p fields are created etc. Does any one...
  11. lazytrucker

    For Loop A-Z

    Just wondering if it is possible to carry out a loop from a-z in asp like you can in delphi. Currently I use a script like this: For iCol = 1 To 26 If iCol = 1 Then sCol = "A" ElseIf iCol = 2 Then sCol = "B" ElseIf iCol = 3 Then sCol...
  12. lazytrucker

    Multiple-Step ERROR (Dynamic Cursor??)

    Hi I have been making the change from mssql to mysql in order to save myself £10,000 for the mssql evaluation edition. Everything seemed to be going ok untill the last hurdle when I recieved this error: <ErrorMessages> <ErrorCode>-2147217887</ErrorCode> <ErrorDescription>Multiple-step OLE DB...
  13. lazytrucker

    using vars to address form elements

    Hello all, I have been trying to do this for some time now and with no success. I have an onchange function which has to populate some form fields depending on what var is passed. The function goes like this. function func(val) { var call call="document.fexp.a"+val; //val = 1...
  14. lazytrucker

    Changind Class onclick

    Hi I am trying to change the classname of an object by id. The objects and id is created in a loop however all id's are unique and passed to the change function onclick. the process for change is: ident=cl+seg+rec; alert(ident) document.getElementByid(ident).className='textRed'; The...
  15. lazytrucker

    Bad Logic

    I am trying to create a piece of code which follows the logic of: If ARRAY(0) TO ARRAY(i) = TRUE THEN Where (i) is unkown. I know this is bad syntax and I have a tempory solution but it's been annoying me that there must be a better way to do this. Any Suggestions?? Cheers LazyTrucker
  16. lazytrucker

    xml insertbefore method

    Whilst tying to insert a node before a certain element I keep getting a parentheses error: Cannot use parentheses when calling a Sub xmldoc.documentelement.insertBefore(Journey,xmldoc.documentelement.childnodes.item(i).childnodes.item(1)) I Have tried several methods: 1: set...
  17. lazytrucker

    Sorting a 2 dimensional array (almost Complete)

    Almost got this sussed but cant get over the last hurdle, trying to sort both dimensions of the array at once. Unsorted Output: Number:= 1 Cost:= 375.20 Number:= 2 Cost:= 375.20 Number:= 3 Cost:= 537.30 Number:= 4 Cost:= 537.30 Number:= 5 Cost:= 45.00 Number:= 6 Cost:= 45.00 Number:= 7 Cost:=...
  18. lazytrucker

    Sorting an Array (low to high)

    In order to sort an array I have been using this script (below) however the array data is pulled from an external source and the data often has the same value: eg. MyArray(25,25,25,5,8,2,40,40) when this is the case the array falls down is there any way I can edit my code below to support...
  19. lazytrucker

    Inserting data in to an xml document

    Trying to use asp to add to an xml doc on the fly. Method: set elementchild=objxml.documentelement.childnodes.Item(i).childnodes(0).createelement("ElementName") An error is returned object doesnt support this method. Is there a way of inserting data in to an xml document using asp on the...
  20. lazytrucker

    Inserting elements into an existing xml doc

    Trying to use asp to add to an xml doc on the fly. Method: set elementchild=objxml.documentelement.childnodes.Item(i).childnodes(0).createelement("ElementName") An error is returned object doesnt support this method. Is there a way of inserting data in to an xml document using asp on the...

Part and Inventory Search

Back
Top