IBOBjects and Queries with duplicate fieldnames

Hello,

I was using ADO with Fast-Reports and I had a report with 2 group headers. The condition for the headers was a field called "docketid". There are fields from two tables, which I have used a join on and thus there is :

datamodule.query."workingdocket.docketid" AND
datamodule.query."disbursements.docketid"

one changing made the first group flip, the other the second. Here's the problem - with IBObjects the query no long has the tablename.docketid it only has 2 fields named docketid. And since theres no way to distinguish them, one of the group headers doesn't work.

IS there a way to make explicit refrence? I am using IB_Query components, and I have checked - the query contains the full name, but fastreport gives an error when I reference tablename.docketid.

Please help.

Jason S. Gagnon

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 5:20PM
    try changing your query adding as to change the 2 fieldnames to something you can differentiate.
    regards ;)

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.