Prompting for a different data source in Crystal Reports 10 - crystal-reports

G'day!
I'm using a command to bring up information from our main pay database. This part of the report is working just fine.
I'd like to be able to prompt the user to specify their datasource location using a parameter field, in case they'd like to be able to use one of their pay test databases. Kind of like prompting for a date, but being able to connect to a different database.
Is there a way to do this? I'd thought maybe creating a {?source} parameter field in the command, and beginning the command with USE {?source}, but it doesn't really feel right, or like it would work as I'm basically trying to change the current connection through code.
Thanks for your time!

This is possible but the moment when the report is started will be too late to set the datasource.
You can create some logic in your app to get the desired datasource and when the user starts the report you will set it

Related

How to Create Custom Features in Taiga when Self hosting with docker

I believe there is a way to implement custom features. Not sure how this would be done.
I would like to implement my own code and not use 3rd parties like zapier.
This there a way to edit the code create a custom feature. I would like to be able to look at the task and have time entry area to enter date and hours worked. That would be saved in a new postgres table or possibly an orcl db.
I would also like to add a scrollable list to each task to show all time entries on a task.
If you know of how I would go about this please explain in some detail. An useful links would be appreciated.

Is there a way in Powerapps to make sure a column has to be filled in everytime even there is input?

I have a question regarding my Powerapps I've built.
With this app user have to update or confirm the data that is stored in a sharepoint list. I have included the "modified by" column to see when someone has updated the data.
My problem is that if the data is up to date and the user submits the form there is no change in the modified by column. Because of that, I can't see if everybody has checked their data.
How can I achieve this even if no changes are made?
I thought of an extra column where the user has to put in something, but I don't know how to keep this empty every time so that the last input won't be shown anymore.
Thanks for your help.
Best regards,
Elena
If you want to allow users to submit/confirm without being able to change you can use some logic.
The first part of the logic is as normal, let the user submit the form as usual.
Make a flow that is being triggered after the normal update that takes the Row ID of your data and for example sets the record to inactive and back to active as this will triggers the modify date to be set.

Add a user comment in a crystal report at run time

Our ERP system uses Crystal Reports to generate Company Stationary, which is used with an automail process to send out via email
In this case a user has ask if they could, at run time, type in a message on a Customer Statement, for example "Hi here is your statement please see invoice 00022 this is the one with the query". Clearly this message may not always be required and would be different at each run.
The only method to do this I have found is to use a txt parameter, but the problem is the input box at run time does not explain with the text typed, so if you make a typo you can not see it.
Can this be done with a pop up box in code?
I have looked for examples but not found anything
This isn't something that Crystal itself supports. It's read-only: Once a report is loaded, it's done calculating. If you refresh it, it performs the same calculations.
Like you said, you could use a text parameter where the user could enter a single clump of notes. In theory you could even include a parameter where you enter the invoice numbers that you want the message to appear next to. But that opens the whole can of worms regarding "How do I error check this?" and "What if the invoice number is in the wrong place?"
In short this isn't something you'd want to attempt in Crystal. If this report is launched by an app you developed, I'd try to make it a feature in the app. But reports are effectively read-only, and short of writing your own SQL commands, you'll have a bad time trying to write with a read-only system.

Active Report 10 Multi Data set designer issue

This is driving me nuts and I can't for the life of me find anything and it seems like such a small problem. I have been trying to google stuff but half the results lead to dead broken links. So here I am.
I am trying to create a SIMPLE report with Active Report 10 just textbox nothing fancy. I have to data sets A and B. When I click on the textbox to assign values at the initial start I am asked which data set I want A or B and such.
Now after the first initial assignment I lose the option to switch and use the other data set. I know I can switch between data set because I have seen it done in other reports that are sent to me and I tried setting the data set name in the property but nothing works.
This seems like I am missing something blatantly obvious. This is all done inside the designer and no code behind.
I feel dumb after fiddling around I created a new report and try another template and used RDL report instead of page report. That seems to have done the trick . . . god knows why they all you to add multi data set and can't use it in page report.

Crystal Reports Parameter/Drill Down Issue

I'm currently using CR 2008 for design and running my reports in InfoView. I have a fairly standard report with about 6 groupings and 2 details sections. The groupings are all hierarchichal and can be drilled into. The report contains 5 parameters that the user has access to edit in Infoview.
My problem occurs only when users change any parameter on the report and then attempt to drill down in the report. The result always ends up that the drill down will display the very first Group, with drill down, in the report rather than the one they selected to drill into. If a user enters the report and drills into any group without changing the parameters, everything works as expected.
Has anyone ever seen this kind of behavior or know of a reason that this might be happening? Please help.
Thank You,
Patrick Johnson
This is a bit of a reach, but when you change the parameters, are you refreshing the data (ie. don't use the saved data that was pulled originally). I believe something may be going wrong because of that.
Always, always, always choose to refresh your data.