Skip to Content
0
Former Member
Aug 08, 2007 at 09:13 AM

Selectionformula

27 Views

Post Author: Ottenheim

CA Forum: .NET

Hello,

Currently i'm converting my reports from CR7 to CR11.5. Everything works fine except the selectionformula:

In CR7 we create a selectionformula in the report, say 'DELETED = FALSE'. When we call the report in VB6 we set the selectionformula like 'RELATION = MYSELF'. So when i run the report from code I see data where 'relation = myself and deleted = false'

This 'trick' doesnt work in VB.NET with CR11.5. In report i make a selectionformula 'DELETED = FALSE' and in code i give a recordselectionformula 'RELATION = MYSELF'. When I run the report the data is only filtered by 'RELATION = MYSELF' Looks like the recordselectionformula from code overwrites the recordselection from the report.

Can anyone help me with this? Or do I have to copy alle the selectionformula's from the reports to code?

Thanx,