Formatting command parameter

I'm using Crystal Reports 10 against a SQL Server 2005 database.
I have an external stored procedure that expects the date to be passed in mm/dd/yyyy format. However, when I create a date parameter for the Command that calls it, Crystal translates it into SQL Server format, which presumably is read as yyyy-mm-dd. I could work around this by using a string parameter, but then I'd lose the calendar control.
Is there any way to get both the date-picking functionality and my desired formatting? Thanks.
Edited by: Garrett Fitzgerald on Sep 2, 2008 4:45 PM to indicate version

Hi Garrett Fitzgerald,
In order to get the date value like mm/dd/yyyy
try adding command in crystal reports like this
exec (stored procedure name) (month({?date parameter})+"/"+day(({?date parameter})+"/"+year(({?date parameter}))
I hope this helps!
Raghavendra

Similar Messages

  • Why did Solaris 10 X86 change the output of the format command?

    Solaris 8,9, & 10 for Sparc all display disk manufacturer information on the format command output:
    0. c1t0d0 <SUN36G cyl 24620 ... >
    1. c1t1d0 <SEAGATE-ST3360704FSUN36G-0826 cyl 24620 ... >
    But for X86 this information is not displayed:
    0. c1t0d0 <DEFAULT cyl 17846 ... >
    1. c1t1d0 <DEFAULT cyl 17846 ... >
    We need to read this programatically to distinguish certain physical drives. What happened to this information? Is this a bug?

    Solaris 8,9, & 10 for Sparc all display disk
    manufacturer information on the format command
    output:
    0. c1t0d0 <SUN36G cyl 24620 ... >
    1. c1t1d0 <SEAGATE-ST3360704FSUN36G-0826 cyl 24620
    ... > I believe this information is in the disk label. I think on first label some of that information can be queried, but it doesn't always reflect the actual disk.
    But for X86 this information is not displayed:
    0. c1t0d0 <DEFAULT cyl 17846 ... >
    1. c1t1d0 <DEFAULT cyl 17846 ... >'format' on x86 is only looking at one fdisk-style slice, not the physical disk.
    We need to read this programatically to distinguish
    certain physical drives. What happened to this
    information? Is this a bug?More information does appear in some situations, but I'm not sure where it's querying the information. Again, the label is not a good indicator of what the physical disk is, because that data can be copied.
    You might try 'iostat -En' and see if that has sufficient information.
    Darren

  • HP SAN LUN not appearing in format command after applying 10-Recommended

    We applied the 10-Recommended from March 18 and now the HP SAN LUNs are not appearing in the format command and when we cd to the mount points and run ls or ls -l no files are returned. We have verified that the LUNs are being presented by the HP SAN to the system as they were before applying the patch cluster. This is on an E-2900 with QLogic HBAs.
    Edited by: James_McKenzie on May 20, 2009 4:05 PM

    Do the LUNs show up under "fcinfo", like the following example?
    -bash-3.2# fcinfo hba-port
    HBA Port WWN: 210000e08b18670d
         Port Mode: Initiator
         Port ID: 1
         OS Device Name: /dev/cfg/c5
         Manufacturer: QLogic Corp.
         Model: QLA2340
         Firmware Version: 03.03.27
         FCode/BIOS Version:  BIOS: 1.52;
         Serial Number: not available
         Driver Name: qlc
         Driver Version: 20080617-2.30
         Type: L-port
         State: online
         Supported Speeds: 1Gb 2Gb
         Current Speed: 2Gb
         Node WWN: 200000e08b18670d
         NPIV Not Supported
    HBA Port WWN: 210000e08b1a94d8
         Port Mode: Initiator
         Port ID: 1
         OS Device Name: /dev/cfg/c1
         Manufacturer: QLogic Corp.
         Model: QLA2340
         Firmware Version: 03.03.27
         FCode/BIOS Version:  BIOS: 1.43;
         Serial Number: not available
         Driver Name: qlc
         Driver Version: 20080617-2.30
         Type: L-port
         State: online
         Supported Speeds: 1Gb 2Gb
         Current Speed: 2Gb
         Node WWN: 200000e08b1a94d8
         NPIV Not Supported
    -bash-3.2# fcinfo remote-port -ls -p 210000e08b18670d
    Remote Port WWN: 200600a0b8166aee
         Active FC4 Types:
         SCSI Target: yes
         Port Symbolic Name:
         Node WWN: 200600a0b8166aec
         Link Error Statistics:
              Link Failure Count: 411
              Loss of Sync Count: 37694
              Loss of Signal Count: 792
              Primitive Seq Protocol Error Count: 0
              Invalid Tx Word Count: 0
              Invalid CRC Count: 0
         LUN: 0
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000007349FD1521d0s2
         LUN: 1
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166B0D000000A049FD1836d0s2
         LUN: 2
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009649FC6F02d0s2
         LUN: 3
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000006D49FC6C85d0s2
         LUN: 4
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009C49FC70B2d0s2
         LUN: 5
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000006F49FC6D71d0s2
         LUN: 6
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009E49FC75DCd0s2
         LUN: 7
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000007649FD158Dd0s2
         LUN: 8
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166B0D000000A249FD18AEd0s2
         LUN: 31
           Vendor: IBM    
           Product: Universal Xport
           OS Device Name: /dev/rdsk/c5t2d31s2
    Remote Port WWN: 200700a0b8166aee
         Active FC4 Types:
         SCSI Target: yes
         Port Symbolic Name:
         Node WWN: 200600a0b8166aec
         Link Error Statistics:
              Link Failure Count: 586
              Loss of Sync Count: 22570
              Loss of Signal Count: 1436
              Primitive Seq Protocol Error Count: 0
              Invalid Tx Word Count: 0
              Invalid CRC Count: 0
         LUN: 0
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000007349FD1521d0s2
         LUN: 1
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166B0D000000A049FD1836d0s2
         LUN: 2
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009649FC6F02d0s2
         LUN: 3
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000006D49FC6C85d0s2
         LUN: 4
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009C49FC70B2d0s2
         LUN: 5
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000006F49FC6D71d0s2
         LUN: 6
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166B0D0000009E49FC75DCd0s2
         LUN: 7
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166AEC0000007649FD158Dd0s2
         LUN: 8
           Vendor: IBM    
           Product: 1742-900       
           OS Device Name: /dev/rdsk/c0t600A0B8000166B0D000000A249FD18AEd0s2
         LUN: 31
           Vendor: IBM    
           Product: Universal Xport
           OS Device Name: /dev/rdsk/c5t3d31s2

  • FORMAT command hangs on SOL 10...

    I have V440...when I run the FORMAT command, it just hangs there.
    Here is a metastat cmd output:
    # metastat
    d6: Mirror
    Submirror 0: d16
    State: Needs maintenance
    Submirror 1: d26
    State: Resyncing
    Resync in progress: 20 % done
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 371253834 blocks (177 GB)
    d16: Submirror of d6
    State: Needs maintenance
    Size: 371253834 blocks (177 GB)
    Stripe 0: (interlace: 32 blocks)
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s6 0 No Maintenance Yes
    c1t2d0s0 2889 No Okay Yes
    Stripe 1:
    Device Start Block Dbase State Reloc Hot Spare
    c3t8d0s0 10176 No Okay Yes
    Stripe 2:
    Device Start Block Dbase State Reloc Hot Spare
    c3t9d0s0 10176 No Okay Yes
    d26: Submirror of d6
    State: Resyncing
    Size: 371253834 blocks (177 GB)
    Stripe 0: (interlace: 32 blocks)
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s6 0 No Okay Yes
    c1t3d0s0 2889 No Maintenance Yes
    Stripe 1:
    Device Start Block Dbase State Reloc Hot Spare
    c3t10d0s0 10176 No Resyncing Yes
    Stripe 2:
    Device Start Block Dbase State Reloc Hot Spare
    c3t11d0s0 10176 No Okay Yes
    d1: Mirror
    Submirror 0: d11
    State: Needs maintenance
    Submirror 1: d21
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 8193204 blocks (3.9 GB)
    d11: Submirror of d1
    State: Needs maintenance
    Invoke: metareplace d1 c1t0d0s1 <new device>
    Size: 8193204 blocks (3.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s1 0 No Maintenance Yes
    d21: Submirror of d1
    State: Okay
    Size: 8193204 blocks (3.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s1 0 No Okay Yes
    d0: Mirror
    Submirror 0: d10
    State: Needs maintenance
    Submirror 1: d20
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20480121 blocks (9.8 GB)
    d10: Submirror of d0
    State: Needs maintenance
    Invoke: metareplace d0 c1t0d0s0 <new device>
    Size: 20480121 blocks (9.8 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s0 0 No Maintenance Yes
    d20: Submirror of d0
    State: Okay
    Size: 20480121 blocks (9.8 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s0 0 No Okay Yes
    Device Relocation Information:
    Device Reloc Device ID
    c1t1d0 Yes id1,sd@SFUJITSU_MAP3367N_SUN36G_00N0244G____
    c1t3d0 Yes id1,sd@SFUJITSU_MAP3367N_SUN36G_00N023GR____
    c3t10d0 Yes id1,sd@THITACHI_HUS103073FL3800_V3WTPTJA
    c3t11d0 Yes id1,sd@THITACHI_HUS103073FL3800_V3WTPL2A
    IOSTAT output:
    # iostat -En
    c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: SEAGATE Product: ST336607LSUN36G Revision: 0707 Serial No: 0350AX5NBC
    Size: 36.42GB <36418595328 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0322N0244G
    Size: 36.42GB <36418595328 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c1t2d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0322N023HT
    Size: 36.42GB <36418595328 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c0t0d0 Soft Errors: 3 Hard Errors: 0 Transport Errors: 0
    Vendor: TOSHIBA Product: DVD-ROM SD-C2612 Revision: 1011 Serial No:
    Size: 0.00GB <0 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 3 Predictive Failure Analysis: 0
    c1t3d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: FUJITSU Product: MAP3367N SUN36G Revision: 0401 Serial No: 0322N023GR
    Size: 36.42GB <36418595328 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c3t8d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: HITACHI Product: HUS10733ASUN72G Revision: PA05 Serial No: 0649RWT3KB
    Size: 73.40GB <73400057856 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c3t9d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: HITACHI Product: HUS10733ASUN72G Revision: PA05 Serial No: 0649RWTPGZ
    Size: 73.40GB <73400057856 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c3t10d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: HITACHI Product: HUS10733ASUN72G Revision: PA05 Serial No: 0649RWTPTJ
    Size: 73.40GB <73400057856 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    c3t11d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
    Vendor: HITACHI Product: HUS10733ASUN72G Revision: PA05 Serial No: 0649RWTPL2
    Size: 73.40GB <73400057856 bytes>
    Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
    Illegal Request: 0 Predictive Failure Analysis: 0
    any ideas?
    thanks

    Dmesg does not reveal any hard disk issues....
    Here is the METADB ouput:
    # metadb -i
    flags first blk block count
    a m p luo 16 8192 /dev/dsk/c1t1d0s7
    a p luo 8208 8192 /dev/dsk/c1t1d0s7
    a p luo 16400 8192 /dev/dsk/c1t1d0s7
    a p luo 16 8192 /dev/dsk/c1t2d0s7
    a p luo 8208 8192 /dev/dsk/c1t2d0s7
    a p luo 16400 8192 /dev/dsk/c1t2d0s7
    a p luo 16 8192 /dev/dsk/c1t3d0s7
    a p luo 8208 8192 /dev/dsk/c1t3d0s7
    a p luo 16400 8192 /dev/dsk/c1t3d0s7
    a p luo 16 8192 /dev/dsk/c3t8d0s7
    a p luo 8208 8192 /dev/dsk/c3t8d0s7
    a p luo 16400 8192 /dev/dsk/c3t8d0s7
    a p luo 16 8192 /dev/dsk/c3t9d0s7
    a p luo 8208 8192 /dev/dsk/c3t9d0s7
    a p luo 16400 8192 /dev/dsk/c3t9d0s7
    a p luo 16 8192 /dev/dsk/c3t10d0s7
    a p luo 8208 8192 /dev/dsk/c3t10d0s7
    a p luo 16400 8192 /dev/dsk/c3t10d0s7
    a p luo 16 8192 /dev/dsk/c3t11d0s7
    a p luo 8208 8192 /dev/dsk/c3t11d0s7
    a p luo 16400 8192 /dev/dsk/c3t11d0s7
    r - replica does not have device relocation information
    o - replica active prior to last mddb configuration change
    u - replica is up to date
    l - locator for this replica was read successfully
    c - replica's location was in /etc/lvm/mddb.cf
    p - replica's location was patched in kernel
    m - replica is master, this is replica selected as input

  • Passing database command parameter to sub-report

    I'm trying to pass a runtime parameter from a main report to a database command parameter in a sub-report, and having some trouble.
    My main report has parameter fields (Vendor, Manufacturer, etc) that the user selects at runtime - the result set includes Item Code - that part is working fine.  Where I'm having trouble is with linking to the sub-report.  My sub-report has a stored command that takes a parameter (ItemCode) and counts the number of times it's shown up on an invoice.  When I created the command, it asked for a value for the parameter, and won't accept a blank entry.  Now, whenever I try to run the main report, it asks for the ItemCode parameter for the sub-report - which kind of defeats the purpose.  I've tried linking from ?Pm-OITM.ItemCode in the main report, but the Subreport Links window doesn't show the Command parameter to link to.
    How do I take a field from the main report and pass it to a sub-report to be used as a parameter in a stored database command? 
    I'm running CR 2008, and SAP B1 2007 PL 42 on MS SQL 2005, and I'm still pretty new at CR, so details help.
    Thanks.

    Go to change subreport links and add Item Code from main report and then you can see the sureport stored procedure parameter in the Subreport parameters list, select the parameter and do not select any field from subreport.
    You will be able to see the stored procedure parameter in the list only when the Item Code and the parameter are of same data type.
    Regards,
    Raghavendra

  • Cannot see disk in J4200 by "format" command - Solaris 10

    Dear all,
    I have a Sun SPARC T2000 server and a J4200 array connected to each other by SAS cable. The T2000 server was installer Solaris 10u8.
    I installed CAM 6.5 software in my server and I successfully registered the J4200 array, after that, I can see all disks in this array.
    However, when I issued the "format" command, I didn't see any disk in my array. I've got the same result after performing a reconfiguration boot.
    I do not know how to do now to see the disks in this array.
    Please help me in this case.
    Thank all of you very much.
    HuyNQ.

    Folks,
    Interesting info as I tried with SPARC base runing Solaris 10 OS. The daemon is auto imported the unit without I have to issue the OS scan device "devfsadm".
    # cat /etc/release
    Solaris 10 3/05 s10_74L2a SPARC
    Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 22 January 2005
    This issue is seen on X386 platform, only.
    # cat /etc/release
    Solaris 10 3/05 s10_74L2a X86
    Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
    Use is subject to license terms.
    Assembled 22 January 2005
    thanks
    Hoang.

  • Strange output from format command

    Hi,
    We have a Sun V480 running Solaris 8. We have installed 2 SG-XPCI2FC-QF2 fibercards. They are connected to an EVA3000 system. SFS newest version are also installed.
    Have configured the cards with the cfgadm command. But when i run a format command i get this output. Normally it will show somthing like this c1t0d1. But here it shows c11t50001FE15005F54Dd1
    format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
    0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
    /pci&#64;8,600000/SUNW,qlc&#64;4/fp&#64;0,0/ssd&#64;w21000004cf8ffa54,0
    1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
    /pci&#64;8,600000/SUNW,qlc&#64;4/fp&#64;0,0/ssd&#64;w21000004cf96abc8,0
    2. c11t50001FE15005F54Dd1 <HP-HSV200-5020 cyl 6398 alt 2 hd 128 sec 128>
    /pci&#64;8,700000/SUNW,qlc&#64;1/fp&#64;0,0/ssd&#64;w50001fe15005f54d,1
    3. c11t50001FE15005F549d1 <HP-HSV200-5020 cyl 6398 alt 2 hd 128 sec 128>
    /pci&#64;8,700000/SUNW,qlc&#64;1/fp&#64;0,0/ssd&#64;w50001fe15005f549,1
    4. c12t50001FE15005F54Cd1 <HP-HSV200-5020 cyl 6398 alt 2 hd 128 sec 128>
    /pci&#64;8,700000/SUNW,qlc&#64;2/fp&#64;0,0/ssd&#64;w50001fe15005f54c,1
    5. c12t50001FE15005F548d1 <HP-HSV200-5020 cyl 6398 alt 2 hd 128 sec 128>
    /pci&#64;8,700000/SUNW,qlc&#64;2/fp&#64;0,0/ssd&#64;w50001fe15005f548,1
    Specify disk (enter its number):
    Can anyone explain this? I was possible to format the disk. But are this OK?
    Thanks,

    Rather than having disk target numbers, format now see's the disks WWN or World Wide Number. If you look at your output, disk 0 and disk 1 have the standard c1t0d0 and c1t1d0 identifiers, but the targets on controller 11 and 12 show the WWN for the LUNs/disks on the EVA3000. This is to help with multipathing etc. Yes it is on to slice the LUNs/disks.

  • Status gui &XXL (export to excel format)command doesnu00B4t work

    hi gurus i copied the standar GUI menu from SAPLKKBL and every thing its ok except the &XXL (export to excel format)command .
    i push this button and nothing happens. The popup doesn appear what is wrong? i have excel in my pc and when i use the %PC
    command it works fine and converts to excel but i need the mmhtml format so i need the &XXL command works . any idea?

    IM DOING SOME TEST I CHANGE THE TYPE OF ALV AND IT WORKS, BUT I NEED TO USE THE REUSE_ALV_BLOCK_LIST_DISPLAY AND THE PROBLEM IS WITH THIS TYPE OF ALV
    Moderator message - Please do not use all caps!
    Edited by: Rob Burbank on Sep 27, 2010 5:25 PM

  • How to Disable Prompt for Command Parameter Vale

    I have a CR that uses an SQL Command for the report query. There is a parameter in the Command Where clause like the following:
    WHERE  type = '{?type}'
    The "type" parameter is also listed in the Command Parameter List. "Type" is also listed as a report parameter in the Field Explorer under Parameter Fields.
    I am sending the value of "type" to the report from an asp.net web form using the following C# in the code behind:
    string strType = "VENDOR";
    crystalReport.SetParameterValue("type", strType);
    My issue is when the report is run, it still prompts the user for type, even though I am sending a value for the type parameter to the report. Is there a way to disable the prompt for a Command Parameter value?
    I am using CR2011 and VS2010Pro.

    Hi,
    Check if you are refreshing the reportobject after setting the parameter values. if yes, comment it.
    Also create a sample applicationwith below code, drop a CR viewer on the design page and see if the issue can be reproduced.
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    using CrystalDecisions.Web;
    public partial class _Default : System.Web.UI.Page
        protected void Page_Load(object sender, EventArgs e)
            ReportDocument rd = new ReportDocument();
           rd.Load(Server.MapPath("Report1.rpt"));
          rd.SetParameterValue("Parameter Name", "value");
         CrystalReportViewer1.ReportSource = rd;
    - Bhushan

  • Dynamic Command Parameter Prompts twice for Value

    I am having trouble in CR 2008 with command parameters.  Whenever I make the command parameter dynamic, I am prompted twice for the value: first I'm prompted to enter the value freehand, then the second prompt is a dropdown list with just the freehand value (or an error if the freehand value does not exist in the db).
    I need to use dynamic command parameters for two reasons: 1) to allow users to select the value from a dropdown list rather than a free-text value, and 2) to limit the record set returned from my initial command query.
    Any help on how to get dynamic command parameters to display all values in a dropdown list, and in one prompt, is appreciated!

    Hi
    If you create a parameter in your command it will be always static.  You can't make this as dynamic because, once your command get executed only you will get values in your report or in your list of values (dynamic parameter).
    There is a work around for this :
    --Create a report with command without any parameters at command level
    --Create a dynamic parameter at report level and do not place any fields in your report.
    --Now insert your orginal report as sub report in Report footer.
    --Right click on your sub report and go in change sub report links and link Main report dynamic parameter to your sub report command parameter.
    --Suppress all other section in your main report.
    Now when you refresh, it will execute your main report dynamic parameter with pick list.  Once user selects a value it will be passed to your command parameter.
    Thanks,
    Sastry

  • Reg format command output

    Hi ,
    This regarding the observation I am seeing on two systems. In a system the format command shows as below
        c3t2d0 <ATA-WDC WD2500YS-18S-6C07 cyl 30392 alt 2 hd 255 sec 63>
    /pci@0,0/pci8086,2779@1/pci8086,32c@0/pci1028,1f09@8/sd@2,0
    In another system the same command shows as below
    c5t5000CCA01B6AB285d0 <HITACHI-HUS723020ALS640-A222-1.82TB>
    /pci@0,0/pci8086,3c06@2,2/pci15d9,691@0/iport@ff/disk@w5000cca01b6ab285,0
    /dev/chassis/LSI-SAS2X36.50030480008b403f/Slot_22/disk
    In fist server it shows, available HDD as c3t2d0 but in second server it shows as c5t5000CCA01B6AB285d0.
    May I know the reason?

    Solaris uses the WWN when the disk uses one of these technologies : SAS or Fibre Channel

  • Paste Without Formatting (Command+Option+V) missing! (Upgraded to OSX ML)

    I've upgraded from Snow Leopard to Mountain Leopard in the past week, and I've noticed that the shortcut for Paste Without Formatting (Command+Option+V) doesn't work.
    I've also installed Evernote, and I've experimented by trying to assign Command+Option+V to "Paste to Evernote"
    I get the error message that Command+Option+V is
    already used by the menu item "Paste Without Formatting"
    I've checked inside the System Preferences> Keyboard Shortcuts but I haven't found that shortcut assigned.
    I'm assuming it's a system-wide assignment. Problem is that it's not working,.. How can I reactivate this?

    I've upgraded from Snow Leopard to Mountain Leopard in the past week, and I've noticed that the shortcut for Paste Without Formatting (Command+Option+V) doesn't work.
    I've also installed Evernote, and I've experimented by trying to assign Command+Option+V to "Paste to Evernote"
    I get the error message that Command+Option+V is
    already used by the menu item "Paste Without Formatting"
    I've checked inside the System Preferences> Keyboard Shortcuts but I haven't found that shortcut assigned.
    I'm assuming it's a system-wide assignment. Problem is that it's not working,.. How can I reactivate this?

  • Format Command Hangs

    Hi,
    Other day, a guy was running the format command in SunOS 5.8 and he killed the process to end it. Now whenever you try to run format again, it hangs with the message "Searching for disk...". Does anyone know how to fix this problem? Is there a lock file somewhere that I can delete?
    The system has 2 internal drives configured and a disk array connected to it that is not configured or partitioned.
    Thanks

    Check /var/adm/messages* for odd hardware errors, perhaps you could try and run devfsadm -C to clear out any devices that isn't there..
    You could also try and truss the format process to determine where it hangs.
    .7/M.

  • Help Using SQL*Plus Format Commands (like TTITLE) in Packages

    Where (within a package) can/should SQL*Plus format commands such as TTITLE, COLUMN & BREAK be coded?

    A package is coded in PL/SQL.
    TTITLE, COLUMN and BREAK are SQL*Plus commands, they cannot be used in PL/SQL.
    If you want to output data (using dbms_output) in your package, you'll have to implement the features yourself. But probably just using SQL*Plus is better in your case.
    Regards,
    Rob.

  • Date format for parameter data entry

    I've just started working on MS SQL Server 2008 for the first time and am using Crystal XI11.5.  I have a date parameter used to pick data.  It works fine but the users are used to entering dates in mm/dd/yyyy format but this parameter forces users to enter using yyyy-mm-dd.
    Normally I am not too concerned as there is the calendar but I have a couple of keyboard users who would like to just enter in the date format they are used to.   I can't find any spot in Crystal to change the data entry format for the dates.
    I do understand that SQL Server does store dates in yyyy-mm-dd format so is this why I only have this option?  Any way to change it?  I do have dates in the report presenting in d-MMM-yyyy format without problem, it's just the date entry prompt.
    TIA rasinc

    The later versions of CR will not allow you to directly edit the SQL statement. You actually have to add a Command and remove the tables from the data source. You can, if you wish, copy the SQL from the "Show SQL Query" and paste it into the Command.
    The reason I tried to delete my previous comment is because it dawned on me (after I made the comment)  that the date picker control itself, won't accept any format other than YYYY-MM-DD.  So, while you can write the SQL to accept a variety of date formats, you won't be able use any of them while using that control.
    The CR date picker control can be found (and therefore replaced by someone w/ more guts than me) in the following locations...
    C:\Program Files\Business Objects\Common\3.5\crystalreportviewers115\prompting
    C:\Program Files\Business Objects\Common\4.0\crystalreportviewers12\prompting
    Jason

Maybe you are looking for

  • Time Machine backup of iTunes didn't - folders are almost all empty.....

    Posted this in the iTunes forum as that's what I'm trying to restore using Time Machine, but thought I'd try here too Here's what happened.... Having a small hard drive on my old but current eMac and running out of room I decided to move my iTunes li

  • Dual Display Setup Macbook Pro to Mac Desktop

    i have a a mac book pro 2012 and a Desktop that is also mac. i was wondering if i could have a Dual Display Setup or would i have to use a different monetor? if yes than what cables will i need?

  • Trimming Time Stamp in File Name using IC

    Hello, scenario is File to File without mapping. We are using Integrated configuaration to achieve this. Issue is on target side file name is being written as xyz.ddmmyyyy-ssssss but we need to eliminate milliseconds and need target file name as xyz.

  • How to diagnose a System crash?

    My son has a 2010 iMac and it crashes about once a week. I've serviced it with Disk Warrior twice. The first time it found a problem with the Volume map, but the second time nothing. Can anyone tell me how to read the Console crash report? As this is

  • Limit Order Confirmation

    Classic Scenario - SRM 4.00 Does anybody knows how are Limit Order Confirmations being transferred to the backend? Although the G/R & Service Entry Sheet are in the backend we can't find any IDoc for the document. Are confirmations for Limit Orders b