# - number sign in a variable

Hello,
i have a problem with variables that have "#'.
I'm using conditional branch to start the report:
Set these items: "P4_FILETYPE,P4_FILEID,P4_TXNUM,P4_ST"
With these values: "TRNS,0,&P22_TXID1.%,"
When i enter value 333#444 in the item P22_TXID1 and press submit to see the report - i see in debug window that the variable P4_TXNUM value is 333 instead of 333#444%.
Do you have any ideas?
Thanks.

I think passing the values between slashes (\<value>\) may solve your problem.
e.g \333#444\ instead of 333#444
OLD: "P4_FILETYPE,P4_FILEID,P4_TXNUM,P4_ST"
"TRNS,0,&P22_TXID1.%,"
NEW: "P4_FILETYPE,P4_FILEID,P4_TXNUM,P4_ST"
"TRNS,0,\&P22_TXID1.\%,"

Similar Messages

  • Error when number sign # in address field of form

    I need to be able to accept the number sign # in my form field for address, ie apt #3. When a # is submitted with my form, I get an error. How do I allow the # to be included for this field?
    <cfinput style="WIDTH: 247px" size="30"  type="text" name="shipaddress" value="" required="yes" message="You must enter your address">

    Thank you for your help. I am very new here.
    The form collecting the address is on my shopping cart and is working fine, I ran the test code you provided.
    The data from the form is then inserted into a database.
    intodb.cfm
    INSERT INTO people(firstname,lastname,email,address,city,state,country,zip,phone,shipfirst,shiplast,s hipaddress,shipcity,shipstate,shipzip,shipcountry,lastfour,frequency,cases,ccmo,ccyr,cctyp e,dater,cfid,cftoken)
    VALUES('#shipfirst#','#shiplast#','#email_addr#','#shipaddress#','#shipcity#','#shipstate# ','#shipcountry#','#shipzip#','#phone#','#shipfirst#','#shiplast#','#shipaddress#','#shipc ity#','#shipstate#','#shipzip#','#shipcountry#','#lastfour#','#frequency#','#cases#','#ccm o#','#ccyr#','#cctype#','#DateFormat("#Now()#", "yyyy-mm-dd")# #TimeFormat("#Now()#", "hh:mm:sstt")#','#session.cfid#','#session.cftoken#')
    <cflocation url="sale2.cfm?shipmethod=#shipmethod#&shipcost=#shipcost#&shipfirst=#shipfirst#&shiplast =#shiplast#&shipaddress=#shipaddress#&shipcity=#shipcity#&shipstate=#shipstate#&shipzip=#s hipzip#&shipcountry=#shipcountry#&country=#shipcountry#&phone=#phone#&email_addr=#email_ad dr#&ccnum=#ccnum#&ccmo=#ccmo#&ccyr=#ccyr#&cctype=#cctype#&ordertotal=#ordertotal#&disc=#di sc#">
    Then on sale2.cfm.
    <cfsavecontent variable="strXML">
    <?xml version="1.0" standalone="yes"?>
    <SaleRequest>
    <CustomerData>
    <Email>#email_addr#</Email>
    <BillingAddress>
    <Address1>#shipaddress#</Address1>
    <FirstName>#shipfirst#</FirstName>
    <LastName>#shiplast#</LastName>
    <City>#shipcity#</City>
    <State>#shipstate#</State>
    <Zip>#shipzip#</Zip>
    <Country>#shipcountry#</Country>
    <Phone>#phone#</Phone>
    </BillingAddress>
    I receive this error, assuming it is the EMAIL_ADDR variable because it is the first one:
    Variable  EMAIL_ADDR is undefined.

  • HT1338 My keyboard does not have the number sign: # . How do I get my keyboard to type this?

    My keyboard does not have the number sign:  # . How do I get my keyboard to type this?

    It depends on your keyboard layout.
    From the menu bar, select
     ▹ System Preferences... ▹ Keyboard ▹ Keyboard ▹ Show Keyboard & Character Viewers in menu bar
    Now select
    Show Keyboard Viewer
    from the menu with a keyboard icon in the menu bar, towards the right. By pressing modifier keys, you can see what characters correspond to any key combination. You can also produce a character by clicking it in the viewer.

  • Packed Number Sign Format to Ascii equivalent  java program

    Hi
    I have a requirement to convert the packed Number Sign Format(usually used in MainFrame Platforms) to Ascii equivalent .
    please help me out with java code or steps to be done to achieve these task
    thank's
    habeeb
    [email protected]
    [email protected]

    Already answered in other thread.

  • If I dont' have my credit number signed in my Apple ID, is that meen that I can't redeem giftcard?

    If I dont' have my credit number signed in my Apple ID, is that meen that I can't redeem giftcard?
    I got some cards from my friend for birthday, but i don't want to waste them, because i don't have a credit number. Does my Apple ID have to have a credit card card number to redeem a card?
    Thanks for support.

    Apple (and no one else) can not assist (with serial number or iCloud) in finding a lost or stolen iPad.
    Report to police along with serial number. Change all your passwords.
    These links may be helpful.
    How to Track and Report Stolen iPad
    http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/ht2526
    What to do if your iOS device is lost or stolen
    http://support.apple.com/kb/HT5668
    iCloud: Locate your device on a map
    http://support.apple.com/kb/PH2698
    iCloud: Lost Mode - Lock and Trace
    http://support.apple.com/kb/PH2700
    iCloud: Remotely Erase your device
    http://support.apple.com/kb/PH2701
    Report Stolen iPad Tips and iPad Theft Prevention
    http://www.stolen-property.com/report-stolen-ipad.php
    How to recover a lost or stolen iPad
    http://ipadhelp.com/ipad-help/how-to-recover-a-lost-or-stolen-ipad/
    How to Find a Stolen iPad
    http://www.ehow.com/how_7586429_stolen-ipad.html
    What NOT to do if your iPhone or iPad is lost or stolen
    http://www.tomahaiku.com/what-not-to-do-if-your-iphone-or-ipad-lost-or-stolen/
    Apple Product Lost or Stolen
    http://sites.google.com/site/appleclubfhs/support/advice-and-articles/lost-or-st olen
    Oops! iForgot My New iPad On the Plane; Now What?
    http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
    If you don't know your lost/stolen iPad's serial number, use the instructions below. The S/N is also on the iPad's box.
    How to Find Your iPad Serial Number
    http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
    iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
    http://support.apple.com/kb/HT4061
     Cheers, Tom

  • Maximum Number of Expanded Call Variable

    In Cisco ICM is there a limit to the total number of Expanded Call variable.
    And is there a length limitation of Expanded Call Variables.
    Thanks
    Alok

    1. To use ECC variables in ICM script editor:
       Maximum number of characters (length) allowed for each ECC variable is
    210 (the size of the variable string).
       And maximum amount of space that all the ECC variables together can take
    up in the ICM system is 2000 Bytes.
       Formula used to calculate buffer size for scalar variable and array
    element is as:
              The maximum buffer size for each scalar variable = 5 + the
    maximum length of the variable where the 5 bytes includes 4 bytes to tag the
    variable and 1 byte for the null terminator.
               The maximum buffer size for each array = 5 + (1 + the maximum
    length of array element)* (the maximum number of elements in the array).
    2. ECC variables for use by CTI Server:
       Formula used to calculate buffer size for scalar variable and array
    element is as:
           The maximum buffer size for each scalar variable = 4 + length of the
    ECC name + the maximum length of the variable where the 4 bytes includes a 1
    byte tag, 1 byte to define the length, and2 terminating NULL characters.
           The maximum buffer size for each array = (5 + length of the ECC name
    + the maximum lengthof array element) * (the maximum number of elements in
    the array) where the 5 bytes includes a 1 byte tag, 1 byte to define the
    length, 1 byte for the array index, and 2 terminating NULL characters.
    In this case max buffer size is 2500 bytes. This calculation is applicable
    when setting ECC variable through third party client eg. CTIOS desktop.
    As you can see for CTI server formula contains length of ECC name, which is
    there to account for extra 500 bytes. Actual max size for ECC variable value
    is only 2000 Bytes.
    In case of variables being set using CTI server and buffer size exceeds 2500
    bytes, But variables value size remains less than 2000 bytes. Then user is
    allowed to set the variables with a warning. But if Variable value size
    exceeds 2000 then user would be getting error.

  • Derive Number of months from variable entry

    I have a requirement to calculate the average sales qty using the number of months entered in the variable entry and not the actual number of months the product was sold. For example Variable cal month entered as the range 01/2009 - 03/2009. The average needs to be calculated with the 3 month range even if sales only occurred in months 01 and 02. I understand I need to create a formula variable type customer exit, but I need assistance in creating the formula that would count the number of months from the variable entry.
    Any help would be appreciated.
    Craig

    Hi,
    Yes you can replace the variable and use if the code has been declared in such a way. Use i_t_var_range instead of It_var_range. This is a table which should been defined in your existing code.
    I have modified the code. Hope this helps
    WHEN 'FORMULAVARIABLE'.
    IF I_step = 2.
    CLEAR l_s_var_range.
    LOOP AT l_t_var_range INTO l_s_var_range WHERE vnam = 'MONTH_VARIABLE'.
    CLEAR l_s_range.
    l_s_range-low = l_s_var_range-high4(2) - l_s_var_range-low4(2) + 1
    IF l_s_range-low < 0.
    l_s_range-low = l_s_range-low + 12
    endif.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    CLEAR l_s_range.
    ENDLOOP.
    endif.
    Regards
    Akhan

  • Communicate large number of parameters and variables between Verstand and Labview Model

    We have a dyno setup with a PXI-E chassis running Veristand 2014 and Inertia 2014. In order to enhance capabilities and timing of Veristand, I would like to use Labview models to perform tasks not possible by Veristand and Inertia. An example of this is to determine the maximum of a large number of thermocouples. Veristand has a compare funtion, but it compares only two values at a time. This makes for some lengthy and inflexible programming. Labview, on the other hand, has a function which aloows one to get the maximum of elements in an array in a single step. To use Labview I need to "send" the 50 or so thermocouples to the Labview model. In addition to the variables which need to be communicated between Veristand and Labview, I also need to present Labview with the threshold and confguration parameters. From the forums and user manuaIs understand that one has to use the connector pane in Labview and mapping in Veristand System Explorer to expose the inports and outports. The problem is that the Labview connector pane is limited to 27 I/O. How do I overcome that limitation?
    BTW. I am fairly new to Labview and Versitand.
    Thank you.
    Richard
    Solved!
    Go to Solution.

    @Jarrod:
    Thank you for the help. I created a simple test model and now understand how I can use clusters for a large number of variables. Regarding the mapping process: Can one map a folder of user channels to a cluster (one-step mapping)? Alternatively, I understand one can import a mapping (text) file in System Explorer. Is this import partial or does it replace all the mapping? The reason I am asking is that, if it is partial, then I can have separate mapping files for different configurations and my final mapping can be a combination of imported mapping files.
    @SteveK:
    Thank you for the hint on using a Custom Device. I understand that the Custom Device will be much more powerful and can be more generic. The problem at this stage is that my limitations in programming in Labview is far gretater than Labview models' limitations in Veristand. I'll definitely consider the Custom Device route once I am more provicient with LabView. Hopefully I'll be able to re-use some of the VI's I created for the LabView models.
    Thanks
    Richard

  • Number of entries in variable

    Hi experts,
    is there a limit in the number of entries of a variable in the selectionscreen of a query?
    Or in other words: Is it possible to insert more than 15.000 values in a variable in the selectionscreen without getting an error when starting the query?
    Thanks in advance

    Hi Dennis,
    As per my knowledge, i don't think there is any limitation as such. but inserting these many records again would become a tedious task. In some cases, copy pasting doesn't work while inserting the values. But yes, u can import values from an external file.
    hope this helps.
    regards.
    Sree.

  • Significance of dollar $ sign in declaring variable.

    Hi Guys,
    Can somebody tell the significance of $ dollar sign in declaring a variable. I am reading a Z program and it has many variables starting with $ sign.
    Example
    DATA: $l-w LIKE t77aw-wegid.
    Thanks,
    mini

    hi,
    I don't think it has any significance we can include $ in our declaration of a variable as how we include '_' ...Check out the below sample code
    data: $l_w like t77aw-wegid.
    $l_w = '12434'.
    write : $l_w.
    Regards,
    Santosh

  • Check number sequence - previous record variable

    Post Author: rmhogan
    CA Forum: Formula
    I am trying to highlight a record that is out of number sequence with the previous record.  I am guessing that I need to create 2 variables (one for the current number and one for the previous number).  I cannot seem to get this to work.
    Any help would be appriciated.
    Example ....
    Check Number
    016000123
    016000124
    016000126 <--- out of sequence (I want to highlight this detail line)
    016000127

    Post Author: rmhogan
    CA Forum: Formula
    Thanks so much.  However, I am getting a error saying  ... "The formula result must be a number".  The fields are strings in the database, however I have converted the to numbers in a formula  &#91;tonumber() function&#93;.
    Any ideas.

  • Getting dynamic number based on databank variable.

    I have run into an interesting issue, and I was wondering if anyone has any ideas.
    Here is a run down of the setup.
    I have 3 drop downs Category, Sub-Category, and Sub-Sub-Category (nice huh).
    The values of the drop down as stored by E-Tester are numeric, so I am running into a bit of a problem trying to databank this test. It is stored as <option value=18>MyCategory</option>
    I need to be able to choose the drop-down based on my databanked variable of "categoryName", but I couldn't figure out a way to set that on the form.
    The other option, which I was diving into was parsing out the number from the html but again I am running into a problem since this is running off a databank.
    I tried to run it through either the custom variable option or custom VBA and am running into the same problem. I can't tell it that the ending part of the string is a variable.
    Here is my DOM Property Expression working on the inner html
    <OPTION value=(\d+)>MyCategory</OPTION>
    It works great as long the category is MyCategory, but I can't figure out a way to set the last portion to use a variable. If I try anything less than <OPTION value=(\d+)>MyCategory it matches all of the options in the drop down including -1 which is to add a new one.
    Does anyone have any ideas or am I attempting something beyond the limitations of VBA?

    I think I may have a solution for you. Put this code on the page that you are trying to set the option of. Of course, the path to the select element will have to be replaced with the correct path.
    Private Sub RSWVBAPage_afterPlay()
    On Error GoTo ERRLBL
    Dim element As HTMLSelectElement
    Dim optionEl As HTMLOptionElement
    Dim itemText As String
    'Get the Path to the SELECT list
    RSWApp.om.GetElementByPath "window(index=0).form(name=""myform"" | id=""myID"" | action=""submit.asp"" | index=0).formelement[SELECT](name=""Sub-Sub-Category"" | index=6)", element
    If element Is Nothing Then
    errDescription = "html object not found!"
    errNumber = -1
    Exit Sub
    End If
    'Get the Data bank value associated with the data bank value named "var_ItemText"
    Call RSWApp.GetDataBankValue("var_ItemText", itemText)
    'Go through each option element and match the text attribute with the data bank value. If we match, set the selected property to true
    For Each optionEl In element
    If StrComp(itemText, optionEl.text) = 0 Then
    optionEl.selected = True
    Exit For
    End If
    Next optionEl
    Exit Sub
    ERRLBL:
    errDescription = Err.Description
    errNumber = Err.Number
    Let me know if this works for you.
    - GateCity_QA

  • Pound/Number sign in Column Name + Custom SQL

    Has anyone gotten a custom sql partner link to work when a column name being referenced has a # sign in it?
    For the sake of simplifying the example to make it clear:
    select field1, field2
    from table1
    where
    field_# = #variableName
    Is there a way to edit the WSDL to tell it to look for say the $ sign for variable replacement as opposed to the # sign?
    Thanks in advance

    I don't believe so as this is a toplink requirement.
    A workaround would be to create a view renaming the column field_#.
    cheers
    James

  • SharePoint Designer workflow - date display and number ;# signs.

    Hi,
    I have created a SharePoint Designer workflow with customized email messages sent to specified people.
    I've got tow questions:
    1) In the email message there are lookups for date.The date is displayed in mm/dd/yyyy format and I would like to change it into dd/mm/yyyy. Is that possible?
    2) In the email messages there are lookups for a value from a list. the values are displayed with a number ; and # signs. For example 1;#PortfolioA  2;#Portfolio2. How can I eliminate the number,; and # signs and have the portfolio displayed only as
    'PortfolioA"?
    I will be grateful for any suggestion.
    Thank you.
    Jowita

    Hi Jowita,
    For the Date&Time column, you can create an additional column using Calculated type, and set the formula is: =TEXT([Date],"dd/mm/yyyy"), then when you design the email body in workflow, you can use the calculated column instead of the
    original date column.
    For the Lookup column, when you add it into the email body, you can set it returns field as “Lookup Value(as Text)”, like the screenshot:
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Change position of number sign in ALV (2-) into (-2). I will reward points.

    Hello Gurus, i need to change the position of the sign in a ALV list from the back of the number in the front of the number.
    eg. 2- i need it to be -2.
    Is there some way to do this without having to create a new field that is character type. I know the function CLOI_PUT_SIGN_IN_FRONT but it works only if my field is type char.
    Can anyone help ? I will reward points.

    In edit-mask you can force the position of the minus sign :
    USING EDIT MASK mask
    Effect
    Outputs f according to the formatting template mask.
    Without this addition, f is output in the standard format for that particular type or with a format defined in the ABAP Dictionary. The addition allows you to define a different format.
    You can specify the formatting template as follows:
    '_'represents one character of the field f
    or one digit with type P or I
    'V'only with fields of type P or I:
    output of leading sign
    'LL'at beginning of template:
    left justify (standard)
    'RR'at beginning of template:
    right justify
    '==conv'perform output conversion conv
    ':', ...separator
    (all other characters)
    Regards

Maybe you are looking for

  • SATA link speed

    Hi, this topic didn't appear to be up here yet, so I'm going to ask it. When did the white MacBook switch to the SATA 3.0 Gb/s standard? I recently updated my hard drive to one that has 3.0 capability, but the link speed in the System Profiler says 1

  • SDN Contribution Recognition program

    Hello SDN Team, I have a query related to SDN Contribution Recognition program. Suppose if i am working in a <b>xyz.com</b> company, and i earned <b>n</b> points at SDN. And then i decided to move to some other company,<b>abc.com</b>. So my points wi

  • Pages on the iPhone

    Hi All. Would someone mind giving me a heads up on my options for editing Pages documents on an iPhone? I am using Things for notes but I have longer documents saved in .pages format on my MobileMe account and would like to be able to edit these whil

  • Sending offline messages, automatically send when connection established?

    Hi there,  I am new to the iPhone.  On other phones I could compose an sms or other message offline, and it would be queued & sent when a connection was reestablished.  The iPhone currently doesn't let me hit the send button while offline and if it d

  • Getting Icons Back on Desktop

    when i download an image from the internet by "save image as jpeg", my computer, on which i did this all the time without any problem, is saving them but not as jpegs. in fact, not as anything. just a blank "white" icon. in order to turn them into jp