ValidateObjectID method: UTILITY class
Syntax
ValidateObjectID(ID)
Description
Use this method to check whether the specified ID (connected query ID or run control ID) contains special characters. Valid characters for IDs include A-Z, 0–9, and _.
Parameters
| Parameter | Description |
|---|---|
|
ID |
Specifies the ID to be validated as a string. |
Returns
An empty string if the validation was successful; otherwise, an error string.