100A Child Update

This works perfectly. Thank you so much!!!

Ross

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
erwinjw
Sent: Thursday, July 02, 2009 10:30 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: 100A Child Update

Try wrapping the updates in BeginEdit() and EndEdit() before you call the
oTrans.Update()

Private Sub btnEpiCustom4_Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnEpiCustom4.Click
'// ** Place Event Handling Code Here **
if edvUD08.dataView(edvUD08.Row)("CheckBox11") = false then
edvUD08.dataview(edvUD08.Row).BeginEdit()
edvUD08.dataView(edvUD08.Row)("CheckBox11") = true
edvUD08.dataView(edvUD08.Row)("Number01") = 9999
edvUD08.dataview(edvUD08.Row).EndEdit()
oTrans.Update()
end if
End Sub


erwin

--- In vantage@yahoogroups.com, "Ross Hughes" <ross.hughes@...> wrote:
>
> I am trying to update the current child record on button click in a custom
> UD100/UD100A module and it isn't saving...unless...I click to a different
> child record and back. The tracer says this calls the UPDATE method.
>
>
>
> When I press save it gets rid of the information. This approach works on
> the parent record.
>
>
>
> Does anyone know what else the following code needs to accomplish this?
>
>
>
> '--------------------------------------------
>
> Private Sub btnAddParent_Click(ByVal Sender As Object, ByVal Args As
> System.EventArgs) Handles btnAddParent.Click
>
> '// ** Place Event Handling Code Here **
>
> 'Add the Parent data from combo box to the database
>
> If ucbMatOp1.Value.ToString() <> "" Then
>
> Dim edvParent As EpiDataView =
> CType(oTrans.EpiDataViews("UD100A"), EpiDataView)
>
> edvParent.dataView(edvParent.Row)("ShortChar01") =
> ucbMatOp1.Value
>
> edvParent.dataView(edvParent.Row)("Character01") =
> txtMatOpDesc1.Text
>
> edvParent.Notify( New EpiNotifyArgs(oTrans, edvParent.Row,
> edvParent.Column) )
>
> End If
>
> End Sub
>
> '--------------------------------------------
>
>
>
> Thanks,
>
> Ross
>
>
>
> [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
I am trying to update the current child record on button click in a custom
UD100/UD100A module and it isn't saving...unless...I click to a different
child record and back. The tracer says this calls the UPDATE method.



When I press save it gets rid of the information. This approach works on
the parent record.



Does anyone know what else the following code needs to accomplish this?



'--------------------------------------------

Private Sub btnAddParent_Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnAddParent.Click

'// ** Place Event Handling Code Here **

'Add the Parent data from combo box to the database

If ucbMatOp1.Value.ToString() <> "" Then

Dim edvParent As EpiDataView =
CType(oTrans.EpiDataViews("UD100A"), EpiDataView)

edvParent.dataView(edvParent.Row)("ShortChar01") =
ucbMatOp1.Value

edvParent.dataView(edvParent.Row)("Character01") =
txtMatOpDesc1.Text

edvParent.Notify( New EpiNotifyArgs(oTrans, edvParent.Row,
edvParent.Column) )

End If

End Sub

'--------------------------------------------



Thanks,

Ross



[Non-text portions of this message have been removed]
Try inserting:

otrans.update()

after your

edvParent.dataView( edvParent. Row)("Character0 1") =
>txtMatOpDesc1. Text

statement.

Just out of curiousity, what are you trying to accomplish with the

edvParent.Notify( New EpiNotifyArgs( oTrans, edvParent.Row,
edvParent.Column) )

statement? If that is just extraneous code, it may be the source of your problem with pressing save wiping out your entry.

Â



________________________________
From: Ross Hughes <ross.hughes@...>
To: vantage@yahoogroups.com
Sent: Wednesday, July 1, 2009 12:09:34 PM
Subject: [Vantage] 100A Child Update





I am trying to update the current child record on button click in a custom
UD100/UD100A module and it isn't saving...unless. ..I click to a different
child record and back. The tracer says this calls the UPDATE method.

When I press save it gets rid of the information. This approach works on
the parent record.

Does anyone know what else the following code needs to accomplish this?

'----------- --------- --------- --------- ------

Private Sub btnAddParent_ Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnAddParent. Click

'// ** Place Event Handling Code Here **

'Add the Parent data from combo box to the database

If ucbMatOp1.Value. ToString( ) <> "" Then

Dim edvParent As EpiDataView =
CType(oTrans. EpiDataViews( "UD100A") , EpiDataView)

edvParent.dataView( edvParent. Row)("ShortChar0 1") =
ucbMatOp1.Value

edvParent.dataView( edvParent. Row)("Character0 1") =
txtMatOpDesc1. Text

edvParent.Notify( New EpiNotifyArgs( oTrans, edvParent.Row,
edvParent.Column) )

End If

End Sub

'----------- --------- --------- --------- ------

Thanks,

Ross

[Non-text portions of this message have been removed]







[Non-text portions of this message have been removed]
Rob,

That did it. Thanks a lot.

I thought the code in question was helping notify the screen that edits had
been made. It was really the by-product of working through an earlier
customization and I thought that made a difference. I see now that it is
unnecessary. Thank you very much for the pointer.

Ross


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Robert Brown
Sent: Wednesday, July 01, 2009 12:07 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] 100A Child Update

Try inserting:

otrans.update()

after your

edvParent.dataView( edvParent. Row)("Character0 1") =
>txtMatOpDesc1. Text

statement.

Just out of curiousity, what are you trying to accomplish with the

edvParent.Notify( New EpiNotifyArgs( oTrans, edvParent.Row,
edvParent.Column) )

statement? If that is just extraneous code, it may be the source of your
problem with pressing save wiping out your entry.

Â



________________________________
From: Ross Hughes <ross.hughes@...>
To: vantage@yahoogroups.com
Sent: Wednesday, July 1, 2009 12:09:34 PM
Subject: [Vantage] 100A Child Update





I am trying to update the current child record on button click in a custom
UD100/UD100A module and it isn't saving...unless. ..I click to a different
child record and back. The tracer says this calls the UPDATE method.

When I press save it gets rid of the information. This approach works on
the parent record.

Does anyone know what else the following code needs to accomplish this?

'----------- --------- --------- --------- ------

Private Sub btnAddParent_ Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnAddParent. Click

'// ** Place Event Handling Code Here **

'Add the Parent data from combo box to the database

If ucbMatOp1.Value. ToString( ) <> "" Then

Dim edvParent As EpiDataView =
CType(oTrans. EpiDataViews( "UD100A") , EpiDataView)

edvParent.dataView( edvParent. Row)("ShortChar0 1") =
ucbMatOp1.Value

edvParent.dataView( edvParent. Row)("Character0 1") =
txtMatOpDesc1. Text

edvParent.Notify( New EpiNotifyArgs( oTrans, edvParent.Row,
edvParent.Column) )

End If

End Sub

'----------- --------- --------- --------- ------

Thanks,

Ross

[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
I thought it worked, but it still does not.

Now the data will not disappear when it is saved but if you press refresh
after you press save the data disappears.

Here is where I am at:

Private Sub btnAddParent_Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnAddParent.Click
'// ** Place Event Handling Code Here **
'Add the Parent data from combo box to the database
If ucbMatOp1.Value.ToString() <> "" Then
Dim edvParent As EpiDataView =
CType(oTrans.EpiDataViews(“UD100A”), EpiDataView)
edvParent.dataView(edvParent.Row)(“ShortChar01”) =
ucbMatOp1.Value
edvParent.dataView(edvParent.Row)(“Character01”) =
txtMatOpDesc1.Text
oTrans.Update()
End If
End Sub

Any other ideas?

Ross

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Ross Hughes
Sent: Wednesday, July 01, 2009 1:38 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] 100A Child Update

Rob,

That did it. Thanks a lot.

I thought the code in question was helping notify the screen that edits had
been made. It was really the by-product of working through an earlier
customization and I thought that made a difference. I see now that it is
unnecessary. Thank you very much for the pointer.

