InputDeliveryAddress(CustomerCode: String, Prompt: String[, Title: String, DefaultDeliveryCode: String, Filter: String, FilterButtonVisible: Boolean]): String
Displays a prompt in a dialog box, User can enter or select a valid Delivery Address for a Customer, and returns the Delivery Code.
Note, if User clicks OK or presses Enter InputDeliveryAddress function returns the Delivery Code. If User clicks Cancel or presses Esc, function returns Null.
InputDeliveryAddress function syntax has these named arguments:
Parameter |
Description |
Customer Code |
Required. The Customer Code to select the address for. |
Prompt |
Required. String expression displayed as the message in the dialog box. |
Title |
Optional. String expression displayed in the title bar of the dialog box. If you omit title, the application name is placed in the title bar. |
Default Delivery Code |
Optional. String expression with the default Delivery Code. If you omit Default Delivery Code, the control will display empty. |
Filter |
Optional. String containing a filter value to apply to delivery addresses available. |
Filter Button Visible |
Optional, defaults to False. Determines whether to display the Filter button. |
See also Scripted Form InputDeliveryAddress method.