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-2017 Aptify - Confidential and Proprietary