- Thu Nov 24, 2016 7:04 am
#787577
hello there
i'm creating a dynaform with in my company, the user will input the client number in a field with a variable named (client_code) then i want to fill some fields in the same form with the client information data from Oracle database, however the sql query always return error , and here is the sql statement i'm using to get the client name :
select distinct t.Name from imcit_clients_bi t where t.imc_code = @@client_code
when i replace the (@@client_code) in the statement with any client code number it returns the company name so that i know that the select statement is working.
please help me solving this problem.
thanks
i'm creating a dynaform with in my company, the user will input the client number in a field with a variable named (client_code) then i want to fill some fields in the same form with the client information data from Oracle database, however the sql query always return error , and here is the sql statement i'm using to get the client name :
select distinct t.Name from imcit_clients_bi t where t.imc_code = @@client_code
when i replace the (@@client_code) in the statement with any client code number it returns the company name so that i know that the select statement is working.
please help me solving this problem.
thanks