Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / January 2006

Tip: Looking for answers? Try searching our database.

populate form with recordset

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
smk23 - 18 Jan 2006 23:46 GMT
I am trying to populate a form with an ADODB recordset using code supplied
here:
http://support.microsoft.com/?kbid=281998

but I get an error "operation is not allowed when object is open" when
trying to open the form. The code is set to run on the OnOpen event as
indicated in the example code. Should I run it on a different event?
Thanks,
Signature

sam

Ofer - 19 Jan 2006 00:20 GMT
I tried the code, with and without a sub form, it run fine.

Are you sure it happen in the Sub?
Do you have anything else in the OnLoad event for example, that migt cause
this error?
Put a code break in the first line (press F9) and step through the code (F8)
and see in which line this error happen.

Signature

\\// Live Long and Prosper \\//
BS"D

> I am trying to populate a form with an ADODB recordset using code supplied
> here:
[quoted text clipped - 4 lines]
> indicated in the example code. Should I run it on a different event?
> Thanks,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.