NotesSQL and Brio Query problem

I am using NotesSQL 3.02g to connect to Notes database (ver 6.5.4). I am able to connect without any problem. I am also able to see the tables from Brio query which shows my forms and views. Forms are fine but when I drag my views in Brio query from Catalog pane to content pane, I see numbers rather rather than the column names or values and when I click on those numbers to show the value, I get following error message… “SQLSTATE: S1000, Error Msg: [Lotus][odbc Lotus Notes][Lotus Notes Server][Notes API driver error: Formul Error”

Any help will be appreciated…thanks

Subject: NotesSQL and Brio Query problem

For some reason, one of the column formulas is causing an error. If you have designer access, make a copy of that view and remove 1 column at a time to determine the offending column, run your brio query against that view for testing purposes.

Ron

Subject: RE: NotesSQL and Brio Query problem

I found the problem is with Brio query + NotesSQL driver. The driver is not able to convert complex column formulas to values when used with Brio. If I change the column formula to one line simple formula, it works fine. The weird thing is that the same NotesSQL driver works fine if I use it in Excel or some other application to query Notes database. So the workaround is that if I change my column formulas to simple column formula it works.

I will try your suggestion about removing one column at a time to see which column formul is problematic.

Subject: NotesSQL and Brio Query problem

Hmmm…go into the design of one of the views that’s giving you trouble and check the programmatic names of the columns (the Name field in the Advanced tab of the column properties). I suspect your column name are mostly things like $1, $2, and so on. I’ve seen other programs have problems with the way Notes automatically names some view columns, so that may be the case here.

Subject: RE: NotesSQL and Brio Query problem

Thanks for your quick response. Yes, I agree with you. You are right about the programmatic column names. I can go and change the column names from “$1” to “test” or whatever the column name is but when I try to view the values in the column from Brio, I get the Notes API driver error. The error I mentioned in my original note. It seems like either Brio or NotesSQL are unable to interpret the complex Notes formulas. Not sure??

Subject: RE: NotesSQL and Brio Query problem

Can’t think of much that would help at this point. What you might try is to use another program to look at your Notes database via your ODBC connection. For example, you could try reading the Notes data with Access rather than Brio. That won’t fix the problem but it might at least tell you whether the problem is in Brio or in the SQL connection itself.