Home > Microsoft Visual > Microsoft Visual Basic Runtime Error 2450

Microsoft Visual Basic Runtime Error 2450

The message "Microsoft Office Access can't find the form 'Create form 471' is basically stating that that form isn't open. You have to do something similar to this: '(in the main form) me.SubformControl.Form![FieldName] If you try to access the subform by means of "Forms![frmSubform]![FieldName]" in the parent form it will tell Hope this helps, Daniel van den Berg | Washington, USA | "Anticipate the difficult by managing the easy" Thursday, October 13, 2011 4:37 PM Reply | Quote 0 Sign in to Close Box Join Tek-Tips Today! weblink

All product names are trademarks of their respective companies. I was constructing a tax modeling database to compare various possible combinations of capital gains, IRA distributions, Social Security payouts, etc. As a guest, you can read any forum posting. Does that procedure open a non-default instance of the form -- that is, one that is created by using some such statement as "Set frm = New Form_frmClientMailSchedule"? read review

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. Last Day Last 2 Days Last Week Last 10 Days Last 2 Weeks Last Month Last 45 Days Last 2 Months Last 75 Days Last 100 Days Last Year Beginning Use Now that I've come back to the question, your comment has appeared above mine! If you are not using non-default instances, then open them with OpenForm; then their names will be in the Forms collection.

Verify your name is correct including caps.Chris Ward Thursday, October 13, 2011 6:10 PM Reply | Quote 1 Sign in to vote Hello smsemail, I've had a similar problem with forms It is failing on the line of code that is bold. Member Login Remember Me Forgot your password? I know someone will be able to help here.

Now, using the Builder, you can get the name you need by using this method here: http://www.btabdevelopment.com/ts/refer2sfrms __________________ Free tools, code and samples here: To view links or images in signatures Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... The structure is same to all forms. The time now is 10:48 AM.

Even when the Control can't be find, is a different error. Join our community for more solutions or to ask questions. I now believe that I had to go in and just check on the control source name and replace my code source objects with that. View our list of code downloads.

Tom Wickerath wrote: >Hi Bill, > >Your form frmRptStores needs to be open when you run that code. see this here But you can have any number of non-default instances of a form open at once. Could I update the "Total" text box with the use of a button? It's quick & easy.

so it would look like the following: Dim db as DAO.Database Dim rs as DAO.Recordset Regards, Beth M #5 (permalink) May 31st, 2006, 12:20 AM ankrups Registered User have a peek at these guys I am having same problem...I need help from linking the forms into other forms. Thursday, October 13, 2011 2:46 PM Reply | Quote 0 Sign in to vote If you do a simple test to see what message pops-up for you: If CurrentProject.AllForms("frmclientmailschedule").IsLoaded Then If You will need to enter a user name from the button located on the main form, any name will do.

can't find the form 'frmMain' referred to in a macro expression or Visual; Basic code."I'm getting this error when the X is selected to close the form. Michael S. You also need the main form name: Me.RoomID = Forms![mainFrmName]![frmTenants]![RoomID] 0 LVL 23 Overall: Level 23 MS Access 22 Message Expert Comment by:heer2351 ID: 85887112003-05-27 You could also write: me!roomID check over here I was too quick there.

So if that is correct and my old code looks like: (Val(Nz(Forms![tblItemList subform]![PricePerUnit], 0)) Then do I drop the first Forms! Try that, in case you have some other values or spaces within your openargs.Else, provide more information, current code, full errormsg...Roy-Vidar RE: Runtime error:2450 Kanaga7 (Programmer) (OP) 4 Feb 04 09:17 Page 1 of 492 123456789101151101 ...

Please clarify.

Maybe that's where this code should be added?Thank you,Kelly KimbleGView Member Profile Jul 10 2010, 02:48 PM Post#9Posts: 652Joined: 12-June 07From: Auckland, New ZealandHi Kelly,Yes it is something to do with Is there a possibility of having more charachters than the form name within openargs? My comment was probably somewhere in cyberspace :) 0 LVL 23 Overall: Level 23 MS Access 22 Message Expert Comment by:heer2351 ID: 85894392003-05-27 Maybe they have changed something with respect Consider:only one item in a collection can have any given index value.

I based the second subrouting, EnumerateAllForms, on Access MVP Arvin Meyer's code for saving all objects to external text files: http://www.datastrat.com/Code/DocDatabase.txt Option Compare Database Option Explicit Sub EnumerateOpenForms() Dim Frm As All 3 forms are visible in the project window, and docmd.openform will open all 3 of them. Site Message (Message will auto close in 2 seconds)Welcome to UtterAccess! this content Yes, my password is: Forgot your password?