p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read

Welcome to the p2p.wrox.com Forums.

You are currently viewing the Dreamweaver (all versions) section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old June 20th, 2005, 05:23 PM
Authorized User
 
Join Date: May 2005
Location: , WI, .
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar - already put the IN query together - works great! thanks again -however while testing I received this error;

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Microsoft Access Driver] Could not update; currently locked by user 'admin' on machine 'WIRED01-2003'.

/sample_tracking/editprocess.asp, line 101

This was the update issue I was trying to recreate earlier - as far as I can tell the access database was open to insert data - and becasue of that wasn't able to update the data (line 101 is execute update) I thought access supported multiple concurrent connections - and this would only be one other connection - is there a way to close the table after the insert is done then update the table? Just picking your brain a little!

Chris

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #12 (permalink)  
Old June 20th, 2005, 05:30 PM
Imar's Avatar
Wrox Author
Points: 33,170, Level: 79
Points: 33,170, Level: 79 Points: 33,170, Level: 79 Points: 33,170, Level: 79
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,161
Thanks: 7
Thanked 188 Times in 186 Posts
Default

Yeah, it does support multiple concurrent connections. However, I think you'll run into problems when you have the database open for design in Access on your desktop / server. If, for example, you're changing the design of a table you get this error.

It could also be a permissions issue, where ASP cannot create the .ldb file. Check this FAQ for more information: http://imar.spaanjaars.com/QuickDocId.aspx?QUICKDOC=263

However, I don't think this is the problem in your case as you can successfully insert and update records. I think you should just close Access on the server and everything will be fine....

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Teardrop by Massive Attack (Track 3 from the album: Mezzanine) What's This?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #13 (permalink)  
Old June 20th, 2005, 10:14 PM
Authorized User
 
Join Date: May 2005
Location: , WI, .
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Imar,

The access issue had to do with some of the test data I had put into it - I can only recreate the problem on about 10 of the different locations with data - and these were areas I had just made up data when I started building the pages - Once I removed all of the garbage data everything worked flawlessly - incidently I tested it by inserted 100 records at one time - perfect - pretty quick considering - overall this part of the tracking system has been a real learning experience (you can't even realize how much you don't know until you start playing with the code)

Again, I appreciate your help - I am sure you will be hearing from me again soon (I am building a section for queries next) I will try not to take all of your time!

Chris



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #14 (permalink)  
Old June 21st, 2005, 04:02 PM
Imar's Avatar
Wrox Author
Points: 33,170, Level: 79
Points: 33,170, Level: 79 Points: 33,170, Level: 79 Points: 33,170, Level: 79
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 10,161
Thanks: 7
Thanked 188 Times in 186 Posts
Default

You're welcome. Glad it's all working now.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Blackout by Muse (Track 9 from the album: Absolution) What's This?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CalculatorWrapper Revisited RJMiller BOOK: Real World SharePoint 2007 (SharePoint MVP) ISBN 978-0-470-16835-6 3 September 4th, 2008 04:06 PM
Sql Insert -- date format issue feets Access VBA 2 June 12th, 2007 01:11 PM
Insert Issue into Acces DB brawny4 Visual Basic 2005 Basics 2 February 21st, 2007 08:43 PM
Ch10 - issue with insert in log table Cata BOOK: Professional SQL Server 2005 Administration ISBN: 0-470-05520-0 0 February 15th, 2007 05:17 PM
Insert issue? cedwards Dreamweaver (all versions) 14 June 17th, 2005 02:20 AM



All times are GMT -4. The time now is 08:55 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc