Vantage VB.Net - Access the data set for a form

Hello,



I am creating a customization for the Receipt Entry form.

From all the examples I have read, if I want to access the vaule in a
field for the dataset for this form I would have to do something like:



Dim edvRcvDtl As EpiDataView = CType(oTrans.EpiDataViews("RcvDtl"),
EpiDataView)

Dim dOurUnitCost As Decimal =
edvRcvDtl.dataView(edvRcvDtl.Row)("OurUnitCost")



This example work perfectly but it seem a bit much to have to create a
new EpiDataView to access the existing data set.

With that said, I am still in the learning curve from VB6 to VB.Net so
it maybe that I am missing something.



Is there a more direct/simpler way to access the data set for a form or
is the above example the way it is done?



Thanks,

Joe Rojas

IT Manager

TNCO, Inc.

781-447-6661 x7506

jrojas@...



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