====== O4WTABox routine ====== ==== Description ==== Creates a "type ahead list box." ==== Syntax ==== O4WTABox(default, size, name, sourceType, Param1, Param2, Param3, Param4, param5, id, style) ==== Parameters ==== The function has the following parameters: ^Parameter^Description^ |default|The default value of the text in the list box.| |size|The width of the list box.| |name|The name of the type ahead box.| |sourceType|The source of the data to be placed into the list.\\ \\ 0 - The source of the data is explicit text.\\ 1 - The source of the data is a code file.\\ 2 - The source of the data is a code record.\\ 3 - The source of the data is returned from a subroutine.\\ 4 - The source of the data is a standard codes record.| |param1|Param1 should be valued based on sourceType.\\ \\ 0 - An @vm delimited list of display text.\\ 1 - The name of the code file.\\ 2 - The name of the code file.\\ 3 - The name of the stored procedure to execute.\\ 4 - The name of the standard code record to use.| |param2|Param2 should be valued based on sourceType.\\ \\ 0 - An @vm delimited list of codes.\\ 1 - The field number in each record that contains the value to display.\\ 2 - The name of the code record.\\ 3 - \\ 4 - | |param3|Param3 should be valued based on sourceType.\\ \\ 0 - \\ 1 - Sort criteria. If not specified, will sort by @ID.\\ 2 - The field number where the text to display is found.\\ 3 - \\ 4 - | |param4|Param4 should be valued based on sourceType.\\ \\ 0 - \\ 1 - Selection criteria. Explicit AND.\\ 2 - The field number in the record containing the codes.\\ 3 - \\ 4 - | |param5|Param5 should be valued based on sourceType.\\ \\ 0, 3 - \\ 1, 2, 4 - Contains the specification on how to match the input string.\\ Null - Use a case-insensitive match, returning any codes and text that contain the input string\\ 1 - Use a case-insensitive match, returning any codes and text that begin with the input string\\ -1 - Use a case-sensitive match, returning any codes and text that begin with the input string.| |id|If specified, the control can be addressed through style sheets individually.| |style|If specified, the style is applied to the text that is generated.\\ \\ Note that