|
-
Feb 16th, 2004, 01:27 PM
#1
Thread Starter
New Member
Form Problem
I know this is probably simple but im used to vb and i cant wuite figure out why this wont work!
I want to unload one form and load another so i have:
Unload Form_RentalForm
Load Form_ClientForm
It keeps telling me that it cant load or unload this object (hightlighting unload form_RentalForm
-
Feb 17th, 2004, 03:29 AM
#2
Addicted Member
1. Presumably you have spelled the form name correctly (as seen in Project Explorer window) ? No odd spaces etc.
2. Presumably you are sure that you have Loaded the form or used .Show ? You may have a line of code that does this, but is it actually run ?
Regards
BrianB
-------------------------------
-
Feb 17th, 2004, 03:44 AM
#3
Junior Member
VB Code:
DoCmd.Close acForm, Me.Name
DoCmd.OpenForm "ClientForm"
the alternative in access is just to use the visible property and set it to true to show, and false to hide.
Last edited by Shattered; Feb 17th, 2004 at 03:56 AM.
"much to learn you still have"
-
Feb 17th, 2004, 04:08 AM
#4
Thread Starter
New Member
That worked perfectly shattered, Thanks!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|