Has anyone out there written VB6.0 code to call ODBCApi functions? In specific, the PrimaryKeys() function. I have been unsuccessful in retrieving the results from this function call. I'm not sure if I am defining the parameters of this function as the correct VB6.0 data types. The only example I have of this ODBCApi function is written in Visual C++. HELP!!