Go Back   Access World Forums > Microsoft Access Discussion > Forms

 
Reply
 
Thread Tools Rate Thread Display Modes
Old 11-15-2011, 10:48 AM   #1
jcruzAME
Newly Registered User
 
Join Date: Oct 2011
Posts: 135
Thanks: 1
Thanked 0 Times in 0 Posts
jcruzAME is on a distinguished road
RT Error 2478. . .

I get this error when I run code that tried to requery another form if it is active. If the form isn't loaded, there's no problem with the code.

I get "Microsoft Access doesn't allow you to use this method in the current view."

Here's the code I have (Access 2010):

If CurrentProject.AllForms("frmClientInfo").IsLoaded = True Then
Forms!frmClientInfo!cboPrimaryContact.Requery
Forms!frmClientInfo!cboSecondaryContact.Requery
End If

Can't find anything just Googling and such.

Thanks in advance.

jcruzAME is offline   Reply With Quote
Old 11-15-2011, 10:55 AM   #2
jcruzAME
Newly Registered User
 
Join Date: Oct 2011
Posts: 135
Thanks: 1
Thanked 0 Times in 0 Posts
jcruzAME is on a distinguished road
Re: RT Error 2478. . .

Figured it out. One of them was in Design view when the error popped up.
jcruzAME is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 3734 (share mode error) appearing in error guy- Modules & VBA 2 09-28-2011 02:02 AM
A question about the error message "Run-time error '3061' Too few parameters, Expecte dariyoosh Modules & VBA 7 03-12-2010 06:26 AM
Run time error 3075 - syntax error (missing operator) in query expression puskardas Modules & VBA 8 06-30-2008 07:35 PM
Strange Error: Error Accessing File. Network Connection may have been lost Kila Forms 3 01-12-2004 02:19 PM
ACC2000: Error Message: Error Accessing File. Network Connection May Have Been Lost. jenvandiver General 0 10-30-2002 09:19 AM




All times are GMT -8. The time now is 03:39 AM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Featured Forum post


Sponsored Links


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World