Public Function DumbSqlFormat(ValToFormat As Variant) As String
Format a variant for SQL based only on its type
Additional functions
Format a variant for SQL based only on its type
Execute the passed SQL as a passthrough query to the back end specified by the connection string. A passthrough query executes the SQL directly against the server without JET involvement.
Returns the last identity value created in this database (uses @@IDENTITY)
Checks for known bug with linked SQL Server tables involving (a) using the 'SQL Server' driver in the ODBC DSN, and (b) the presence of a varchar(MAX), nvarchar(MAX) or varbinary(MAX) column in the table. Optionally prints a message describing the condition and solutions.
Is the date valid and does it fit into the range of the MSSQL SmallDateTime type (1 Jan 1900 to 6 Jun 2079) ? Access allows dates from the year 100 to 9999.
Attempting to insert a valid date outside this range into a back end SmallDateTime column will throw an error.
Take a DSN-less ODBC connection string and convert it to an ADO connection string
Displays the errors in DBEngine.Errors (commonly used to retrieve a specific error from a connection to an MSSQL database after the 'ODBC Call Failed' error.
Like ODBCErrorDisplay but returns the text of the errors concatenated.
1 Chai 2 Chang 3 Aniseed Syrup 4 Chef Anton 's Cajun Seasoning 5 Chef Anton 's Gumbo Mix
Returns the values for the selected column from each row of the result set, as a delimited list
ProductID 2 ProductName Chang CategoryID 1