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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to prevent subform when nothing enter on main form



 
 
Thread Tools Display Modes
  #1  
Old March 19th, 2010, 12:42 AM posted to microsoft.public.access
SF[_5_]
external usenet poster
 
Posts: 27
Default How to prevent subform when nothing enter on main form

Hi,

How to prevent user from entering data in subform or event disable subform
when nothing enter on main form?

SF


  #2  
Old March 19th, 2010, 02:06 AM posted to microsoft.public.access
Arvin Meyer [MVP][_2_]
external usenet poster
 
Posts: 2,310
Default How to prevent subform when nothing enter on main form

Start with the subform disabled. In the after update event of the main form,
enable the subform. In the current event of the main form, check if there's
data in the main form and enable the subform id there is.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.accessmvp.com
http://www.mvps.org/access


"SF" wrote in message
...
Hi,

How to prevent user from entering data in subform or event disable subform
when nothing enter on main form?

SF




 




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 03:51 PM.


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