Ok..
Although it is "working" now it is not good to just catch and exception and
not handle it properly you may want, for stability sake to have someone
look at that and fix it.
*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>
*Quis custodiet ipsos custodes?*
Although it is "working" now it is not good to just catch and exception and
not handle it properly you may want, for stability sake to have someone
look at that and fix it.
*Jose C Gomez*
*Software Engineer*
*
*
*
*T: 904.469.1524 mobile
E: jose@...
http://www.josecgomez.com
<http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
<http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
<http://www.josecgomez.com/professional-resume/>
<http://www.josecgomez.com/feed/>
<http://www.usdoingstuff.com>
*Quis custodiet ipsos custodes?*
On Wed, Apr 3, 2013 at 8:42 AM, brenda mohr <brenda@...> wrote:
> **
>
>
> Unfortunately, I am not good enough at VB (yet) to know how to get to
> that. The majority of this code was stolen, googled and put together w/
> Paste & Prayer :D (I'm an old COBOL programmer) - But it is now working
> wonderfully and "The Powers That Be" are Happy :D
>
>
> Brenda
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Jose Gomez
> Sent: Wednesday, April 03, 2013 8:29 AM
> To: Vantage
> Subject: Re: [Vantage] Dashboard Closes On Button Click
>
> THanks... what was the exception?
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
> <http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez
> >
> <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
> <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
> <http://www.usdoingstuff.com>
>
> *Quis custodiet ipsos custodes?*
>
> On Wed, Apr 3, 2013 at 6:59 AM, brenda mohr <brenda@...> wrote:
>
> > **
>
> >
> >
> > Jose,
> >
> > YOU ARE A GENIUS :D
> >
> > Thank You,
> > Brenda
> >
> > -----Original Message-----
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
> > Behalf Of Jose Gomez
> > Sent: Tuesday, April 02, 2013 12:13 PM
> > To: Vantage
> > Subject: Re: [Vantage] Dashboard Closes On Button Click
> >
> > If its closing it usually means its throwing an Exception and you
> > aren't catching it Souround your WHOLE method with a Try Catch and see
> > if that does anything
> >
> > *Jose C Gomez*
> > *Software Engineer*
> > *
> > *
> > *
> > *T: 904.469.1524 mobile
> > E: jose@...
> > http://www.josecgomez.com
> > <http://www.linkedin.com/in/josecgomez>
> > <http://www.facebook.com/josegomez
> > >
> > <http://www.google.com/profiles/jose.gomez>
> > <http://www.twitter.com/joc85>
> > <http://www.josecgomez.com/professional-resume/>
> > <http://www.josecgomez.com/feed/>
> > <http://www.usdoingstuff.com>
> >
> > *Quis custodiet ipsos custodes?*
> >
> > On Tue, Apr 2, 2013 at 12:10 PM, brenda mohr <brenda@...> wrote:
> >
> > > **
> > >
> > >
> > > Thanks Ted, I changed the coding as you suggested. The Report
> > > Triggers, but the Dashboard still closes.
> > >
> > > Brenda
> > >
> > > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On
> > > Behalf Of Ted Koch
> > > Sent: Tuesday, April 02, 2013 10:56 AM
> > > To: vantage@yahoogroups.com
> > >
> > > Subject: Re: [Vantage] Dashboard Closes On Button Click
> > >
> > > You shouldn't be creating a new session if this is being run in
> > > Epicor, you already have a session. To get the current session use
> this.
> > >
> > > Dim objUD05 As New
> > > Epicor.Mfg.BO.UD05(MainController.Session.ConnectionPool)
> > >
> > > ________________________________
> > > From: brenda mohr <brenda@...<mailto:brenda%40humtown.com>>
> > > To: "vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> > > vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>>
> > >
> > > Sent: Tuesday, April 2, 2013 10:06 AM
> > > Subject: RE: [Vantage] Dashboard Closes On Button Click
> > >
> > > Just a thought.....
> > >
> > > I use the session "Brian" this is just a login that was quick so I
> > > could get this to work. That is not the login I use. Would that be
> > > causing it to close? If so how would I fix that for anyone who is
> > > using
> > the dashboard?
> > >
> > > Brenda
> > >
> > > From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> [mailto:
> > > vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf
> > > Of brenda mohr
> > >
> > > Sent: Tuesday, April 02, 2013 9:37 AM
> > > To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> > >
> > > Subject: RE: [Vantage] Dashboard Closes On Button Click
> > >
> > > Object Languages are not my Forte, so I may just have done or forgot
> > > something that to others may be novice. You can help :D
> > >
> > > Private Sub hbtnAutoComp_Click(ByVal sender As Object, ByVal args As
> > > System.EventArgs)
> > > 'MessageBox.Show("Some Day in the hopeful not so distant future, the
> > > Auto Complete report will run when you click this button.") Dim
> > > objSess As Epicor.Mfg.Core.Session
> > >
> > > objSess = New Epicor.Mfg.Core.Session("Brian", "Brian", "
> > > AppServerDC://HUMEPICOR:9401",
> > > Epicor.Mfg.Core.Session.LicenseType.Default)
> > >
> > > Dim objUD05 As New Epicor.Mfg.BO.UD05(objSess.ConnectionPool)
> > >
> > > Dim UD05ds as New Epicor.Mfg.BO.UD05Dataset ' dim id as string =
> > > Me.V_10_UnSubmitted_Labor_Rpt_1View_Row.CurrentDataRow.ItemArray(0)
> > > dim output as string
> > >
> > > try
> > > UD05ds = objUD05.getByID("Reports","","","","")
> > > UD05ds.UD05.Rows(0)("Checkbox01") = True
> > >
> > > objUD05 .Update(UD05ds)
> > > catch ex as exception
> > > Messagebox.show(ex.tostring)
> > > end try
> > >
> > > objSess.dispose()
> > >
> > > End Sub
> > >
> > > Private Sub CallUD05AdapterUpdateMethod() Try Dim adapterUD05 As
> > > UD05Adapter = New UD05Adapter (Me.oTrans)
> > > AdapterUD05.BOConnect()
> > >
> > > Dim result As Boolean = adapterUD05.Update
> > >
> > > adapterUD05.Dispose
> > >
> > > Catch ex As System.Exception
> > > ExceptionBox.Show(ex)
> > > End Try
> > >
> > > End Sub
> > >
> > > Brenda
> > >
> > > -----Original Message-----
> > > From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com
> ><mailto:
> > > vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:
> > > vantage%40yahoogroups.com><mailto:vantage%40yahoogroups.com>] On
> > > Behalf Of Jose Gomez
> > > Sent: Tuesday, April 02, 2013 9:18 AM
> > > To: Vantage
> > > Subject: Re: [Vantage] Dashboard Closes On Button Click
> > >
> > > Can you post your code behind the button?
> > >
> > > *Jose C Gomez*
> > > *Software Engineer*
> > > *
> > > *
> > > *
> > > *T: 904.469.1524 mobile
> > > E: jose@...<mailto:jose%40josecgomez.com><mailto:
> > > jose%40josecgomez.com>
> > > http://www.josecgomez.com
> > > <
> > > http://www.linkedin.com/in/josecgomezhttp://www.facebook.com/josegom
> > > ez
> > > http://www.google.com/profiles/jose.gomezhttp://www.twitter.com/joc8
> > > 5
> > > http://www.google.com/profiles/jose.gomezhttp:/www.twitter.com/joc85
> > > http://www.josecgomez.com/professional-resume/http://www.josecgomez.
> > > co
> > > m/feed/
> > > http://www.josecgomez.com/professional-resume/http:/www.josecgomez.c
>
> > > om
> > > /feed/
> >
> > > http://www.usdoingstuff.com>
> > >
> > > *Quis custodiet ipsos custodes?*
> > >
> > >
> > > On Tue, Apr 2, 2013 at 9:03 AM, brenda mohr <brenda@...
> <mailto:
> > > brenda%40humtown.com><mailto:brenda%40humtown.com>> wrote:
> > >
> > > > **
> > > >
> > > >
> > > > I have a simple Dashboard. One Query. One Button on the Tracker View.
> > > > The button writes to a record, which triggers a BPM, which creates
> > > > a
> > > report.
> > > > Problem is when the Button is Clicked, It works, but the dashboard
> > > closes.
> > > > I have posted this issue on the EPICOR group w/ no response. Am I
> > > > missing something simple? I'll send the code if needed, but I'm
> > > > not thinking it is the code as it does work per se.
> > > >
> > > > Brenda
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > > >
> > > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> > > must have already linked your email address to a yahoo id to enable
> access.
> > > )
> > > (1) To access the Files Section of our Yahoo!Group for Report
> > > Builder and Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > http://groups.yahoo.com/group/vantage/files/
> > > http://groups.yahoo.com/group/vantage/files/>
> > >
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > ------------------------------------
> > >
> > > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> > > must have already linked your email address to a yahoo id to enable
> access.
> > > )
> > > (1) To access the Files Section of our Yahoo!Group for Report
> > > Builder and Crystal Reports and other 'goodies', please goto:
> > > http://groups.yahoo.com/group/vantage/files/.
> > > http://groups.yahoo.com/group/vantage/files/>
> > > (2) To search through old msg's goto:
> > > http://groups.yahoo.com/group/vantage/messages
> > > (3) To view links to Vendors that provide Vantage services goto:
> > > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > > [Non-text portions of this message have been removed]
> > >
> > >
> > >
> >
> > [Non-text portions of this message have been removed]
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > have already linked your email address to a yahoo id to enable access.
> > )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder
> > and Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>
[Non-text portions of this message have been removed]