Joined: 09 Aug 2007
Online Status: Offline
Posts: 2
Topic: Help with Paremeter Please Posted: 09 Aug 2007 at 4:58am
Hello,
I'm trying to write a report and know very little about the intricacies of Crystal Reports.
Basically I have added a parameter for Reference Number, which works fine and when I run the report, give me a list of numbers to choose from e.g. 011, 012, 013, 014 etc.
However, each number relates to a person in the database, so 011 = Joe Bloggs, 012 = Jan Smith, 013 = Simon Jones etc...
What I really want is for the user to be able to select the person's name rather than their reference, as the user may not know the person's reference.
When you are setting up your parameter field and you have set the 'List of values' to 'Dynamic', you can then set the field that you want the dynamic list to look at (this should be the reference number). However you can also set a field to use for the description which is what will appear in the drop down list (you should set this to the Person Name).
Be warned though that this will still make the list appear in a numerical order according to the persons reference and so the persons names may not be in alphabetical order.
You must be using an old version of crystal mate, ive only ever worked with crystal 10 & 11 which gives you an option to change the description. Maybe one of the guys on here that is an old hand and has worked with crystal 8 will be able to help.
Joined: 19 Jun 2007
Location: United Kingdom
Online Status: Offline
Posts: 150
Posted: 17 Aug 2007 at 6:08am
Click on the button Default Values. In there you can set the value and description, and decide whether to display Value and description, or description only. You can also decide sort order. If you choose 'No sort' they will be shown in the order you put them in.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum