Problem to retrieve data from MSS Server[U9.4]
Author: spanish_uniface@hotmail.es (uniface8)
Hi all,
I´m starting to use MS SQL Server in a client/server application, but i can´t retrieve data from the database with the "retrieve" instruction, i can with sql instruction, but with "retrieve" always return status=-3 and the message log have
"I/O function: F, mode: 0, on file/table: _SMDBA_.TELMASTEV1 index: 1 =
42000 [Microsoft][ODBC SQL Server Driver][SQL Server]Could not find stored procedure '_SMDBA_.TELMASTEV1_FET'."
This code fails:
clear/e "TELMASTEV1"
sequence.telmastev1="1111"
retrieve/e "TELMASTEV1"
$status-->-3
But if i add the filter in the read trigger it works:
clear/e "TELMASTEV1"
retrieve/e "TELMASTEV1"
;read u_where (sequence.telmastev1="1111")
It works.
Any advices?
Regards,
Rafa.




