Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

How to check formulas after a database change

$
0
0

If I change the database that a report refers to, this may render some formulas invalid. For example, if a field changes data type from Boolean to string a formula that uses that field as a Boolean value will now have an error.

 

When I use the API to set the table location, then call VerifyDatabase, an error such as this is not signalled in any way. It's only when I try to preview the report that an error message appears.

 

Is there an API call that will check the validity of all formulas in a report, so that i can detect this situation as soon as possible?

 

Thanks

 

- rick cameron


Viewing all articles
Browse latest Browse all 3636

Trending Articles