mibuso.com

Microsoft Business Solutions online community
It is currently Sun May 19, 2013 3:46 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: show fields depending on header filter
PostPosted: Fri Aug 17, 2012 10:24 am 
Offline

Joined: Fri Nov 12, 2010 2:54 pm
Posts: 100
Country: Kenya (ke)
hi all,


is it possible for me to show some fields only in my sub-form depending on what the user selects on the header field.


Top
 Profile E-mail  
 
 Post subject: Re: show fields depending on header filter
PostPosted: Fri Aug 17, 2012 11:30 am 
Offline

Joined: Sat Sep 25, 2004 2:04 am
Posts: 354
Location: Netherlands
Country: Netherlands (nl)
yes . Make a function in your subform that hides the fields in question ( let's call it HideFields ). Then call that function of the subform from your mainform when the conditions are met. Don't forget to give your subform control a name, otherwise you can't access it.

Code: Select all
If <condition> then
  currform.<name of subform control>.form.hidefields ;


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to:  
cron