Thanks for your reply Klas! to be more clear... Actually I am creating a form to register patients.
the operator will fill up the patient registration form and submit, simultaneously the entered data should be printed easily and the printout will be given to the patient to meet the doctor.
If the operator submits the form then goes to list and then opens the detail page then prints...it will take unnecessary time...
to make it faster and easier I need a workaround to print the data as soon as it is submitted/saved.
I have always got solutions in my other projects from Seblod and from you especially :-)
Please give me any more hints how can I achieve it???