Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.ms-access > #785

Re: Getting To A "Chart" Object From VBA?

From "David-W-Fenton" <NoEmail@SeeSignature.invalid>
Newsgroups comp.databases.ms-access
Subject Re: Getting To A "Chart" Object From VBA?
Date 2011-04-03 15:35 +0000
Organization David Fenton Associates
Message-ID <Xns9EBC75FF342F3f99a49ed1d0c49c5bbb2@74.209.136.94> (permalink)
References <5439p61tasq2ru97iegpsi6gfhlhj56dgt@4ax.com> <Xns9EBAA27ECB72Df99a49ed1d0c49c5bbb2@74.209.136.89> <up9fp6thqq6n5laktdomvtl7u80hu5g5d3@4ax.com>

Show all headers | View raw


"(PeteCresswell)" <x@y.Invalid> wrote in
news:up9fp6thqq6n5laktdomvtl7u80hu5g5d3@4ax.com: 

> Per David-W-Fenton:
>>Where are you putting the code? Certain objects do not exist for
>>certain events. In general, I wouldn't expect this kind of thing
>>to work, since you can't do anything like this with subreports. 
> 
> Report_Open().

Objects in the detail section of a report do not exist yet in the
report's Open event, if I'm not mistaken. It's like the difference
between OnOpen and OnLoad in a form. 

If you want to make changes, you'll have to do them in one of the
events closer to the object, perhaps the OnFormat of the detail. I
don't see any alternatives, actually. 

-- 
David W. Fenton                  http://www.dfenton.com/ 
contact via website only     http://www.dfenton.com/DFA/

Back to comp.databases.ms-access | Previous | NextPrevious in thread | Find similar


Thread

Getting To A "Chart" Object From VBA? "(PeteCresswell)" <x@y.Invalid> - 2011-03-31 10:25 -0400
  Re: Getting To A "Chart" Object From VBA? "Bob Barrows" <reb01501@NOyahooSPAM.com> - 2011-03-31 11:00 -0500
    Re: Getting To A "Chart" Object From VBA? "(PeteCresswell)" <x@y.Invalid> - 2011-03-31 13:01 -0400
      Re: Getting To A "Chart" Object From VBA? "Bob Barrows" <reb01501@NOyahooSPAM.com> - 2011-03-31 12:14 -0500
        Re: Getting To A "Chart" Object From VBA? "(PeteCresswell)" <x@y.Invalid> - 2011-03-31 13:27 -0400
  Re: Getting To A "Chart" Object From VBA? "David-W-Fenton" <NoEmail@SeeSignature.invalid> - 2011-04-01 19:58 +0000
    Re: Getting To A "Chart" Object From VBA? "(PeteCresswell)" <x@y.Invalid> - 2011-04-02 18:50 -0400
      Re: Getting To A "Chart" Object From VBA? "David-W-Fenton" <NoEmail@SeeSignature.invalid> - 2011-04-03 15:35 +0000

csiph-web