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!

Recent content by RobV

  1. RobV

    ADO: Obtain generated key

    Try select [SEQ_TABNAME].currval AS [IDNAME] from dual instead of INTO Bye, Rob.
  2. RobV

    ADO: Obtain generated key

    thanks for replying, dragon. Is this operation multithread safe? I mean: Am I sure that that is the correct value given to the record? Or is there a possibility with multiple inserts that I'm getting an incorrect value, given the fact that the connection is only used for the insert of one...
  3. RobV

    ADO Adding records to Oracle RBMS

    I'm experienced with SQL server 7 and Access, but not with Oracle, and I need to do some maintenance on an Oracle 8i server. I stumbled across a problem: A particular table has an insert trigger so that new ID's are being generated by a sequence at insert. However, after insert, that key cannot...
  4. RobV

    ADO: Obtain generated key

    I'm experienced with SQL server 7 and Access, but not with Oracle, and I need to do some maintenance on an Oracle 8i server. I stumbled across a problem: A particular table has an insert trigger so that new ID's are being generated by a sequence at insert. However, after insert, that key cannot...
  5. RobV

    treecontrol Drag & Drop ClientSide

    I need to implement drag & drop of nodes in a treeview. I got the loading and displaying of the tree working, but I cannot seem to get the drag & drop on the webpage working. I need to drag&drop nodes inside the tree, and I need to drag & drop items from another listbox to a given position the...
  6. RobV

    Close Connections - be sure!

    Hi, This is a helpful tip I wanted to share with you. Please let me know if you like it. Sometimes you have a situation where you cannot always be sure that your DB connection is being closed (e.g. in case of a error or simply lazy coding). If you ASP site is running VBScript 5.1 or later (I...
  7. RobV

    xsl:sort

    First of all, excuse me for misposting (I didn't want to reply, but start a new thread instead) Thank you mrTom, although I doesn't really help me. I DID see a tutorial somewhere where the showed you how to 'group' all names (e.g. distinct lastnames), but thats as far as I got. I hope this...
  8. RobV

    xsl:sort

    Can anybody explain to me how to group a xsl:for-each statement? e.g. <PERSONS> <PERSON> <NAME>John</NAME> <EXTENSION>232</EXTENSION </PERSON> <PERSON> <NAME>Mary</NAME> <EXTENSION>122</EXTENSION </PERSON> <PERSON> <NAME>James</NAME>...
  9. RobV

    Submit question

    You could do this using JavaScript; just submit to page to itself (just refresh it or whatever and spit out some javascript) (remember, this just pseudocode) <% if request.form(&quot;submit&quot;) <> &quot;&quot; then 'process submit here session(&quot;name&quot;) =...
  10. RobV

    SQL strings for a form

    A good practice is to escape the arguments for your SQL statements so that the code doesn't crash when you substitute special characters in the argument. E.g. sql = sql & &quot;Firstname LIKE '&quot; & Replace(request.form(&quot;txtFirstName&quot;), &quot;'&quot;, &quot;''&quot;) &...
  11. RobV

    file uploading through HTML form

    I know of an ASP-only piece of VBScript which interprets the file upload submit, but doesn't require a custom component on the server. Here's the URL: http://www.asp101.com/resources/visitors/index.asp?page=2 Yours, Rob.
  12. RobV

    Submit question

    Yes, it is. <FORM method=&quot;POST&quot; action=&quot;result.asp&quot; target=&quot;_blank&quot;> I don't know if this works for all browsers, but at least IE5 understands it. Yours, Rob.
  13. RobV

    XML problems using on ASP page

    (Oops; reply instead of post) Yours, Rob.
  14. RobV

    XML problems using on ASP page

    I'm wondering how to merge html fragments and layout using XSLT. Say I have a XML file containing an HTML fragment: <root> <fragment> <B>test</B> </fragment> </root> BTW, I need to build this XML using the DOM. And an XSLT: <xsl:stylesheet...
  15. RobV

    Set to nothing?

    Aye, but we have a lot of legacy code where that was not a common practise. I just wanted to know if it was necessary to revise all the code. Yours, Rob.

Part and Inventory Search

Back
Top