Accessing a field in a view instead of a table


According to the Onject Explorer, this is the format for accessing the TotalGrossValue in the Quote Entry Form.

Dim [edvVarName] As EpiDataView = CType(oTrans.EpiDataViews("QuoteHed"), EpiDataView)
Dim [VarName] As Decimal = [edvVarName].dataView([edvVarName].Row)("TotalGrossValue")

Problem is, "TotalGrossValue" is a field in a view, instead of a table. So, I get a object reference not found error. I know there is a way to access data in a view.. does anyone remember how?


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