A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Subform not open - but it is on open main form???



 
 
Thread Tools Display Modes
  #1  
Old June 7th, 2004, 05:11 PM
Paula
external usenet poster
 
Posts: n/a
Default Subform not open - but it is on open main form???

I have a main form with an invisible sub form on it.

What I am trying to do is, when the user clicks a button,
make the subform visible (easy and working)
and "GoToRecord", New on the sub form (not working and
Access reporting form not open???)

I'm using basic macro behind the button that does a few
other things that are all working fine, but cannot do
anything on the subform as keeps saying it isn't open.
Have tried with the subform having linked fields and
without and various other changes but just can't seem to
get past this problem.

What am I doing wrong? Thanks for any help in advance.

Regards

Paula
  #2  
Old June 7th, 2004, 05:32 PM
John Vinson
external usenet poster
 
Posts: n/a
Default Subform not open - but it is on open main form???

On Mon, 7 Jun 2004 09:11:26 -0700, "Paula"
wrote:

What am I doing wrong?


A Subform is *not* in fact open in its own right: it can only be
referenced via the mainform and the Subform control which contains it.

I think you'll want to make the *subform control* object - not the
form in it - visible and invisible for this purpose. If this doesn't
help please post your macro steps.

John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.