Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 21st, 2003, 08:17 AM
Registered User
 
Join Date: Nov 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default ado getchildren problem

I get an empty recordset from the getchildren method. My code is as follows:
    rec.Open "", "URL=http://server/mesaieux/images/Actes/", ,adOpenIfExists Or adCreateCollection

Set rs = rec.GetChildren

The server has the frontpage 2002 server extensions and all the directories enable browsing in IIS5. The //server/mesaieux/images/Actes/ directory is not empty.

Anybody has an idea

 
Old November 21st, 2003, 08:39 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

I think your parameters are not quite right. Example from MDSN (note the extra comma before the options argument)
Quote:
quote:
...As another example, the following code will open a Recordset on the contents of the Winnt directory:

recordset.Open "", "URL=http://YourServer/Winnt/",,,adCmdTableDirect
hth
Phil
 
Old November 21st, 2003, 08:46 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,212
Thanks: 0
Thanked 1 Time in 1 Post
Default

Scratch that last post, I just noticed the example I posted is for the Open method of the Recordset object, but your code is fine for the Open method of the Record object.
 
Old November 21st, 2003, 01:22 PM
Registered User
 
Join Date: Nov 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you for the try. However, it still does not work.
Anybody knows what should be the IIS5 security parameters required for that code to work?






Similar Threads
Thread Thread Starter Forum Replies Last Post
ADO.Net Problem akhilesh_g ASP.NET 2.0 Professional 2 December 18th, 2007 05:33 AM
ADO DB problem. KalliMan2 Visual C++ 7 March 27th, 2006 02:00 AM
Ado.net Problem... NitinJoshi General .NET 2 January 10th, 2005 04:49 AM
Ado Image problem alanshen209 Access ASP 0 May 13th, 2004 04:33 PM
getchildren problem Jeantrudel ADO.NET 0 November 25th, 2003 11:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.