IndoTech
3rd August 2016, 12:13
Hi
I have to add two form fields to standard report session but don't have program script, so from other links on Baanboard it is clear that we can use
procesinfo$ or Free$.
Please help me, how to use these, to add two tcyesno fields on session form and use them in report script.
Regards
Kedar
mark_h
3rd August 2016, 15:13
If you do not have the program script then you can always look at the extend source code option out in the code and utilities forum by ~vamsi. That is one option.
I am not sure how to use procesinfo$ or free$ to successfully add a field to a form. In 4c4 the field you add to the forum must be defined in the script. The only time I did this I found a variable I could add to the form and pass it like normal to the report. It was so long ago I do not remember even how I found the variable - I just added the form field to the report and used it as a filter on the records. That was the only time I ever did something like that - we use qkey now for things like this.
bhushanchanda
3rd August 2016, 20:29
Hi,
Or you can clone the standard session and add the field you want and then just do an AFS on the standard session from your custom script. You might need to do an export/import or put.var/get.var to get the new field on the report.
manish_patel
4th August 2016, 08:29
Alternatively, you can use Baan wrapper. Check below thread started by Vamsi
http://www.baanboard.com/baanboard/showthread.php?p=2475#poststop