Offset | Name | Size | Contents |
4 | wTypeSql | 2 | Used for ODBC queries; the parameter SQL type |
6 | grbit | 2 | Option flags; see following table |
8 | fVal | 2 | A true/false value if pbt = 2 and the parameter is a Boolean |
10 | rgb | var | (See text) |
Bits | Mask | Name | Contents | |
1 – 0 | 0003h | pbt | Parameter binding type: = 0 Prompt type (for example, "Please enter a date") = 1 Fixed value type (for example, 10, "MSFT", 01/06/97, and so on) = 2 Reference type (for example, "=Sheet2!$A$5") | |
2 | 0004h | fAuto | = 1 for automatic parameters | |
3 | 0008h | fNonDefaultName | = 0 then program prompts for the name | |
15 – 4 | FFF0h | Reserved | Reserved; must be 0 (zero) |