Passing string data problem

Dear readers,
I came across some problem in my labview VI where I try to pass a string (stored in a local variable) to other string variables connected to that local variable. In this case, I have a local string variable called 'output_string1', which contains the string '123'. I have it set to 'write'. Then I connect 3 string Indicators to this local variable, called 'string1', 'string2', and 'string3'. I would expect these connected string indicators to also contain the string '123', as they're simply connected to the 'output_string1'. But the strange thing is that only 'string2', and 'string3' contains '123', but 'string1' contains a '.' (ie a dot). Would someone be able to provide some kind advice about what I might be doing wro
ng to get this result? I've attached the vi that I was making that demonstrates what I described. Thank you very much for your help.
Attachments:
remove_trailing_zeros_subvi.vi ‏78 KB

In the last sequence you have intended to concatinate a string from three inputs; the local variable before, a "." and a local of string1. BUT instead of reading the local of string1 you have it in write mode...and the "." is wired into it! So you really wire 123 to that indicator as well in sequence 5, but it is immediately overwritten by a "." in the next sequence.
That aside though there's two other things about the code that needs to be commented:
a) You use locals as you would use them if G was a textual language; like variables. In G though we try to avoid locals all together, in G the wire is the variable! The wire in addition ensures the next thing the code lacks; execution control.
b) Instead of sequences, use data flow. By working
with the wire instead of locals you can ensure that things execute in the order you want it to, without the need for a sequence structure. And without a sequence structure the code becomes much easier to read and maintain.
I have attached a modified version of your code that applies these two conversions to a "G" way of programming.
Removing trailing zeroes can be done much easier though, attached is also an example of one such way.
MTO
Attachments:
remove_trailing_zeros_Simplified.vi ‏45 KB
remove_trailing_zeros_improved.vi ‏22 KB

Similar Messages

  • SQL: Having problems passing a date value to dynamic SQL

    SQL Version 2008 (not R2)
    Problem:  1)  I'm getting the following error message when trying to run the sql code below.
    SQL "Messages" Returned when running code:
    Msg 206, Level 16,
    State 2, Procedure uspxc_WAWP_10_Get_VPData, Line 0
    Operand type clash: int is incompatible with date
    Loaded VP DATA for Month: 20121201
    Problem Code Line: 
    SET @dynamicSQL = 'EXEC ' + @StoredProcedureName + ' ' + @DEVModeYN + ', ' + CAST(@WIPMonth as varchar);
    Any help would be greatly appreciated.  I've spent several hours trying to get around this error.
    Full Code:
    ALTER PROCEDURE [dbo].[uspxi_XIUD_98_DataConversionGET_VP_WIPJobHistory] (@DEVModeYN nchar(1) = 'D', @WIPMonth Date)
    AS
    BEGIN 
     SET NOCOUNT ON;
     DECLARE @returnCode AS INT ,
       @dynamicSQL AS VARCHAR(8000),
       @msg as varchar(60),
       @DEVModeYN nchar(1) = 'D',
       @WIPMonth date = '20121201',
       @StoredProcedureName AS VARCHAR(60)
     SET @returnCode = 0
     SET @StoredProcedureName = 'uspxc_WAWP_10_Get_VPData'
    -- Check to see if @StoredProcedureName exists in the database.
    IF EXISTS(SELECT name FROM sys.procedures WHERE name = @StoredProcedureName)
     BEGIN 
      -- RUN SP to Import VP Data for each WIPMonth parameter value
      SET @dynamicSQL = 'EXEC ' + @StoredProcedureName + ' ' + @DEVModeYN + ', ' + CAST(@WIPMonth as varchar);
      SELECT @dynamicSQL;
      -- RUN stored procedure for WIP Month
      EXEC (@dynamicSQL);
      SET @returnCode = 0;
      SELECT @returnCode;
      SET @msg = 'Loaded VP DATA for Month: ' + @WIPMonth;
      PRINT @msg;
      GoTo SPEND
     END 
     ELSE
      SET @returnCode = 1;
      SET @msg = 'NO DATA IMPORTED for Month: ' + CAST(@WIPMonth as varchar(10))
      PRINT @msg
    SPEND:
    END
    Bob Sutor

    When you work with dynamic SQL, you should never build a full SQL string by concatenating values, because this is more difficult to get right and also has problems with SQL injection and efficient use of the SQL Server cache.
    So the correct way to do this in dynamic SQL would be:
    SET @dynamicSQL = 'EXEC ' + quotename(@StoredProcedureName)  '@DEVModeYN, @WIPMonth';
    EXEC sp_executesql @SQL, N'DEVModeYN nchar(1), @WIPMonth date',
                       @DEVModeYN, @WIPMonth
    A lot easier and cleaner! (Note that the variable @SQL must be declared as nvarchar.)
    ...however, in this particular case, this is still an overkill, and there is no need for dynamic SQL at all. EXEC accepts a variable for the procedure name, so:
    EXEC @StoredProcedureName @DEVModeYN, @WIPMonth
    ...but it does not stop there. You can make all these changes, but you will get the same error. To wit, you get the error on Line 0, which means that it is the call to the procedure that fails. Apparently, you are passing an integer value, when you were
    supposed to pass a date. Maybe you forgot to put the dates in quotes?
    Erland Sommarskog, SQL Server MVP, [email protected]

  • In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String

    In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .

    Hi Srinath,
    The below blog might be useful
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
    PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
    regards,
    Harish

  • Smartform Problem in Displaying a string data

    Hi Friends,
                     I am facing a problem while displaying a string data in smartform. Actually it is a one of the field's data in an internal table. It is a STRING field type of length 0. While populating in an internal table it is having a all the data(Around 700 char data). But while displaying in a smartform surprizingly only few characters(Around 225 char data). How can i overcome this problem?
    Regards,
    Sekhar.J

    Hi
    try this and see
    Declare some Variables of 72 char each and split that long string data of internal table text field into them and display these variables strings one below other in smartform
    var1 = itab-text+0(72)
    var2 = itab-text+72(72)
    var3 = itab-text+144(72)
    like that
    and display one below other in smartform.
    &VAR1&
    &VAR2&
    &VAR3&
    Reward points for useful Answers
    Regards
    Anji

  • Problem in BADI crm_isa_basket_head to pass ct_extension data to ct_text

    Hi Experts/Gurus,
    I had a problem when i am passing the ct_extension data to ct_text. I need to pass the data of two new fields created in order jsp as extension data. For this i used the BADI method "changehead_before_order" and i had passed this extensoin data from ct_extension to ct_text which can be passed to crm_order_maintain before order. And when i try to get the data using the method gethead_get_data, in this iam calling CRM_ORDER_READ to get the values of IT_TEXT, the b2b webshop is giving an error and asking to logon again.
    The below is the code which i have written in both the methods:
    METHOD if_ex_crm_isa_basket_head~changehead_before_order.
      DATA : ls_orderadm_h  TYPE LINE OF      crmt_orderadm_h_comt,
             wa_orderadm_h  TYPE LINE OF      crmt_orderadm_h_comt,
             ls_extension   TYPE              crmt_isales_extension,
             wa_extension   TYPE              crmt_isales_extension,
             ls_text        TYPE              crmt_text_comt,
             ls_lines       TYPE              comt_text_lines_t,
             wa_lines       LIKE LINE OF      ls_lines,
             wa_text        LIKE LINE OF      ls_text,
      READ TABLE it_extension INTO wa_extension WITH KEY name = 'ZEXTNSM'.
      wa_text-ref_guid = wa_extension-ref_guid.
    *  wa_text-tdobject = 'CRM_ORDERH'.
    *  wa_text-tdname = wa_extension-ref_guid.
      wa_text-tdid     = '0001'.
      wa_lines-tdline = wa_extension-value.
      APPEND wa_lines TO ls_lines.
      wa_text-lines = ls_lines.
      INSERT wa_text INTO TABLE ct_text.
      CLEAR wa_text.
      CLEAR wa_lines.
      CLEAR ls_lines.
      READ TABLE it_extension INTO wa_extension WITH KEY name = 'ZEXTNSI'.
      wa_text-ref_guid = wa_extension-ref_guid.
      wa_text-tdid     = '0002'.
      wa_lines-tdline = wa_extension-value.
      APPEND wa_lines TO ls_lines.
      wa_text-lines = ls_lines.
      INSERT wa_text INTO TABLE ct_text.
    * ct_text = ls_text.
    * append ls_text to CT_TEXT.
    ENDMETHOD.
    to get the data :
    METHOD if_ex_crm_isa_basket_head~gethead_get_data.
      DATA : ls_extension TYPE crmt_isales_extension,
             ls_text        TYPE              crmt_text_comt,
             wa_text        type      CRMT_TEXT_COM,
             ls_lines       TYPE  comt_text_lines_t ,
             wa_lines       type      TLINE,
             ls_basket_head TYPE crmt_isales_baskethead_ui,
             lv_objectid    type CRMT_OBJECT_ID.
      lv_objectid = cs_basket_head-OBJECT_ID.
      if lv_objectid is not initial.
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid = cs_basket_head-guid
        IMPORTING
          et_text        = ls_text.
      READ TABLE ls_text INTO wa_text WITH KEY tdid  = 'ZSM'.
    *Appending the discount value from the database.
      ls_extension-ref_guid = cs_basket_head-guid.
      ls_extension-name = 'ZEXTNSM'.
        ls_lines[] = wa_text-lines[].
      READ TABLE ls_lines INTO wa_lines INDEX 0.
      ls_extension-value = wa_lines-TDLINE.
      APPEND ls_extension TO ct_extension.
      CLEAR ls_extension.
    endif.
    ENDMETHOD.
    When i put the external break point and checked, in the webshop when i click the update button, in the method changehead_before_order, in the ct_extension table i am getting the values and keys which i have set in the java action. But when i click "order" button, i am not getting anything in ct_extension table which i cannot in turn pass this values to ct_text.
    Can you please help me in this regard??
    Thanks a lot in Advance!
    Regards,
    Lakshman.

    The header guid i am trying to pass to the crm_order_read is a mismatch.

  • Problem with prepared statement where cluase when passing string value.Help

    I am updating a table using the following code. I am using string parameter in where clause. if I use Long parameter in where clause with ps.setLong , this code is working. Is there any special way to pass string value? Am I doing anything wrong?
    ===================
    updateMPSQL.append("UPDATE MP_Table SET ");
         updateMPSQL.append("MPRqmt = ?,End_Dt = ? ");
              updateMPSQL.append("where POS = ? ");
              System.out.println(updateMPSQL.toString());
              con     = getConnection(false) ;
              ps      = con.prepareStatement(updateMPSQL.toString());
              ps.setLong(1,MPB.getMPRqmt());
              ps.setDate(2,MPB.getEnd_Dt());
              ps.setString(3,MPB.getPos());
    result = ps.execute();
              System.out.println("Result : " + result);
    ==========
    Please help me.
    Thanks in advance.
    Regards,
    Sekhar

    doesn't Pos look like a number rather than a string variable?
    if I use Long
    parameter in where clause with ps.setLong , this code
    is working.
    updateMPSQL.append("where POS = ? ");
    ps.setString(3,MPB.getPos());

  • Problem in passing Modified date through Go url

    Hi All
    I am trying to pass parameters through url to report.
    Its working fine and passing row id of the record but when i try to pass modified date also, it takes me to no result view where i can see that value has been passed to report but the results are not filtered, instead no result view.
    While passing date in url as parameter do we have extra consideration?
    Anybody has faced smilar kind of scenario.

    I am getting the following error when trying to pass modified date for oppty.
    Error getting drill information: SELECT Opportunity.Name saw_0, Opportunity."Opportunity ID" saw_1, Opportunity."Sales Type" saw_2, Opportunity.Priority saw_3, Opportunity."Last Modified" saw_4 FROM "Opportunity Lists" WHERE (Opportunity."Opportunity ID" = 'AAPA-6EEC9X') AND (Opportunity."Last Modified" = timestamp '0000-00-00 00:00:00')
    Error Details
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46048] Datetime Month value 0 from 0000-00-01 is out of range. (HY000)
    SQL Issued: {call NQSGetLevelDrillability('SELECT Opportunity.Name saw_0, Opportunity."Opportunity ID" saw_1, Opportunity."Sales Type" saw_2, Opportunity.Priority saw_3, Opportunity."Last Modified" saw_4 FROM "Opportunity Lists" WHERE (Opportunity."Opportunity ID" = ''AAPA-6EEC9X'') AND (Opportunity."Last Modified" = timestamp ''0000-00-00 00:00:00'')')                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem in passing a date field to initilaize a VO query

    Hi,
    I am stuck with date issue
    I am passing end date to a VO query as parameter.
    this date is oracle.jbo.domain.date
    public void initQuery(Number swapHeaderId, Date start_date, Date end_date)
    setWhereClauseParam(0, end_date);
    When i print this end_date I get 2011-08-15
    In VO query I have mentioned
    Select Srsf.Swap_Header_Id From Sfifin.Sfi_Rm_Swap_Fills Srsf ,Sfifin.Sfi_Rm_Swap_Header Srsh, Sfifin.Sfi_Rm_Offer_Lines Srol Where Srsf.Swap_Header_Id = Srsh.Swap_Header_Id
    And Srol.Offer_Line_Id = Srsf.Offer_Line_Id And Srol.Offer_Header_Id = Srsf.Offer_Header_Id And Srsf.Swap_Header_Id = 124
    And to_char(Srol.End_Date,'YYYY-MM-DD') > to_char(to_date(:1,'YYYY-MM-DD'),'YYYY-MM-DD')
    Now when this Vo executes I get this error.
    java.sql.SQLException: ORA-01858: a non-numeric character was found where a numeric was expected
    I have tried all means but am unable to solve this issue.I have even tried to use
    Srol.End_Date>to_date(:1,'YYYY-MM-DD') in where clause but still the same error when I am hardcoding this parameter its working fine .
    Please help.

    setWhereClauseParam(0, end_date);Change this to
    setWhereClauseParam(0, end_date.toString());In VO query change
    Srol.End_Date > TO_DATE((to_char(trunc(to_date(:1)),'DD-MON-YYYY') ),'DD-MON-YYYY')Hope it helps!!
    Thanks
    AJ

  • String data passed to DDC_SetDataValues

    Using the DIAdem connectivity library, you can call DDC_SetDataValues to store data in a channel. If the channel contains string data, what is the format for the values parameter? My guess would be a sequence of back-to-back null-terminated strings but the API documentation does not say.
    Solved!
    Go to Solution.

    I figured this out. When storing string data, DDC_SetDataValues takes a pointer to an array of pointers to C strings, like DDC_GetDataValues.
    This is documented for  DDC_GetDataValues. It should also be documented for DDC_SetDataValues.

  • Passing a Date value from a BI Dashboard prompt to a BI Publisher param

    Hello everyone,
    I have a dashboard page with a Date (type: Date). This date is linked with a presentation variable vpres_datedanssemaine.
    In my time dimension (name: Date) I have 3 columns:
    -"Date" which is the date
    -"Lundi de semaine" ("Monday of the week") which is the monday of the week whose includes "Date"
    -"Dimanche de semaine" ("Sunday of the week") (you understand the purpose...)
    (Weeks go from Monday to Sunday)
    It works perfectly in BI answers when I use this filter :
    "Lundi de semaine" lesser than or equal to @{vpres_datedanssemaine}
    AND "Dimanche de semaine" greater than or equal to @{vpres_datedanssemaine}
    The problem arises when I try to substitute the BI Answer report by a Publisher one in the Dashboard.
    The publisher report defines a parameter:
    -Name: vpres_datedanssemaine
    -Data Type: Date
    -Parameter type: Date
    -Date format string: yyyyy-MM-dd HH-mm-ss
    The filter we use
    Date."Lundi de semaine" <= :vpres_datedanssemaine AND
    Date."Dimanche de semaine" >= :vpres_datedanssemaine
    When we run the dashboard page, we get an error " Error can be displayed due to an error. Contact an administrator".
    Do you see an error anywhere?
    Did someone manage to pass a Date from a dashboard prompt to a BI Publisher parameter?
    Thanks
    Edited by: Jerome D on Jan 23, 2009 10:06 AM

    Hi
    see whether this is helpful or not for you...
    http://oraclebizint.wordpress.com/2007/10/19/oracle-bi-ee-101332-dashboard-prompts-and-bi-publisher/
    Thanks & Regards
    Kishore Guggilla

  • Passing XMLType Data into oracle stored procedure using JDBC

    Hi Friends,
    I have requirement where my oracle stored procedure accepts XML file as an input. This XML File is generated in runtime using java, I need to pass that xml file using JDBC to oracle stored procedure. Please let me know the fesibile solution for this problem.
    Following are the environment details
    JDK Version: 1.6
    Oracle: 10g
    Server: Tomcat 6.x
    Thanks in Advance

    user4898687 wrote:
    I have requirement where my oracle stored procedure accepts XML file as an input. This XML File is generated in runtime using java, I need to pass that xml file using JDBC to oracle stored procedure. Please let me know the fesibile solution for this problem.As stated - no.
    A 'file' is a file system entity. There is no way to pass a 'file' anywhere. Not PL/SQL. Not java.
    Now you can pass a file path (a string) in java and to PL/SQL.
    Or you can pass xml data (a string) in java and to PL/SQL. For PL/SQL you could use eithe a varchar2, if the xml is rather small, or a blob/clob.

  • Datetime field overflow / String data right truncation

    Hi All,
    Getting the follwing erros while working with timestamp for selecting from or inserting data into DB2 through WebSphere 6.1.
    I am passing values like this: 2006-05-02-21.57.26.744341.
    The queries run fine while executing through some SQL Frontend editor.
    [IBM][CLI Driver] CLI0114E Datetime field overflow. SQLSTATE=22008
    [IBM][CLI Driver] CLI0109E String data right truncation. SQLSTATE=22001
    Please let me know the problem.

    If you are trying to convert to a java.sql.Timestamp as part off the process of inserting into DB2 then Timestamp is derived from java.util.Date which holds the time in milli-seconds but you are providing a microseconds field.
    Could this be the problem?

  • String Data-Loss over Sockets

    I have some code that sends strings through a socket to a C++ program on another machine.
    The test strings I have been using are three characters long (i.e. 6 bytes). The buffer size I have put on the socket is 72 bytes, so I should have no problem writing these strings.
    The first three strings always arrive at the other program fine, BUT after that, only a substring of each string seems to get through. I am absolutely certain that the strings are complete before I send them, because I print it to the screen at the same time.
    I have tried change the style of output stream I use (I have used DataOutputStream, BufferedOutputStream, BufferedWriter, StringWriter, and PrintWriter. It still happens.
    Can anybody tell me why this might happen?
    - Adam

    Without more info it is hard guessing. If you want
    reassurance that it should work, then yes, it should
    work.-(Well that's kinda what I'm looking for. I'm wondering if anybody knows of a reason why a C++ program (running in windows -- btw, not by my choice) would read the string differently than a java program?
    For all the XxxWriter types you used, I hope you
    declared the charset to be one that preserves the
    2bytes/char you expect (UTF-8 and ISO8859-1 aren't).I haven't modified that from whatever default is set. This may be the probelm, I will look into that, thanks.
    You certainly did not use the BufferedOutputStream
    without somehow encoding the characters into bytes,
    so how did you do? I'm not sure (it was last week that I tried it) but I think the BufferedOutputStream has a method writeBytes(String) that I used.
    For DataOutputStream, I hope you
    used writeChar, which guarantees that 2bytes/char are
    send. Nope. I mostly tried to stick with methods that accept a String, so that I was sure that it was sent out in the right format to be read back in as a String. I wasn't sure what the actually format of a String is, when passed through a socket, specifically, if there is a terminating character (I know C uses a \0 to end the string). Is there any additionl info need to write a string to a socket?
    If you did all this, ... well I would not
    fiddle with the socket's buffer size.Sorry, but I may have to maintain a low buffer size, because these strings are not the only things being sent over this socket. Do you think the buffer size is affecting the problem. I wondered, but the buffer size seems more than large enough to send 3 character strings.
    That's all that comes to mind. Did you try netcat
    (aka nc) as a server to make sure the problem is not
    at the receiving end?I haven't tried this yet, but I will if I can't figure this out. Unfortunately, I'm NOT the author of the code that recieves the data, and the guy who is has simply assumed that the problem is my fault (although he's never actually tested his code with the string data being sent before), and is not interested in checking to make sure he's done it right. I tried looking over his code, but he's got the input routine burried in an #include file that I don't have.
    Thanks for the input, Harald. There are a few things there that I will look into.
    - Adam

  • Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000] String data, right truncation [SQLSTATE 01004] [SQLSTATE 08S01] error

    I'm looking for some general guidance on this complete error:
    Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000]
    String data, right truncation [SQLSTATE 01004]
    Msg 16389, Sev 16, State 1: The connection is no longer usable because the server response for a previously executed statement was incorrectly formatted. [SQLSTATE 08S01]
    This error is caused by a SQL Agent Job, but it does not always occur. I understand this could be an issue with SQL dropping the connection, but what is the best way to troubleshoot this?
    Thanks,
    Phil

    Hi philliptackett77,
    It would be more helpful for troubleshooting the issue if you post the SQL Server error log and SQL Server version. Additionally, please state what purpose of using the agent job.
    Based on my research, [SQLSTATE 08S01] error means communication link failure. If the executed statement returns invalid value in the job, the connection between server and client will fail. This error could be caused by the error of [SQLSTATE HY000] and
    [SQLSTATE 01004]. I’d like to share my knowledge about these errors as below.
    Quote: String data, right truncation [SQLSTATE 01004]
    This error could occur when passing data whose length is larger than the received object,and the passed value is truncated, and returns invalid value. So please check if the data type of the objects are identical and the length of passed value is not larger
    than the received object.
    Quote: Msg 0, Sev 0, State 1: Unknown token received from SQL Server [SQLSTATE HY000]
    The error could occur in the two cases below.
    1. If you use SQL Server version 6.50, and execute the cursor in the job step, set the statement options to use a server-side cursor and prepare a select statement on a SQL Server system table. The first execution of the select creates the cursor successfully.
    After you close this cursor, if you execute the prepared statement again, the error could occur.
    I recommend you to apply the latest service pack firstly. If the error still occurs, you could change your code by using a forward-only cursor instead of a static, keyset, or dynamic cursor on the system tables. If a forward-only cursor is unacceptable,
    prepare the select statement again on the system table and execute it to create a server-side cursor. For more information about the process, please refer to the article:
    http://support.microsoft.com/kb/151693/en-us
    2. The TDS stream from the server is invalid when transfer data between a database server and a client. This error is typically caused by a problem on the server. For more information about errors above, please refer to the article:
    http://technet.microsoft.com/en-us/library/aa937531(v=sql.80).aspx
    Regards,
    Michelle Li

  • Passing input Dates in a Crystal Report

    Post Author: Preethig
    CA Forum: Older Products
    Hi all,
    I am using Crystal reports 8.5 to develop my report. I use the the Crystal report Enterprise Version 8.0 to view my reports in the IE 6.0 Web browser.I communicate to the Crystal Enterprise through my Active Server Pages.(ASP 3.0)
    From my asp page redirect to the urlI use response.redirect
    Here is an example URL:
    http://Domain/Directory/Report.rpt?&prompt0=Valuemy url request is
    Response.Redirect("report.rpt?&prompt0=" & some random value & "&prompt1=" & DateField & "&prompt2 =" & DateField  )
    and I use "sf " query string parameter for passing new selection criteria
    There are three parametes defined in the Crystal report
    Prompt0 - To accept a Number
    Prompt1 - To accept a Date
    Prompt2 - To accept a Date
    Problem: Even after passing the input date parameters as the parameter values for the parameter "Prompt1" and "Prompt2" in my Active Server Page, on launch of the Crystal report in the Crystal enterprise Viewer, the Crystal reports' Dialog still prompts the user to give input dates.
    Need Solution for: I should be able to pass the date parameter values from the ASP page and susequently, the crystal dialog should not be prompted to get the input dates.Kindly suggest a solution.
    Thanks in advance!!Preethi

    Well, can you please post the details about your stored proc?
    <quote> I've checked that when calling one stored-procedure within a crystal report, one sequence will be selected for 2 times. Thus 2 will be added to the corr. sequence No.</quote>
    Question: What do you mean by that? How many times did you run the report?
    More details please.
    -Raj Suchak
    [email protected]

Maybe you are looking for

  • Is there a way of getting iphoto to check for duplicates?

    i am a comparatively new user to macs and it seems that as i synch my i phone to my mac i am getting the same events imported again into iphotos -   i have been merging these events rather than have duplicate events ... but there are inevitable dupli

  • Chat with FMSS 3.5? Is it possible?

    Hello All, I was browsing this forum and came across a thread about adding chat to FMS where a forum member posted this link: https://www.adobe.com/devnet/flashmediaserver/articles/components.html I am considering purchasing FMSS (can't afford FMIS)

  • Creating an action link in a custom tag

    What is the recommended way of creating an action url (and some parameters) through code, not through a netui tag? I'm writing a custom tag that is being used in a PageFlow application. Ultimately the tag puts out a set of links based on some data it

  • How do I copy a screen into photos or pages ?

    How do I copy a screen into photos or pages ?

  • HT201394 Apple to ring me

    Can apple ring me IPhone 5c hacked updated 8.01.2. Phone still not working. Apps still continue to run with blacks images and where  my apps and banking been hacked h aving huge issues with typing this.