Hey All,
I am sure I am overlooking something simple here. I have tried all day to get this field look-up working. It is a very small thing I am trying to accomplish. I have a SQL table that contains a column of data I want to retrieve. I am trying to retrieve that data using @DBColumn.
I have tried the following combinations of options.
@DBColumn(“ODBC”:“NoCache”; Helpdesk ; “uid”; “pwd”; “Clients”; “client”:“Discard”; “Distinct”:“Ascending”)
The above is what I want to use.
I have also tried:
@DBColumn(“ODBC”; Helpdesk ; “uid”; “pwd”; “Clients”; “client”:“Discard”; “Distinct”:“Ascending”)
@DBColumn(“ODBC”:“NoCache”; Helpdesk ; “”; “”; “Clients”; “client”:“Discard”; “Distinct”:“Ascending”)
@DBColumn(“ODBC”:“NoCache”; Helpdesk ; “”; “”; “Clients”; “client”)
The above three samples produce a dialog box that prompts for a DSN uid/pwd.
@DBColumn(“ODBC”:“NoCache”; Helpdesk ; “Clients”; “client”:“Discard”; “Distinct”:“Ascending”)
The above produces a dialog box that contains a sql uid/pwd error (same modal error dialog box that would be displayed if you entered the wrong credentials in the DSN wizard)
So, short story is, no matter what I have tried, I can not get the field to populate. I have used the ndctest to verify that I can connect from my client successfully. I have also used oSQl to confirm that I do get the right data back if I do a “SELECT * FROM CLIENTS”
So, does anyone have any suggestions for how to make this work? I see lots of posts about this but no working examples.
The error I get on all failures is:
“ Could not execute @DB function”
Any and all feedback appreciated.
Shawn