how to create auto passing of parameter in a layout
How it can be possible that a crystal layout pick a parameter from open document automatically, and there is no need to enter parameters manually.
Scenario: I have created a layout for AR Invoice, having parameter of OINV.DocNum , every time while previewing or printing the layout it need to enter the DocNum manually, i need not to enter the DocNum manually and the layout automatically pick the data from the open document i.e AR Invoice
Remember: I have tried the layout without parameters, only 1st entry in the data-base is loading every time.
Looking forwards your valuable guidance
Aamir Sohail replied
Tnx a lot but i find the solution from this way
create just one parameter named "DocKey@" (type number). DocKey@ parameter is equal to Oinv.DocEntry,and it's the valid parameter used by SAP for layouts. The value for ObjectType is implicit when we run layout from Invoice form, and it is not necessary add it in Crystal Reports design.