Calling report from a form/report [message #537589] |
Thu, 29 December 2011 10:41 |
|
tinkuvinay
Messages: 9 Registered: December 2011 Location: Dallas
|
Junior Member |
|
|
Hello all,
I have created an application on some tables. Each table has a report and form page. Now everything in these pages is working fine(inserting, updating, deleting records).
I have a situation here, where after I insert a new record in to a table from the form page, here I have to show a report page based on a SQL querry which queries the records from another table and the current table passing the parameters. Parameters should be the values that I enter during inserting a record.
Can I do this from form or report? If yes, how?
Please help me...
|
|
|
|
|
Re: Calling report from a form/report [message #537611 is a reply to message #537609] |
Thu, 29 December 2011 13:21 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
- OK, that works
- I told you how to do that - create/modify a branch. Tabs don't matter, you only set a page number. Report page type doesn't matter (as you said). I created an ordinary SQL report in my example.
- Branch contains "When button pressed" field. From help: "Choose a button from the list, if you want your branch to only happen when that button is clicked." I'd suggest you to use it and create two branches - one to fire when you click the "OK" button, another one when you click the "CANCEL" button.
|
|
|