Adobe Designer/Adobe Reader Compatibility Question (with Data Connection)
Posted on 2006-05-12
Error: accessor '$sourceSet.DataConnection2.#command.query.CommandType' is unknown.
The full formcalc code block is as follows:
----- form1.#subform.Button1::click - (FormCalc, client) ----------------------------------------
if (Len(Ltrim(Rtrim(SelectField.rawValue))) > 0) then
$sourceSet.DataConnection2.#command.query.commandType = "text"
$sourceSet.DataConnection2.#command.query.select.nodes.item(0).value = Concat("Select * from none_AP_VENDOR Where NAME_KEY = ", "'", Ltrim(Rtrim(SelectField.rawValue)) ,"'")
$sourceSet.DataConnection3.#command.query.commandType = "text"
$sourceSet.DataConnection3.#command.query.select.nodes.item(0).value = Concat("Select * from none_GL_TRIAL_ACCT Where NAME_OF_ACCOUNT = ", "'", Ltrim(Rtrim(AccountDesc.rawValue)) ,"'")
Is this type of code supported by the Reader? Any help or guidance would be appreciated.