Records returned with static parameter, but don't when using dynamic

Hello,
I am using CR Developer, Version 11.0.0.1282   (BTW, I keep seeing references to Release 1 and Release 2, and I'm not sure which my version is.)
I have a large database (500,000 land records) and each record has a value for Management Program and for Project Name. Within each Management Program there are many Project Names.
If I set up a static parameter for Management Program, users are able to select a single Management Program (i.e. WMA, for Wildlife Management Area) from the dropdown list. This returns all records that have WMA listed as the Management Program, which thus includes all Project Names. This works fine, but I want to return just those records that are for a single Project Name.
So I got rid of the static parameter and instead created a dynamic parameter, where the user first selects a Management Program, and then a single Project Name.
I think I set up the parameters correctly, and the select formula (see below) includes those parameters. When I then try to run the report, I successfully get the expected drop down boxes, where I can first pick out the Management Program I want, then the Project Names that apply just to that Management Program.
That part seems to work fine, but no data gets returned.
The SQL query seems fine:
SELECT "LAND_RECORDS"."TOWNSHIP",
"LAND_RECORDS"."TOWNSHIP_DIR",
"LAND_RECORDS"."RANGE",
"LAND_RECORDS"."RANGE_DIR",
"LAND_RECORDS"."SECTION",
"LAND_RECORDS"."FORTY_DSC",
"LAND_RECORDS"."GOVT_LOT",
"LAND_RECORDS"."GROSS_ACRES",
"LAND_RECORDS"."LAND_TYPE",
"LAND_RECORDS"."PUBLIC_USE_ADMINISTRATOR",
"LAND_RECORDS"."PUBLIC_USE_MGMT_PROG_CODE",
"LAND_RECORDS"."PUBLIC_USE_PROG_PROJ",
"LAND_RECORDS"."PUBLIC_USE_PROJECT_CODE",
"LAND_RECORDS"."SURFACE_OWNED_CODE",
"LAND_RECORDS"."PUBLIC_USE_MGMT_PROG"
FROM   "LNDREC"."LAND_RECORDS" "LAND_RECORDS"
WHERE  "LAND_RECORDS"."SURFACE_OWNED_CODE"='Y' AND "LAND_RECORDS"."PUBLIC_USE_MGMT_PROG"='WILDLIFE MANAGEMENT AREA' AND "LAND_RECORDS"."PUBLIC_USE_PROG_PROJ"='AGDER'
ORDER BY "LAND_RECORDS"."PUBLIC_USE_MGMT_PROG_CODE",
"LAND_RECORDS"."PUBLIC_USE_PROG_PROJ"
And here is the selection formula:
{LAND_RECORDS.SURFACE_OWNED_CODE} = "Y" and
{LAND_RECORDS.PUBLIC_USE_MGMT_PROG} = {?Management Program - PUBLIC_USE_MGMT_PROG} and
{LAND_RECORDS.PUBLIC_USE_PROG_PROJ} = {?Management Program - PUBLIC_USE_PROG_PROJ}
Can anyone tell me why no records get returned when I use the dynamic parameter, while those same records (as well as the other records for that Management Program) get returned when I use the static parameter?
Thanks in advance for any help you can give me.

Hi Sanjay,
When I wrote "glitch", I was pretty sure that was more likely indicative of a glitch in my primitive SQL skills than the software itself...     
There is indeed a unique ID# associated with each Project. The problem is that there are thousands of projects, and people in the field are much more likely to remember the project name than the 8-digit long ID#.
However, I found a way to make it work...
I retained my first two parameters (Management Program, and Project Name), but then added a 3rd parameter for Project Code. The use first selects the Management Program, then the Project Name, and then the project code. But the only project code that appears as an option is the single one associated with the project name, and when they click on that, only the correct results gets returned.
That one extra mouse click seems like a small price to pay so that you don't get extraneous results returned (i.e. getting results for both ANDERSON and ANDERSON LAKES when you ONLY request ANDERSON LAKES.)
So, problem solved...thanks again for your help.
Jon

Similar Messages

  • Fans run watching video, but don't when using Safari

    I am curious as to why the silverlight plugin ramps the fans up (3k+ rpm) when I am watching prime video's in Firefox, but when watching the same video's in Safari, the fans a pretty much the standard 2000 (2k - 1.5k) rpm.
    Happens with youtube too. Safari and web videos is way quieter and I guess I just don't understand why the difference.
    Is there a way to get FF to throw a little less power at these video's so as to not light the fans off so much? It can really drown out the video audio depending on what it is. As it is, I use Safari for watching video's, but hate having to have 2 browsers open.

    Well, I was just into my macbook not long ago changing out the battery and the key board. The back light stopped working on mine in places.
    Either way, I know its clean, because I actually had the opportunity to check it.
    I have XRG 1.7.3 that I use to watch the temps and stuff like fan speed.
    Safari running the videos uses a good amount of CPU (~70% - 90%) and CPU die temp of 71C, where Firefox will run the CPU clear up to the 150%+ range and a die temp of 85+C.
    The second I stop the video, I see the case temps (sensor1,2,3) start to drop pretty quickly. Is there a different version of Silverlight for firefox that is different from Safari's? I'm stuck with Silverlight for the Amazon Prime stuff.
    Pretty much, video in Firefox sends the case temps to somewhere around 39-42C, nothing crazy, but with the die temps, enough to kick the fans up to the 3500-4000 rpm range watching the videos.
    Safari on the other had shows case temps around 30-32C and fans that sit steady at 1999- 2048 rpm watching the videos.

  • I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query parameter to report parameter i need to pass distinct values. How can i resolve this

    I have SSRS parametarized report in that one data set have repeated values with query parameter . but while am mapping that query
    parameter to report parameter i need to pass distinct values. How can i resolve this

    Hi nancharaiah,
    If I understand correctly, you want to pass distinct values to report parameter. In Reporting Service, there are only three methods for parameter's Available Values:
    None
    Specify values
    Get values from a query
    If we utilize the third option that get values from a dataset query, then the all available values are from the returns of the dataset. So if we want to pass distinct values from a dataset, we need to make the dataset returns distinct values. The following
    sample is for your reference:
    Select distinct field_name  from table_name
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I'm currently signed onto my home network and want to go on with another computer but don't remember my password for my network.  Does anyone know where to find this?  It's a password that I set myself, not the one that came with my router.

    I'm currently signed onto my home network and want to go on with another computer but don't remember my password for my network.  Does anyone know where to find this?  It's a password that I set myself, not the one that came with my router.

    It's in your Keychain on the computer you usually use to connect to your network - the "kind" will be "AirPort Network Password".
    Your Keychain can be opened by using the Keychain Access program. It is in your Utilities Folder.
    Open Keychain Access, and type airport in the search field. You will see a number of entries. Choose the one with the name of your wireless network, open it, and check the box next to "show password". Before it reveals itself you will be asked for your login password - the one you use to log in to your MacBook.
    The network password will appear in the box.
    Quit Keychain Access.

  • I can not get my Adobe Photoshop Elements 8 organize to open. The edit option comes up with no problem, but will crash when I try to access organize. What should I do to fix this problem?I can not get my Adobe Photoshop Elements 8 organize to open. The ed

    I can not get my Adobe Photoshop Elements 8 organize to open. The edit option comes up with no problem, but will crash when I try to access organize. What should I do to fix this problem?

    Hi,
    Which operating system are you running on?
    Try starting the organizer while holding down the shift key.  Hopefully, it should load the Catalog Manager.
    Select your current catalog and click on the Repair button. Once it has finished, click on the Open button to see if the catalog opens.
    Good luck,
    Brian

  • Trouble with 3d window on ArchiCAD 16 when using Led Cinema Display 27" with GT 330M 256MB connected to my MacBook Pro 15" mid 2010, but runs fine on the attached display.

    Trouble with 3d window on ArchiCAD 16 when using Led Cinema Display 27" with GT 330M 256MB connected to my MacBook Pro 15" mid 2010, but runs fine on the attached display.

    Trouble with 3d window on ArchiCAD 16 when using Led Cinema Display 27" with GT 330M 256MB connected to my MacBook Pro 15" mid 2010, but runs fine on the attached display.

  • HT4990 i have apple id with visa card,but now i dont use visa card and i have my id shoud free help me!

    i have apple id with visa card,but now i dont use visa card and i have my id shoud free help me!

    You need to ask Apple to reset your security questions. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to call, fill out and submit this form.
    (124723)

  • TS3367 My partner has the Iphone 5 and I am using a MacBook with version 1.0.2. When using the face time app to call him he says that cam freezes and he is unable to hear me. Any ideas of the problem and and ideas for resolving the issue?

    My partner has the Iphone 5 and I am using a MacBook with version 1.0.2. When using the face time app to call him he says that cam freezes and he is unable to hear me. Any ideas of the problem and and ideas for resolving the issue?

    Had the same problem, the only fault and the reason why it happend is a bad wifi connection!
    Could ofc be something else, but thats my two cents!

  • Newest version Flash Player doesn't work online, but does work when using Dreamweaver files locally?

    Newest version Flash Player v 11.2.202.235 doesn't work when trying to view Flash video online, but does work when using the same Dreamweaver files locally?
    Win7/64, Firefox 12, 16 gb ram, core i3 @3.07GHz

    Define "doesn't work" - what do you see instead of the expected Flash content?
    Does that happen for any Flash object on the Internet, or only your Dreamweaver files?

  • My photos are sharp but become soft when used in and IDVD slide show.

    My photos are sharp but become soft when used in and IDVD slide show. How can I prevent this from happining??

    Hi,
    I suggest that you try unchecking both of the crop options - landscape & portrait.
    To re-create your situation, I had to check the crop for landscape pictures option.
    I prefer to have control over any cropping so I tend to crop each image first before creating the slide show.
    Brian

  • CS 4 Dynamic Link to Encore doesn't work most of the time.  Encore stops operating after opening and periodically Premier Pro stops working.  I'm told that there has been a problem with CS4 when using Dynamic Link to go to Encore and build CD's.  Is there

    CS 4 Dynamic Link to Encore doesn't work most of the time.  Encore stops operating after opening and periodically Premier Pro stops working.  I'm told that there has been a problem with CS4 when using Dynamic Link to go to Encore and build CD's.  Is there a way around this?  Is there a patch to correct it?

    To build CD's???
    What problem does Encore have with DL?
    If DL is not working properly for you the way around this is to export from Premiere to either mpeg2-dvd for DVD or BluRay H.264 for BD-disks and import the files in Encore.

  • Want to record with two mics but don't want to spend more than $150...

    Hey everyone.
    I want to do shows with my sister and I want to use two mics. Or do I need to use two mics? I
    We tried using my one Logitec Desktop usb mic but her voice was very low.
    I don't want to spend more than $150.. my current setup:
    1.42 GHz Power PC G4 eMac
    two Logitech USB Desktop mics
    GarageBand 3
    That's it.
    I tried Line In and Soundflower to do this a while ago and got this awful reverb effect.
    Any tips and help are appreciated.
    Denise
    The Home Spa Goddess Show
    All the latest and greatest bath, body and beauty news!
    Previously On Alias...
    The Podcast Devoted To All Things Alias
    The GoddessCast Station
    TV talk with the Home Spa Goddess - Now featuring reviews and talk about "24"

    For my podcast (the Weekly Anime Review) I use a MXL 990 condenser microphone and a Behringer UB802 mixer. I recently got a second mic, and I couldn't be happier with this setup. Musiciansfriend.com has the mixer and the mic for $49.99 each. They also have free shipping for orders over $100. Don't forget to get a couple mic cables too, the MF branded ones work great and they are only $3.99 for a 20 foot cable.
    Check out my podcast at www.weeklyanimereview.com to hear how this set-up sounds. I've been using it since the beginning, and I'm extremely happy with the audio quality. Hope this helps!
    Aaron

  • Lync login issue with one domain but started working when domain is changed.

    we have two domains in lync 2013 infra.i have enabled user id with one domain but its not allowing user to login.If we change user id to other domain it start working. it seems user id already existed somewhere in lync or active directory database. can
    anyone tell how to remove complete user database so that the id can be assigned to other new users.

    Hi,
    Did the user account also be deleted or disabled in AD? Disable account is different form remove account. If you disable an account the account is still stored in AD, whenever you need to enable it you can find it. So if you only disable the account who
    leave the company, please remove the account and try again.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Why don't I see the 'Emoticons' and 'Format' tabs when composing a message in the new Yahoo Mail, using Firefox, but I do when using Internet Explorer?

    I have been using the new Yahoo Mail on Firefox. But today I noticed that when I write an email (Compose/Reply/Forward), I cannot format it. Only the 'Attachments' tab is present, but the 'Emoticons' and 'Format' tabs are not.
    But when I do it using Internet Explorer, all those tabs are present and I can format and do whatever.
    Is there something wrong with my Firefox? I have restarted my computer, I have shut it down, but my Yahoo Mail remains problematic when using Firefox.

    Firefox only allows you to save executable files. If you want to add an option to run them you can use the OpenDownload² add-on - https://addons.mozilla.org/firefox/addon/opendownload-10902

  • Why would my i7 Quad-core with 20 GB RAM run slowly when using PE12 for Mac

    Hi, I am evaluating the trial version of PSE 12 for Mac but it is so slow. Are there any good reasons for this as all other programs run fine.

    I don't know if you can do this with the trial, but try going to editor>help>updates and running the update to 12.1. It greatly improves performance on the mac.

Maybe you are looking for