I've fixed the problem (Kind of, not sure its a feature or a bug ive used :P )
I have passed over a formula feild that holds the value "download" but with no reciving param or feild as a parm would cause the problem discusesed at the start of this topic or would requre a new colum in the basetable / view just for this crystal report... pretty much a no no.
So I was sneeky and tried to hardcoaded the temp param
{?Pm-@download) into a supression formula.
I tried this before but it kept on removing the temp param feild as i think crystal saw it was being a none exsistant feild (its not there is you open up the sub report on its own). I think this was becasue there is no solid join, just a passing link from the main rep.
However I found out of you open and edit the sub report by double clicking the sublink IE) the embedded version on the main rep design view it aways sets the ?Pm feilds even tho it hasnt been "executed".
That way i can edit without the fear of the temp value being dropped.
Its a fix so long as no-one ever opens the sub-rep .rpt via the open file option :). Tho can I delete the .rpt of my subrep now its been "embedded"? I dunno but anyway
bug.. feature.... bug.... feature :) it works so im taking it to be a feature.
Thanks for all the help DBlank
BB
Edited by Ballboy1 - 02 Aug 2010 at 1:28am