Ross


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Robert Brown
Sent: Wednesday, July 01, 2009 12:07 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] 100A Child Update

Try inserting:

otrans.update()

after your

edvParent.dataView( edvParent. Row)("Character0 1") =
>txtMatOpDesc1. Text

statement.

Just out of curiousity, what are you trying to accomplish with the

edvParent.Notify( New EpiNotifyArgs( oTrans, edvParent.Row,
edvParent.Column) )

statement? If that is just extraneous code, it may be the source of your
problem with pressing save wiping out your entry.

Â



________________________________
From: Ross Hughes <ross.hughes@...>
To: vantage@yahoogroups.com
Sent: Wednesday, July 1, 2009 12:09:34 PM
Subject: [Vantage] 100A Child Update





I am trying to update the current child record on button click in a custom
UD100/UD100A module and it isn't saving...unless. ..I click to a different
child record and back. The tracer says this calls the UPDATE method.

When I press save it gets rid of the information. This approach works on
the parent record.

Does anyone know what else the following code needs to accomplish this?

'----------- --------- --------- --------- ------

Private Sub btnAddParent_ Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnAddParent. Click

'// ** Place Event Handling Code Here **

'Add the Parent data from combo box to the database

If ucbMatOp1.Value. ToString( ) <> "" Then

Dim edvParent As EpiDataView =
CType(oTrans. EpiDataViews( "UD100A") , EpiDataView)

edvParent.dataView( edvParent. Row)("ShortChar0 1") =
ucbMatOp1.Value

edvParent.dataView( edvParent. Row)("Character0 1") =
txtMatOpDesc1. Text

edvParent.Notify( New EpiNotifyArgs( oTrans, edvParent.Row,
edvParent.Column) )

End If

End Sub

'----------- --------- --------- --------- ------

Thanks,

Ross

[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





------------------------------------

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
Ross:



I'm having the exact same issue as you except with the UD04 table. Are
you displaying your child data in an ultragrid? If so, that appears to
be the problem. If I add records and don't show the ultragrid, it
works perfectly, I check the data stored in UD04 and what should be
there is. If I add in an editable ultragrid I have an issue. I'm going
to try adding the grid as a FKV and see if that makes a difference.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Ross Hughes
Sent: Thursday, July 02, 2009 12:24 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] 100A Child Update








I thought it worked, but it still does not.

Now the data will not disappear when it is saved but if you press
refresh
after you press save the data disappears.

Here is where I am at:

Private Sub btnAddParent_Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnAddParent.Click
'// ** Place Event Handling Code Here **
'Add the Parent data from combo box to the database
If ucbMatOp1.Value.ToString() <> "" Then
Dim edvParent As EpiDataView =
CType(oTrans.EpiDataViews("UD100A"), EpiDataView)
edvParent.dataView(edvParent.Row)("ShortChar01") =
ucbMatOp1.Value
edvParent.dataView(edvParent.Row)("Character01") =
txtMatOpDesc1.Text
oTrans.Update()
End If
End Sub

Any other ideas?

Ross












Alison Levy | IT Manager | Mats Inc.
dir: 781-573-0291 | cell: 781-964-1698 | fax: 781-232-5191
alevy@... | www.matsinc.com Ask us about our clean, green and beautiful matting and flooring


This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.



-----Original Message-----

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of
Ross Hughes
Sent: Wednesday, July 01, 2009 1:38 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] 100A Child Update

Rob,

That did it. Thanks a lot.

I thought the code in question was helping notify the screen that edits
had
been made. It was really the by-product of working through an earlier
customization and I thought that made a difference. I see now that it is
unnecessary. Thank you very much for the pointer.

Ross

-----Original Message-----
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of
Robert Brown
Sent: Wednesday, July 01, 2009 12:07 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: Re: [Vantage] 100A Child Update

Try inserting:

otrans.update()

after your

edvParent.dataView( edvParent. Row)("Character0 1") =
>txtMatOpDesc1. Text

statement.

