ADO : Unable to add

Results 1 to 2 of 2

Thread: ADO : Unable to add

  1. #1
    Join Date
    Dec 1969

    Default ADO : Unable to add

    Hi, <BR><BR>I am facing a queer problem here. <BR><BR>My book says that I should be able to use addnew with an instance of recordset object if I make the lock type as adLockOptimistic. However the definition of the const adLockOptimistic is in the file <BR><BR>This inc file is to be included by <BR><BR>&#060;!-- #INCLUDE VIRTUAL="/" --&#062; <BR><BR>When I write the line above I get the following message<BR><BR>Active Server Pages error &#039ASP 0126&#039 <BR>Include file not found <BR>/login/regs.asp, line 5 <BR>The include file &#039/ was not found. <BR><BR>If i do not include the file the adLockOptimistic is said to be undeclared. <BR><BR>Pls help<BR><BR><BR><BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: ADO : Unable to add

    I would do a response.write Server.MApPath("/")<BR>and see if the file is there or try<BR><BR>&#060;!-- #include file="/" --&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts