cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Report adding command to report disappear when adding parameter

dbah01
Discoverer
0 Kudos
93

Dear Crystal Experts,

I have a report in which I want to add a command using the {?DocKey@} as parameter as in screen shot below. At this point the DocKey@ parameter already exists in the Parameter Fields. The moment I add the command it gets removed in the Database Expert, i.e. it does not get added. It's not a problem when adding a new parameter. Anyone have an idea what could be the problem?

We are using SAP Crystal Report 2020 Support pack 2 patch 1. Connection type to the database is OLE DB (ADO) SQLOLEDB.

Thanks.

dbah01_0-1737527529989.png

 

View Entire Topic
gonzalogomez
Active Contributor

It is not necessary to do that, you create a Dockey@ parameter of type number and you only have to add in the selection wizard the equality between the DocEntry field and the parameterimagen.png