Just out of curiousity, what are you trying to accomplish with the

edvParent.Notify( New EpiNotifyArgs( oTrans, edvParent.Row,
edvParent.Column) )

statement? If that is just extraneous code, it may be the source of your
problem with pressing save wiping out your entry.



________________________________
From: Ross Hughes <ross.hughes@...
<mailto:ross.hughes%40comcast.net> >
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Sent: Wednesday, July 1, 2009 12:09:34 PM
Subject: [Vantage] 100A Child Update

I am trying to update the current child record on button click in a
custom
UD100/UD100A module and it isn't saving...unless. ..I click to a
different
child record and back. The tracer says this calls the UPDATE method.

When I press save it gets rid of the information. This approach works on
the parent record.

Does anyone know what else the following code needs to accomplish this?

'----------- --------- --------- --------- ------

Private Sub btnAddParent_ Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnAddParent. Click

'// ** Place Event Handling Code Here **

'Add the Parent data from combo box to the database

If ucbMatOp1.Value. ToString( ) <> "" Then

Dim edvParent As EpiDataView =
CType(oTrans. EpiDataViews( "UD100A") , EpiDataView)

edvParent.dataView( edvParent. Row)("ShortChar0 1") =
ucbMatOp1.Value

edvParent.dataView( edvParent. Row)("Character0 1") =
txtMatOpDesc1. Text

edvParent.Notify( New EpiNotifyArgs( oTrans, edvParent.Row,
edvParent.Column) )

End If

End Sub

'----------- --------- --------- --------- ------

Thanks,

Ross

[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/>
(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

------------------------------------

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]
That's interesting. There must be something else required with the
connected control. Maybe a different way to manage the data update.

In my case it is a simple transfer from a conditional drop-down box to a
field bound to a text box.

This works OK in, say, Part Maintenance.

If I find a solution I will post it.

Thanks,
Ross


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Alison Levy
Sent: Thursday, July 02, 2009 9:47 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] 100A Child Update

Ross:



I'm having the exact same issue as you except with the UD04 table. Are
you displaying your child data in an ultragrid? If so, that appears to
be the problem. If I add records and don't show the ultragrid, it
works perfectly, I check the data stored in UD04 and what should be
there is. If I add in an editable ultragrid I have an issue. I'm going
to try adding the grid as a FKV and see if that makes a difference.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Ross Hughes
Sent: Thursday, July 02, 2009 12:24 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] 100A Child Update








I thought it worked, but it still does not.

Now the data will not disappear when it is saved but if you press
refresh
after you press save the data disappears.

Here is where I am at:

Private Sub btnAddParent_Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnAddParent.Click
'// ** Place Event Handling Code Here **
'Add the Parent data from combo box to the database
If ucbMatOp1.Value.ToString() <> "" Then
Dim edvParent As EpiDataView =
CType(oTrans.EpiDataViews("UD100A"), EpiDataView)
edvParent.dataView(edvParent.Row)("ShortChar01") =
ucbMatOp1.Value
edvParent.dataView(edvParent.Row)("Character01") =
txtMatOpDesc1.Text
oTrans.Update()
End If
End Sub

Any other ideas?

Ross












Alison Levy | IT Manager | Mats Inc.
dir: 781-573-0291 | cell: 781-964-1698 | fax: 781-232-5191
alevy@... | www.matsinc.com Ask us about our clean, green and
beautiful matting and flooring


This message is intended only for the individual named. If you are not the
named addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake. Please note that any views or opinions presented in this
email are solely those of the author and do not necessarily represent those
of the company.



-----Original Message-----

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of
Ross Hughes
Sent: Wednesday, July 01, 2009 1:38 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] 100A Child Update

Rob,

That did it. Thanks a lot.

I thought the code in question was helping notify the screen that edits
had
been made. It was really the by-product of working through an earlier
customization and I thought that made a difference. I see now that it is
unnecessary. Thank you very much for the pointer.

Ross

-----Original Message-----
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of
Robert Brown
Sent: Wednesday, July 01, 2009 12:07 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: Re: [Vantage] 100A Child Update

