Input dialog
Hello All,
Creating a timesheet report and need to give the customer a dialog to enter
the starting date. Can a popup dialog like the autosearch be created. The
Autosearch is based on database criteria, but this report is just a grid
with the week dates. What is need is to retrieve a dialog value and assign
it to a calc variable.
What I have done now in RAP is to get the current day and finding the date
for the next Monday. The only problem with this: the customer may want to
print a couple weeks of timesheets or have to reprint a past date time
sheet. The only way they would be able to that is to change system date and
rerun program. Any ideas?
Thanks,
Bo
Creating a timesheet report and need to give the customer a dialog to enter
the starting date. Can a popup dialog like the autosearch be created. The
Autosearch is based on database criteria, but this report is just a grid
with the week dates. What is need is to retrieve a dialog value and assign
it to a calc variable.
What I have done now in RAP is to get the current day and finding the date
for the next Monday. The only problem with this: the customer may want to
print a couple weeks of timesheets or have to reprint a past date time
sheet. The only way they would be able to that is to change system date and
rerun program. Any ideas?
Thanks,
Bo
This discussion has been closed.
Comments
You can define Report.Parameters[] to hold the values of the parameters.
You can define a custom RAP pass-thru function that displays a custom input
form. Run the RBuilder\Demos\Rap\Main\Rap.dpr application. Demo 35 contains
an example that displays a custom dialog. The source to the custom RAP
function used in the demo is located in myRapFuncs0035.pas.
--
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com