Relations
Posted: Thu Apr 28, 2016 11:12 am
Hi,
I cannot find any information about my issue so I though I would ask in this forum.
We have created views on top on some table to filter the column that can be used by the user to create their report. the underline tables have no FK constrains but I was task to recreate the constrains in the views so that the user would be able to make sense of the relations between the views.
Using the Relations was easy but the problem that I ran into is that the column used in the relation are of the same type i.e INT but some are nullable and some are not so although the relation are created without problem when I run a report I get this error.
I do understand why this is happening but is there anyway that I could reconciled the column type so that I do not get this error
changing the column type in the database isn't a solution
I could do the work in the view but I would be more interested to find out if you could think of another solution.
The key types of the relation does not correspond
'CardID-CardID' column types which were specified as keys for the 'ViewCardHolders.CardID' relation does not correspond! Such a relation cannot be created when report rendering!
Thanks,
I cannot find any information about my issue so I though I would ask in this forum.
We have created views on top on some table to filter the column that can be used by the user to create their report. the underline tables have no FK constrains but I was task to recreate the constrains in the views so that the user would be able to make sense of the relations between the views.
Using the Relations was easy but the problem that I ran into is that the column used in the relation are of the same type i.e INT but some are nullable and some are not so although the relation are created without problem when I run a report I get this error.
I do understand why this is happening but is there anyway that I could reconciled the column type so that I do not get this error
changing the column type in the database isn't a solution
I could do the work in the view but I would be more interested to find out if you could think of another solution.
The key types of the relation does not correspond
'CardID-CardID' column types which were specified as keys for the 'ViewCardHolders.CardID' relation does not correspond! Such a relation cannot be created when report rendering!
Thanks,