Try inserting:

otrans.update()

after your

edvParent.dataView( edvParent. Row)("Character0 1") =
>txtMatOpDesc1. Text

statement.

Just out of curiousity, what are you trying to accomplish with the

edvParent.Notify( New EpiNotifyArgs( oTrans, edvParent.Row,
edvParent.Column) )

statement? If that is just extraneous code, it may be the source of your
problem with pressing save wiping out your entry.



________________________________
From: Ross Hughes <ross.hughes@...
<mailto:ross.hughes%40comcast.net> >
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Sent: Wednesday, July 1, 2009 12:09:34 PM
Subject: [Vantage] 100A Child Update

I am trying to update the current child record on button click in a
custom
UD100/UD100A module and it isn't saving...unless. ..I click to a
different
child record and back. The tracer says this calls the UPDATE method.

When I press save it gets rid of the information. This approach works on
the parent record.

Does anyone know what else the following code needs to accomplish this?

'----------- --------- --------- --------- ------

Private Sub btnAddParent_ Click(ByVal Sender As Object, ByVal Args As
System.EventArgs) Handles btnAddParent. Click

'// ** Place Event Handling Code Here **

'Add the Parent data from combo box to the database

If ucbMatOp1.Value. ToString( ) <> "" Then

Dim edvParent As EpiDataView =
CType(oTrans. EpiDataViews( "UD100A") , EpiDataView)

edvParent.dataView( edvParent. Row)("ShortChar0 1") =
ucbMatOp1.Value

edvParent.dataView( edvParent. Row)("Character0 1") =
txtMatOpDesc1. Text

edvParent.Notify( New EpiNotifyArgs( oTrans, edvParent.Row,
edvParent.Column) )

End If

End Sub

'----------- --------- --------- --------- ------

Thanks,

Ross

[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/>
(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

------------------------------------

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]



------------------------------------

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
Try wrapping the updates in BeginEdit() and EndEdit() before you call the oTrans.Update()

Private Sub btnEpiCustom4_Click(ByVal Sender As Object, ByVal Args As System.EventArgs) Handles btnEpiCustom4.Click
'// ** Place Event Handling Code Here **
if edvUD08.dataView(edvUD08.Row)("CheckBox11") = false then
edvUD08.dataview(edvUD08.Row).BeginEdit()
edvUD08.dataView(edvUD08.Row)("CheckBox11") = true
edvUD08.dataView(edvUD08.Row)("Number01") = 9999
edvUD08.dataview(edvUD08.Row).EndEdit()
oTrans.Update()
end if
End Sub


erwin

--- In vantage@yahoogroups.com, "Ross Hughes" <ross.hughes@...> wrote:
>
> I am trying to update the current child record on button click in a custom
> UD100/UD100A module and it isn't saving...unless...I click to a different
> child record and back. The tracer says this calls the UPDATE method.
>
>
>
> When I press save it gets rid of the information. This approach works on
> the parent record.
>
>
>
> Does anyone know what else the following code needs to accomplish this?
>
>
>
> '--------------------------------------------
>
> Private Sub btnAddParent_Click(ByVal Sender As Object, ByVal Args As
> System.EventArgs) Handles btnAddParent.Click
>
> '// ** Place Event Handling Code Here **
>
> 'Add the Parent data from combo box to the database
>
> If ucbMatOp1.Value.ToString() <> "" Then
>
> Dim edvParent As EpiDataView =
> CType(oTrans.EpiDataViews("UD100A"), EpiDataView)
>
> edvParent.dataView(edvParent.Row)("ShortChar01") =
> ucbMatOp1.Value
>
> edvParent.dataView(edvParent.Row)("Character01") =
> txtMatOpDesc1.Text
>
> edvParent.Notify( New EpiNotifyArgs(oTrans, edvParent.Row,
> edvParent.Column) )
>
> End If
>
> End Sub
>
> '--------------------------------------------
>
>
>
> Thanks,
>
> Ross
>
>
>
> [Non-text portions of this message have been removed]
>