Hy All,
I didn't know where to put this thread o I hope this topic is ok
I have Avaya IPOffice and Voicemail Pro 9.1.8 running on Windows (not yet an SQL thing but I'm just getting started )
For you who don't know the products above, I have a PBX and a Windows Serveice that allows me to integrate PBX with a database - i am testing an IVR sistem where the client calls, inputs a n ID , it is being searched in the database and then it does a querry based on another input.
I have tested with .mdb, .accdb and with SQL server and it works.
I also notice that VoicemailPro on Winodws allows me to use Microsoft OLE DB Provider ODBC Driver so I want to use a .csv or .xls file instead of a database.
I have created a DataSource under ODBC Data SOurce Admin (32-bit) -> System DSN -> Driver to Microsoft Excel.
And now I am doing a querry:
Select NrAb,IVechi
From [Sheet1$]
WHERE (NrAB= '$KEY');
$KEY - is the input value
The error I get is this :
07/10 10:28:29.774 vmprov5s (17,2) 65c, 6a0: Database Error: TmodClrObjects:vtExecute[721]: Failed to "execute the query "Select NrAb,IVechi
From [Sheet1$]
WHERE (NrAB= '123');"", error -2147217913 [0x80040e07] - [Microsoft][ODBC Excel Driver] Data type mismatch in criteria expression. [source=Microsoft OLE DB Provider for ODBC Drivers] [[0]: Error number -2147217913 [80040e07] - [Microsoft][ODBC Excel Driver] Data type mismatch in criteria expression., native number -3030 - 22005].
07/10 10:28:29.774 vmprov5s (09,2) 65c, 6a0: Session: 00000064 - Database execute failed: TmodClrObjects:vtExecute[721]: Failed to "execute the query "Select NrAb,IVechi
From [Sheet1$]
WHERE (NrAB= '123');"", error -2147217913 [0x80040e07] - [Microsoft][ODBC Excel Driver] Data type mismatch in criteria expression. [source=Microsoft OLE DB Provider for ODBC Drivers] [[0]: Error number -2147217913 [80040e07] - [Microsoft][ODBC Excel Driver] Data type mismatch in criteria expression., native number -3030 - 22005].
It is prety self explanatory for me the Data type mistmatch error, but may there is something else here..
Any ideas, Any hints?
Thank you!
I didn't know where to put this thread o I hope this topic is ok
I have Avaya IPOffice and Voicemail Pro 9.1.8 running on Windows (not yet an SQL thing but I'm just getting started )
For you who don't know the products above, I have a PBX and a Windows Serveice that allows me to integrate PBX with a database - i am testing an IVR sistem where the client calls, inputs a n ID , it is being searched in the database and then it does a querry based on another input.
I have tested with .mdb, .accdb and with SQL server and it works.
I also notice that VoicemailPro on Winodws allows me to use Microsoft OLE DB Provider ODBC Driver so I want to use a .csv or .xls file instead of a database.
I have created a DataSource under ODBC Data SOurce Admin (32-bit) -> System DSN -> Driver to Microsoft Excel.
And now I am doing a querry:
Select NrAb,IVechi
From [Sheet1$]
WHERE (NrAB= '$KEY');
$KEY - is the input value
The error I get is this :
07/10 10:28:29.774 vmprov5s (17,2) 65c, 6a0: Database Error: TmodClrObjects:vtExecute[721]: Failed to "execute the query "Select NrAb,IVechi
From [Sheet1$]
WHERE (NrAB= '123');"", error -2147217913 [0x80040e07] - [Microsoft][ODBC Excel Driver] Data type mismatch in criteria expression. [source=Microsoft OLE DB Provider for ODBC Drivers] [[0]: Error number -2147217913 [80040e07] - [Microsoft][ODBC Excel Driver] Data type mismatch in criteria expression., native number -3030 - 22005].
07/10 10:28:29.774 vmprov5s (09,2) 65c, 6a0: Session: 00000064 - Database execute failed: TmodClrObjects:vtExecute[721]: Failed to "execute the query "Select NrAb,IVechi
From [Sheet1$]
WHERE (NrAB= '123');"", error -2147217913 [0x80040e07] - [Microsoft][ODBC Excel Driver] Data type mismatch in criteria expression. [source=Microsoft OLE DB Provider for ODBC Drivers] [[0]: Error number -2147217913 [80040e07] - [Microsoft][ODBC Excel Driver] Data type mismatch in criteria expression., native number -3030 - 22005].
It is prety self explanatory for me the Data type mistmatch error, but may there is something else here..
Any ideas, Any hints?
Thank you!