If you have a comment on this topic, contact Aptify Documentation. If you want to return to the Aptify Community Site, please click here.

Supporting Prompt Views

If you want a batch processing wizard to operate on a set of records returned by a prompt view with the current user input, then your wizard's DoAction function should include the following code to support results from a prompt view:

If m_oApp.Command.Parameters.IndexOf("ViewSQL") < 0 Then
   sViewSQL = m_oApp.View(lViewID).ViewSQL
Else
   sViewSQL = m_oApp.Command.Parameters.Item("ViewSQL").ToString()
End If 

 

Note that in the above code sample, m_oApp is a reference to the current instance of the Application Object.

Copyright © 2014-2019 Aptify - Confidential and Proprietary