Hi,I am trying to lookup to SQL database.
I have two problems:
- It gets the error 'Data Access Application Layer, DbFunction failed because the data type of the requested coumn is unsupported, if looking up to columns with a datatype of ‘nvarchar’.
As an example:
@DbColumn( “ODBC” : “Nocache” ; “Siebel7QA” ; “UserName” ; “Password”; “S_APP_VIEW” ; “NAME” : “Fail” ; “Distinct”)
@Text has no affect (probably because @Text would just convert the returned value, not the column!!!)
OK, so is there a list of ‘supported data types’? or some way round it not working with nvarchar ? Most of the useful data is in format nvarchar.
- So, I tried a lookup to text values (maybe it can support them at least).
This is not returning an error message, but the formula is in a field (Dialogue List), and the idea is, this is the selection of the values that a user can choose from: the actual result is a keywords box with no values to select (running an identical query in the SQL Query Analyzer produces about 40 rows of data:
@DbCommand( “ODBC” : “NoCache” ; “Siebel7QA” ; “USERNAME” ; “PASSWORD”;
“SELECT COMMENTS FROM S_APPLET WHERE COMMENTS LIKE ‘AB%’”: “fail” )
Any ideas? Ta…