20.01.2015 Views

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

Teach Yourself e.net - Syspro

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Example 10.26. Query.PreviousKey Method in ASP.NET VB<br />

codebehind<br />

'********************************************************<br />

'-- <strong>Syspro</strong>Previous does the actual call to the<br />

' previous Query.<br />

'********************************************************<br />

'Parameters:<br />

'Uid:- GUID returned by Logon<br />

'XmlIn:- The input xml to be used in query<br />

'********************************************************<br />

'Returns:- The XML returned by the Business Object.<br />

'********************************************************<br />

Function <strong>Syspro</strong>Previous(ByVal Uid As String, ByVal XmlIn \<br />

As String) As String<br />

Dim xmlOut As String<br />

Dim EncorePrev As New Encore.Query()<br />

xmlOut = EncorePrev.PreviousKey(Uid, XmlIn)<br />

Return xmlOut<br />

End Function<br />

10–38

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!