Re: Tab Controls and subforms



PeterW wrote:
I have a form with 5 tabs - one of the tabs has a subform holding
financial info about jobs. I am wanting to ask the user if they want
to add standard financial information to the job if no data has been
entered when they click on the finance tab. There is a field on the
form called finaceId and I can check if this value is null. If I
place code in the subforms load or current event these seem to be
triggered even if the finance tab is not selected. I also tried the
activate event and page click event with no luck. I am now pretty
stuck for ideas
Any help gratefully recieved

Use the Change event of the TabControl (not of a page). In your code test the
Value property of the TabControl to determine which page was selected and only
run the rest of your code when the desired page is chosen.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


.



Relevant Pages

  • =?ISO-8859-1?Q?Intrebarea__Re=3A_Rusia_Gruzia_As_vrea_sa_stiu_ce_cred?= =?ISO-8859-1
    ... Alfa e citatata masiv pe Yahoo finance. ... enough cash, through jobs, and wean itself off excessive debt. ... flipping hamburgers, I pity them. ... Ahmadinejad may be right about future administration having to "limit ...
    (soc.culture.romanian)
  • www.ft.com
    ... Europe ... Finance & Governance ... Business Lifemore   ... Global executive jobs ...
    (uk.politics.misc)
  • www.ft.com
    ... Europe ... Finance & Governance ... Business Lifemore   ... Global executive jobs ...
    (uk.politics.misc)
  • Neo-Liberalism Globalization crumbling
    ... it is a market correction that self manifest against the ... jobs for its citizens is a priority for any country; ... So what are the symptoms in Laos? ... Easier access to non productive finance encourage ...
    (soc.culture.laos)
  • Re: I have found the cause on the car makers bail-out and it is Me
    ... They thought that they could replace manufacturing with finance. ... Employment in manufacturing has dropped by 3.4M jobs since ... *external* customers is beneficial to the local economy. ...
    (soc.retirement)