Thanks Dian > -----Original Message----- > From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx]On > Behalf Of Dian Chapman > Sent: 09 November 2003 18:02 > To: mso@xxxxxxxxxxxxx > Subject: [mso] Re: Access and ADO > > > > >Ummmm... Dare I ask what's the diff between a DSN and DSN > less connection > please? > > Pretty simple, actually...DSN means you set up a data > source name through > the control panel by creating a ODBC connection to it. PITA! > > DSN-Less means you just use the dynamic server path > statement and pass the > static link details to the DB location. > > If you check out that link I provided...there's a more > detailed/technical > answers. > > I don't have time right now to review your code, > completely...but I noticed > a couple quick things... > > * I don't think the SETs should be within your path variable > * And rather than using the cursor and locking CONSTANTS, > use the numbers! > If you use the constants, you have to make sure you have the correct > references set. I always end up getting errors due to that > and lots of time > they're confusing errors. In fact...I think I they might > have even been > permission errors???? You need to make sure the ADOVBS as > an include file > when using for the web...but you need to set the proper > references if it's > an app, like you're doing. Easier to just use the numbers.... > > ...so rather than saying > > oRS.Open "Select * from plot.log", oConn, _ > adOpenStatic, adLockReadOnly, adCmdText > > ...try this way > > oRS.Open "Select * from plot.log", oConn, ?, 1, 1 > > ...where, > adOpenStatic = (sorry, don't know off hand, you can > look it up...try > W3School) > adLockReadOnly = 1 > adCmdText = 1 (or maybe even try 8 which is > adCmdUnknown..let the > provider figure it out???) > > Gotta run...for now... > > Dian D. Chapman > Technical Consultant, > Microsoft MVP & Instructor > ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************