Have not tested these calls, but perhaps otrans.refresh() or
otrans.clear()
--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...>
wrote:
displayed in the EpiView List tab on the UD form. After the data has
been deleted, how can I clear the list/tree view? In other words,
the data has been deleted from the UD table but is still being
displayed on the form, I want to clear the form after the data has
been deleted.
otrans.clear()
--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...>
wrote:
>question and I'll stop bugging you. My code deletes all data
> That worked great. Thanks. You saved me a lot of work. One last
displayed in the EpiView List tab on the UD form. After the data has
been deleted, how can I clear the list/tree view? In other words,
the data has been deleted from the UD table but is still being
displayed on the form, I want to clear the form after the data has
been deleted.
>add
>
>
>
> ________________________________
> From: bw2868bond <bwalker@...>
> To: vantage@yahoogroups.com
> Sent: Thursday, December 11, 2008 3:23:58 PM
> Subject: [Vantage] Re: Delete all from list in UD form
>
>
> With the Customization Tools Dialog Window open, Click on Tools -
> Assembly Reference Manager. When that window opens, click on the
> assembly button. Browse and add The ...AD.UD02.. .and ...IF.IUD02. ..
> assembly dll files.defined.
>
> Save and reopen, try again
>
> --- In vantage@yahoogroups .com, Steven Gotschall <sgotschall@ ...>
> wrote:
> >
> > I'm having a little problem with the code. I get
> > Error: BC30002 - line 146 (232) - Type 'UD02Adapter' is not
> > I'm working on the UD02 table of coursework:
> >
> > Â
> >
> > ____________ _________ _________ __
> > From: bw2868bond <bwalker@ >
> > To: vantage@yahoogroups .com
> > Sent: Thursday, December 11, 2008 10:16:11 AM
> > Subject: [Vantage] Re: Delete all from list in UD form
> >
> >
> > Well, if you have your list data in a dataset then this would
> >the
> > This is for UD20, but just change to whatever table you need
> > call the sub and pass it the dataset or incorporate into a button
> click
> > or whatever - this is merely for concept :o)
> >
> > Private Sub deleteUD20Records( dsUD20 As DataSet)
> > Dim adUD20 As UD20Adapter = New UD20Adapter( UD20Form)
> > adUD20.BOConnect( )
> > For Each dr As DataRow In dsUD20.Tables( 0).Rows
> > Dim deleted As Boolean = adUD20.DeleteByID( dr("Key1" ),dr
> > ("Key2"),dr( "Key3"),dr( "Key4"),dr( "Key5"))
> > Next
> > adUD20.Dispose( )
> > End Sub
> >
> > --- In vantage@yahoogroups .com, "sgotschall" <sgotschall@ ...>
> wrote:
> > >
> > > Vantage 8.03.406A
> > >
> > > Does anyone have some customization code to delete items from
> > listrecords
> > > view on a UD table? We have some special pricing information in
> UD
> > > tables, and I would like to be able to call up a list of
> fromfrom
> > > the table, export them to Excel, then delete the entire list
> thecan
> > > UD table. After making updates to the information in Excel, I
> > thenpresents
> > > do a paste insert to put them back into the table. Otherwise, I
> have
> > > to delete them one at a time or use a paste update which
> its
> > > own list of problems.
> > >
> >
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>