From: hotplate on 3 May 2010 07:33 This code worked great when using Access 2003 but when we switched to 2007, it stopped working. Any suggestions? better way of doing this? Library needs loading? I don't even get an error, it just does not update it anymore. Private Sub Graph0_Updated(Code As Integer) Me.Graph0.charttitle.Text = [Forms]![frmreports].[Commodity] & " Year to Date PPM" End Sub
From: Tom van Stiphout on 3 May 2010 09:57 On Mon, 3 May 2010 04:33:23 -0700 (PDT), hotplate <hotplate74(a)gmail.com> wrote: What happens when you set a breakpoint here? My guess is it does not fire, proving the code never executes. If that is indeed so, the VBA code may have become "disconnected" from its event. Design the object, select the graph, select the Updated event and click on the ... button on the far right. -Tom. Microsoft Access MVP >This code worked great when using Access 2003 but when we switched to >2007, it stopped working. Any suggestions? better way of doing this? >Library needs loading? > >I don't even get an error, it just does not update it anymore. > >Private Sub Graph0_Updated(Code As Integer) >Me.Graph0.charttitle.Text = [Forms]![frmreports].[Commodity] & " Year >to Date PPM" >End Sub
From: hotplate on 3 May 2010 11:43 It is not disconnected. I go straight to the code when pressing the ... It still does not update. On May 3, 9:57 am, Tom van Stiphout <tom7744.no.s...(a)cox.net> wrote: > On Mon, 3 May 2010 04:33:23 -0700 (PDT), hotplate > > <hotplat...(a)gmail.com> wrote: > > What happens when you set a breakpoint here? > My guess is it does not fire, proving the code never executes. If that > is indeed so, the VBA code may have become "disconnected" from its > event. Design the object, select the graph, select the Updated event > and click on the ... button on the far right. > > -Tom. > Microsoft Access MVP > > > > >This code worked great when using Access 2003 but when we switched to > >2007, it stopped working. Any suggestions? better way of doing this? > >Library needs loading? > > >I don't even get an error, it just does not update it anymore. > > >Private Sub Graph0_Updated(Code As Integer) > >Me.Graph0.charttitle.Text = [Forms]![frmreports].[Commodity] & " Year > >to Date PPM" > >End Sub- Hide quoted text - > > - Show quoted text -
From: Tom van Stiphout on 3 May 2010 22:12 On Mon, 3 May 2010 08:43:03 -0700 (PDT), hotplate <hotplate74(a)gmail.com> wrote: What about the breakpoint I suggested? -Tom. Microsoft Access MVP >It is not disconnected. I go straight to the code when pressing >the ... > >It still does not update. > > >On May 3, 9:57�am, Tom van Stiphout <tom7744.no.s...(a)cox.net> wrote: >> On Mon, 3 May 2010 04:33:23 -0700 (PDT), hotplate >> >> <hotplat...(a)gmail.com> wrote: >> >> What happens when you set a breakpoint here? >> My guess is it does not fire, proving the code never executes. If that >> is indeed so, the VBA code may have become "disconnected" from its >> event. Design the object, select the graph, select the Updated event >> and click on the ... button on the far right. >> >> -Tom. >> Microsoft Access MVP >> >> >> >> >This code worked great when using Access 2003 but when we switched to >> >2007, it stopped working. �Any suggestions? better way of doing this? >> >Library needs loading? >> >> >I don't even get an error, it just does not update it anymore. >> >> >Private Sub Graph0_Updated(Code As Integer) >> >Me.Graph0.charttitle.Text = [Forms]![frmreports].[Commodity] & " Year >> >to Date PPM" >> >End Sub- Hide quoted text - >> >> - Show quoted text -
From: hotplate on 5 May 2010 07:48 Nothing happend, it never stopped. On May 3, 10:12 pm, Tom van Stiphout <tom7744.no.s...(a)cox.net> wrote: > On Mon, 3 May 2010 08:43:03 -0700 (PDT), hotplate > > <hotplat...(a)gmail.com> wrote: > > What about the breakpoint I suggested? > > -Tom. > Microsoft Access MVP > > > > >It is not disconnected. I go straight to the code when pressing > >the ... > > >It still does not update. > > >On May 3, 9:57 am, Tom van Stiphout <tom7744.no.s...(a)cox.net> wrote: > >> On Mon, 3 May 2010 04:33:23 -0700 (PDT), hotplate > > >> <hotplat...(a)gmail.com> wrote: > > >> What happens when you set a breakpoint here? > >> My guess is it does not fire, proving the code never executes. If that > >> is indeed so, the VBA code may have become "disconnected" from its > >> event. Design the object, select the graph, select the Updated event > >> and click on the ... button on the far right. > > >> -Tom. > >> Microsoft Access MVP > > >> >This code worked great when using Access 2003 but when we switched to > >> >2007, it stopped working. Any suggestions? better way of doing this? > >> >Library needs loading? > > >> >I don't even get an error, it just does not update it anymore. > > >> >Private Sub Graph0_Updated(Code As Integer) > >> >Me.Graph0.charttitle.Text = [Forms]![frmreports].[Commodity] & " Year > >> >to Date PPM" > >> >End Sub- Hide quoted text - > > >> - Show quoted text -- Hide quoted text - > > - Show quoted text -
|
Next
|
Last
Pages: 1 2 Prev: Delete not working in Access 2007 Next: Modifying the template Northwind 2007 |