DLG_MAINTOPT Dialog Component

Purpose

The DLG_MAINTOPT dialog component selects an administrative maintenance operation to run. The options include:

[Picture]

Description

The DLG_MAINTOPT dialog component contains three radio buttons and two buttons.

Containers

ASWMAINTOPT.A5W

Notable Grid Control Property Settings

Control

Property

Description

options

Control Settings > Control type

Set to "RadioButton"

Control Settings > Validation rules

General > Enable rules set to TRUE.

General > Require value set to TRUE.

RadioButton Properties > Choices

Define Choices > List type is set to "Static".

Define Choices > Choices is set to:

Clear Empty Carts|cart

Pack Tables|pack

Re-Index Tables|reindex

Notable Component Property Settings

Property

Description

Submit/Reset Buttons > Submit button label

Changed from "Submit" to "Run"

Submit/Reset Buttons > Reset button label

Changed from "Reset" to "Cancel"

Event Code

This AfterValidate event code calls the ASWPROCESSING.A5W page and passes the value selected in the opt argument.

CurrentForm.RedirectTarget = "aswprocessing.a5w?opt="+alltrim(CurrentForm.Controls.Options)

See Also

Web Publishing Components

Supported By

Alpha Five Version 7 and Above