I have asked the question in Crystal Data Access forum of how to pass a parameter from VB to a Crystal report that is embedded in VB (ie dsr).
It does not look as though anyone is familiar with the way of doing this and my requirement is now urgent.
In summary I have a sub report that is linked to a main report parameter field and instead of getting asked for the number (as happens corretly), I want to pass it automatically. Since I can use VB to write my number (EmployID) into a text box on the main form (or sub report) I was wondering whether anyone can help me with a formula to get the sub report to use this value to select data on.
It does not look as though anyone is familiar with the way of doing this and my requirement is now urgent.
In summary I have a sub report that is linked to a main report parameter field and instead of getting asked for the number (as happens corretly), I want to pass it automatically. Since I can use VB to write my number (EmployID) into a text box on the main form (or sub report) I was wondering whether anyone can help me with a formula to get the sub report to use this value to select data on.