Crystal not prompting for parameter - stored-procedures

i am working on crystal reports 11. Just added a stored proc with 2 parameters. but refreshing the report does not prompt for new parameters.
Any suggestions.
Thanks
Amrita

Did you define your parameter in the Parameter Fields? You didn't specifically say so.
If your parameter isn't actually in use, you won't be prompted for a value. i.e. If you drag & drop the parameter onto the design view and refresh, then it should prompt you for a value.

Related

Set drop down selection in action using value in previous step

I am building a zapier app using the cli.
I have an action, which has a form, with one of it's elements being a drop down, which has a hidden trigger as it's datasource.
With the context of a zap, is it possible to set the selection of the drop down, based on a value from a previous step?
David here, from the Zapier Platform team.
You can set a default value for a field, but unfortunately you can't set the value dynamically. The main reason for that is there's a good chance that the trigger your action is paired with won't be one from your app. There could be any any data of any shape coming in, so there's really no way to act directly on it.
​Let me know if you've got any other questions!
edit: Even with a dropdown, there's a option to "use a custom value". That's what the users would use if they want to map a value in (or paste it themselves) rather than use the dropdown

Pass URL as a report parameter in SSRS

Is it possible to include a URL with other parameters in a report? I would like users to have ability to click on a link to view another report while passing various parameters to the report. Any recommendations will be helpful.
Yes, you can do that. Just add a textbox and set some value, then right click the textbox and select Action tab.
In Action tab select Go to report and choose the report you want to the URL point to. Then click add to specify the Name of parameters and its Value.
Hopefully this is what you are looking for, otherwise let me know.

How to open a vaadin combobox programmatically

I have implemented a poor-mans-searchbox using a combobox. The search expression is typed into the textfield and the user press enter. Then the search expression is added to the combo model, this is caught in the eventhandler which then runs the search, empties the combo list and populates it with the searchresults instead. However, the user then need to open the combo list manually (by pressing the little down-arrow) to see the result. It'd be nice to open the list automatically, but I haven't found out how to do that. Does anyone know?
Also the search should be performed each time the user presses a key, and not only after enter is pressed.
Not as the poor man's solution, but you may extend the client side to do that. Tipically, the client side widget would have some method like "openResultsBox" or something similar. You could call that to open up the box. Vaadin 7 also allows you to write extensions which basically lets you extend the client side for exactly doing the very same slight changes. I am not sure why you have chosen the combobox for that though.
the vaadin-combo-box component offers a method called "open" so simply call
reference-to-element.open();
Should do the trick.
Relevant official docs here:
https://www.webcomponents.org/element/vaadin/vaadin-combo-box/elements/vaadin-combo-box#method-open

A Struts 1.3 application:enforcing a timestamp passing parameter with every URL

I would like to enforce a dynamic parameter (time-stamp) with every url of the application
I would like to use this parameter to solve the iterative problem of invoking the browser back button or a url from the history by comparing the current page time-stamp with the invoked URL time-stamp.
Any clue is Highly appreciated
Hossam Khalil
What's the "current page timestamp"? Do you mean by checking against the server's current time?
You'd need to have a timestamp in every link, which could be done with a custom tag.
Each form would need a timestamp, which could also be done via custom tag.
A custom request processor would be the Struts 1-way, although you may just be able to use a filter.
You may need to provide more details regarding what exact problem you're trying to solve.

Assigning Fogbugz cases programmatically

I want to write an application that assigns Fogbugz cases programmatically, how would I accomplish this? Is it possible to achieve this given any of the following scenarios:
The user enters text in my
application's input field and the
Fogbugz report is opened in the
browser where the "note" field is
populated with the text from the user
input
The fogbugz report is assigned to the
specified user in the application
without the browser even being opened
i.e. the report is stored directly in
the DB.
I'm planning to add default values to the other fields as well so I would assume the process would be the same for adding text to the "note" field.
You can do this with the Fogbugz API. See the heading "Editing Cases" for the specifics on how to edit a case (which includes creating a new one). It's a little complicated (or perhaps just oddly designed) but, as I remember, you basically have to call cmd=new if you want to create a new case, supply your text in the 's' parameter and set the ixPersonAssignedTo to the correct person. For an existing case, use cmd=edit.
This is possible both with a regular form posted to your Fogbugz installation and some server side code that calls the API.
You might want to write a plugin for FB and allow others to use it. (share it or sell it)

Resources