The FileReadNext function allows the client application to get the next available item id from a previously generated select. The select could be either an executed select or generated using the FileSelect function.
Namespace: rocketsoftware.MVSP
Assembly: RocketMVSP (in RocketMVSP.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function FileReadNext() As String |
C# |
---|
public string FileReadNext() |
C++ |
---|
public: String FileReadNext() sealed |
J# |
---|
public string FileReadNext() |
JScript |
---|
public function FileReadNext() : String |
Return Value
a string containing the next available itemid
Remarks
Sets the eol property to True when there are no more itemids available Copy Code
Dim returncode as boolean
Dim mvsp as new rocketsoftware.MVSP.Pick
Dim itemid as string
returncode = mvsp.Connect("localhost",9000,"dm","")
If returncode = True then
returncode = mvsp.Logto("MVDEMO","")
If returncode = True then
returncode = mvsp.FileSelect("CUSTOMERS")
While mvsp.eol = False
itemid = mvsp.FileReadNext()
Debug.print itemid
End While
End if
End if
returncode = mvsp.CloseConnection()