Purpose

.AutoComplete allows you to specify for certain objects whether a <Return> is to be automatically applied or the user must press <Return> to advance to the next field.
 

Syntax

ObjectReference.AutoComplete = Value
 

Operation

ObjectReference is the Tag Name of the object
Value
is
TRUE or 1 FALSE or 0
 

Remarks

The value of this property can only be set, not retrieved.

.AutoComplete can be used to specify whether a <Return> is automatically applied on either a change of content for a combo box, check box or radio group, or alternatively when the input field length is reached for an edit box.

If the value is FALSE, the user must press <Return> to advance to the next field.

The setting of the .AutoComplete property must be done outside of the iteration of a record. It needs to be done only once, and will continue to apply to the specified object until it is changed again in logic.
 

Example

To disable the .AutoComplete functionality of the CustomerName edit box. This field will then require the <Enter> key to go to the next field:

CustomerName.AutoComplete = FALSE


To set the .AutoComplete functionality of the AcknowledgeShipment check box so that toggling the check box state will automatically advance to the next field:

AcknowledgeShipment.AUTOCOMPLETE = TRUE


To set the .AutoComplete functionality of the CustomerNumber combo box so that it  automatically advances to the next field if a different CustomerNumber is selected:

CustomerNumber.AutoComplete = 1
 

Comment on this topic

Topic ID: 510035

 
 
 

Table of Contents

Index

Glossary

-Search-

Back