Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA 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 August 20th, 2006, 03:38 AM
Registered User
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default run-time error '2450'

Hi,
   How do i disable certain field in another form ??? i use this command in my current form to disbable a field AddorDeleteEmployees
e.g

Forms![AddorDeleteEmployees]![FirstName].Visible = False

it returns me "run-time error '2450' microsoft office access can't find the form..."

Pls kindly help.
 
Old August 21st, 2006, 05:15 AM
Authorized User
 
Join Date: Oct 2003
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Default

This error typically arises when the called form is not open. If you need to modify these settings without displaying the form to the user, you can run the DoCmd.OpenForm and set the WindowMode to acHidden.

Hope that helps.
 
Old August 21st, 2006, 10:26 AM
Registered User
 
Join Date: Aug 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

it's worked. Thnks.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert Query Error & Run-Time Error 3022 DavidWE Access 1 July 31st, 2008 11:17 AM
run-time error(s) Chacko C++ Programming 0 March 4th, 2007 02:28 PM
Run-time error '2450' bmurrin Access VBA 6 May 31st, 2006 07:11 AM
run time error ashishroyk Java GUI 0 October 8th, 2004 01:42 AM
Run Time Error JBond Access VBA 0 May 27th, 2004 09:50 AM





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