MoneyWorks Manual
Edit
!--sphider_noindex-->
AutoFillAcctDeptField (windowRef, itemID, bWantDept)
Definition: Invokes an autocomplete dropdown in a text entry field. Pass true
for bWantDept to require a department code for departmentalised accounts.
Call this from an ItemHit
handler for an account code field.
Example:
on ItemHit:F_MYWINDOW:E_MYCODE(windowRef, itemID) AutoFillAcctDeptField(windowRef, itemID, true) end
Availability: available within MWScript handlers.
See Also:
AutoFillField: Apply auto-complete to a code edit field
CheckCodeField: Validate a code edit field
ValidateFieldWithValidationString: Programmatically apply a custom validation expression to a field