/
Supporting Prompt Views

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.

Related content

Supporting Prompt Views
Supporting Prompt Views
More like this
Identify the Data Source for the Wizard
Identify the Data Source for the Wizard
More like this
Consider Using an Entity Bulk Operation for Batch Processes
Consider Using an Entity Bulk Operation for Batch Processes
More like this
Consider Using an Entity Bulk Operation for Batch Processes
Consider Using an Entity Bulk Operation for Batch Processes
More like this
Configuring the Run Wizard Action Type
Configuring the Run Wizard Action Type
More like this
Creating a Text Prompt View
Creating a Text Prompt View
More like this

Copyright © 2014-2017 Aptify - Confidential and Proprietary