Using Table-Valued Parameters
Posted: Mon 10 Sep 2012 18:34
Hello:
I'm testing the type parameters table. Use the example in the documentation, but when I run it generates an exception.
I am working with the trial version of SDAC is the 6.2.8 for Delphi 2010
The error that sent me is: "Invalid class typecast"
I followed the following steps:
1. Create DeptTableType defined type.
2. Then the table DEPT
3. The following stored procedure: SP_InsertDept
4. Then in Delphi paste the necessary components: MSConnection, MSTableData and MSStoredProc.
5. Copy and paste the code in the example.
I do not know what happens.
I'm testing the type parameters table. Use the example in the documentation, but when I run it generates an exception.
I am working with the trial version of SDAC is the 6.2.8 for Delphi 2010
The error that sent me is: "Invalid class typecast"
I followed the following steps:
1. Create DeptTableType defined type.
2. Then the table DEPT
3. The following stored procedure: SP_InsertDept
4. Then in Delphi paste the necessary components: MSConnection, MSTableData and MSStoredProc.
5. Copy and paste the code in the example.
I do not know what happens.