If you have a fixed value, you can put it in the filters.
But I suppose it is a value given by the main form.
So in the subform, you need to create a function that receives that value:
Function InputParameters(TheValue)
BEGIN
SETFIELD("Some Field",'%1..',TheValue);
CurrForm.UPDATE(FALSE);
END;
You also need to give a name to your subform in the main form.
And in the main form, you need to call the function. Generally done from the OnAfterGetCurrRecord-trigger (and NOT OnAfterGetRecord!)
Comments
But I suppose it is a value given by the main form.
So in the subform, you need to create a function that receives that value:
You also need to give a name to your subform in the main form.
And in the main form, you need to call the function. Generally done from the OnAfterGetCurrRecord-trigger (and NOT OnAfterGetRecord!)
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!