AccpacView.Read
Fetches the logical record indexed by the current contents of the view's key fields. This method ignores any filters set in Browse calls. If there are composite views, the caller is usually responsible for reading them in as well, although this varies by view.
Function Read() As Boolean
Return Value
Returns whether the record identified by the current key field values exists and is retrieved. If the record is not found, FALSE is returned.
Examples
The following example opens the rate type view CS0004 and retrieves
(reads) the rate type "SP".
Dim CSRATETYPS1 As AccpacCOMAPI.AccpacView
mDBLinkSysRW.OpenView "CS0004", CSRATETYPS1
CSRATETYPS1.Fields("RATETYPE").Value = "SP"
Dim Status as Boolean
Status = CSRATETYPS1.Read
If Status = False Then
Msgbox "The SP record does not exist."
Exit Sub
End If