Need the numeric value of PE_SIZEOF_VALUE_INFO for PEValueInfo StructSize

Post Author: gnilsen
CA Forum: Crystal Reports
I am new to Crystal reports and I'm using the old crpe32.dll to print our reports for our application since we haven't moved to using .NET yet.  So I don't have access to the constant PE_SIZEOF_VALUE_INFO to set to the PEValueInfo.StructSize.  So my question is, what is the value of the PE_SIZEOF_VALUE_INFO constant for the struct PEValueInfo?  I need to know the value so I can set the StructSize.  According to what I have below the StructSize should be set to 311 but I don't know if I can trust that.
I found these values here http://www.utteraccess.com/forums/printthread.php?Board=63&main=362717&type=post:
' Global Const PE_VI_STRING_LEN = 256' Global Const PE_BYTE_LEN = 1
Global Const PE_WORD_LEN = 2' Global Const PE_LONG_LEN = 4' Global Const PE_DOUBLE_LEN = 8' Global Const PE_VI_STRING_LEN = 256
PE_SIZEOF_VALUE_INFO = 1 * PE_BYTE_LEN + ' 15 * PEWORD_LEN + ' 2 * PELONG_LEN + ' 2 * PEDOUBLE_LEN + ' 1 * PEVI_STRING_LEN
Thank you in advance.

volcanohere wrote:
I have no intention of learning every bit of code there is in Java.BTW, I doubt there is one person on this planet the knows every bit of code, including the SUN staff who created the language. I looked up those methods in the API. That is what it is there for. If you are incapable of doing the smallest bit of research then you won't succeed for very long. And that doesn't just apply to programming.

Similar Messages

  • I need the IP values and Subnet Mask which is given by the ISP for my jetpack so i can configure my smart tv

    i need the IP values and Subnet Mask which is given by the ISP for my jetpack so i can configure my smart tv

    Your public IP Address is provided by the ISP.  Your smart TV does not need to know this information unless you plan to host some kind of an application or service for folks on the internet through your TV.  It wouldn't work anyways since all Jetpacks sit behind a VZW NAT firewall and blocks hosting capabilities by default.
    What you more than likely are referring to is the Default Gateway and Subnet mask of the Local Area Network being hosted by your Jetpack.  By default these values should be something like 192.168.1.1 and 255.255.255.0.  You can confirm the DG and SM by connecting a computer to the Jetpack.  Every computer has a way to look up the networking information.  On a Windows OS you would open up a CMD window and type in "IPCONFIG".
    If you shoot us the model number of your Smart TV we may be able to look up a User Guide to confirm what kind of info is needed to connect to a wireless network.  Most of the time exchanging the IP information is done automatically during the connection process.  It would also be nice to know which Jetpack model you have so we can compare the User Guide for that device with your TV.

  • Numeric value in words (for Cheque printing)

    Hi All,
    To convert numeric value in words (for Cheque printing), I created two functions in Forms and reports 6i.
    1) FUNCTION Spell (val number) RETURN CHAR IS
    sp varchar2(100);
    BEGIN
    if val > 0 then
         return(initcap(to_char(to_date(val, 'SSSSS'), 'SSSSSSP')));
    else
         return('');
    end if;
    END;
    2) function SPELLED_AMOUNTFormula return Char is
    cents number;
    c_str varchar2(80);
    val number;
    begin
    val := :p_instr_amt;
    cents := (val mod 1) * 100;
    if cents > 0 then --creates string for cents
    c_str := ' and ' || spell(TO_CHAR(cents)) || ' fils Only';
    else
    c_str := ' Only';
    end if;
    if val < 1000 and val > 1 then
    return (initcap(spell(floor(val))) || c_str);
    elsif val > 1000 then
    return(initcap(spell(floor(val/1000))) || ' Thousand ' ||
    spell(floor(val mod 1000)) || c_str);
    else
    return('Zero'||c_str);
    end if;
    end;
    This convert value up to thousands. How to convert the value more than 1 lac. please configure this code.
    Thanks in advance

    Hi,
    To spell integers as high as 5,373,484, use 'Jsp' instead of 'ssssssp'.
    TO_CHAR ( TO_DATE ( n     -- n = integer to be spelled
                  , 'J'
         , 'Jsp'          -- Case-sensitive
         )5373484 is the Julian date of December 31, 9999, the latest DATE value in Oracle. In Oracle 10.2, you can actually spell numbers a little bit higher using the expression above, but I'm not sure why, and I wouldn't count on being able to do so in future versions.
    There's no need for INITCAP here. If the 2nd argument to TO_CHAR is initcapped (as above), then the output will be, too.
    To spell even larger numbers, see this page by Tom Kyte, which also includes languages other than English, and lakh-crore-arab-kharab wording.
    Edited by: Frank Kulash on Oct 13, 2012 7:21 AM

  • Using substring to pick the numeric value from a string failing

    Hi,
    I have a string like fffd_1234.com from this I need to pick the numeric value from which is in between the _ and . , for that I have wriiten the expression as
    Reverse(SUBSTRING( REVERSE( "fgfg_asdd.com" ),
    FINDSTRING(Reverse( "fgfg_asdd.com" ), ".", 1 )+1 ,findstring(
    Reverse( "fgfg_asdd.com" ),"_",1 )-FINDSTRING(Reverse("fgfg_asdd.com"
    ), ".", 1 )-1))
    This is throwing me the error or its giving me with the result with _123.

    Why all the "reverse" calls?  Do you expect underscores or periods to occur more than once in the file name?
    This should work:
    SUBSTRING("fffd_1234.com", FINDSTRING("fffd_1234.com", "_", 1) + 1, FINDSTRING("fffd_1234.com", ".", 1) - FINDSTRING("fffd_1234.com", "_", 1) - 1)
    Talk to me now on

  • How to get the numeric value of DocTotal from UI API

    When I hit the ADD button I need to get the DocTotal from the UI API !
    All I have is the EditText which gives it in string and the problem is to double.Parse it
    it's a pain to do it while there is CultureInfo related issue with it.
    So It would be wise to get the numeric value directly from the UI API instead of getting the DocTotal by string and trying to convert it.  So is there any way to get the numrci value of DocTotal from UI API ?

    Hello Marc,
    Here is a function which considering the Culture Info and always working. You can speed it up by using extending admininfo to global vairables, and loading the values at startup of the addon.
    Use the oEditText.value.ToString() to convert into into the doulbe number:
    Public Function _string2double(ByVal s As String) As Double
            Dim d As Double
    ' This part is fast, when regional settings equal to sap B1 settings:
            Try
                d = Convert.ToDouble(s)
                d = Math.Round(d, 6)
                Return d
            Catch
            End Try
    ' Speed up performance: extend CompaneService variables to global variables and query them at addon startup.
            Try
                Dim nfi As System.Globalization.NumberFormatInfo = System.Globalization.CultureInfo.CurrentCulture.NumberFormat
                Dim oCompanyService As SAPbobsCOM.CompanyService = oCompany.GetCompanyService()
                Dim oAdminInfo As SAPbobsCOM.AdminInfo = oCompanyService.GetAdminInfo()
                Dim sbodsep As String = oAdminInfo.DecimalSeparator
                Dim sbotsep As String = oAdminInfo.ThousandsSeparator
                If s.IndexOf(Space(1)) > 0 Then
                    If oAdminInfo.DisplayCurrencyontheRight = BoYesNoEnum.tYES Then
                        s = s.Substring(0, s.IndexOf(Space(1)))
                    Else
                        s = s.Substring(s.IndexOf(Space(1)), s.Length - s.IndexOf(Space(1)))
                    End If
                End If
                Dim s1 As String = s.Replace(sbotsep, nfi.NumberGroupSeparator)
                s1 = s1.Replace(sbodsep, nfi.NumberDecimalSeparator)
                d = Convert.ToDouble(s)
                d = Math.Round(d, 6)
                Return d
            Catch
                Return 0
            End Try
        End Function
    Regards,
    J.
    Edited by: János Nagy on Oct 7, 2009 8:55 AM

  • The default value as "None" for the report filter which is Value List type?

    Hello,
    I want to know is it possible to make the default value as "None" for the report filter which is Value List data type?
    For example:The Project Classification Value List value type which have many value like "Supplier Rationalization" "Category Sourcing" "Contract Regegotiation" etc, and the value "Supplier Rationalization" is in the frist positon in the value list. When i use "Project Classification " as a report filter, the value "Supplier Rationalization" displayed as default value. And in the value list box in report filter of Project Classification , there is a value "None" which should be added automatically by system. So i manually filled the default value with "None" in Filter Prompt screen, but it does not work. After i display the report ,the Project Classification filter still use the ""Supplier Rationalization" as the default value.
    My current ESO version is 5.1. I tried other ESO version like 5.15, if i manaully give a default value "None" in Filter Prompt screen for filter Project Classification, then the default value is "None". It works well.
    Does anybody know if it's possible to do the same thing in ESO 5.1?
    Thanks & Regards,
    David
    Edited by: David Gao on Aug 11, 2010 4:06 AM

    Hi David -
    This is possible, but the technique is not too obvious...
    To make "None" be the default choice for a query definition filter parameter of type value list type, you need to set the default value of the filter parameter to the following:
    <internal id of value list type>:616:NULL
    For example, I believe you will see that the internal id of the Project Classification value list type is 51, so the default value of the filter parameter would be:
    51:616:NULL
    I hope this helps.
    Regards,
    Rob

  • I need the names of standard smartform for FI module.

    i need the names of standard smartform for FI module or if possible if one can provide the smart form for FI - CML & FI - CFM module (new module introduced).

    Hi,
    SF_EXAMPLE_01 
    Simple example; invoice with table output of flight booking for one customer
    SF_EXAMPLE_02 
    Similar to SF_EXAMPLE_01 but with subtotals
    SF_EXAMPLE_03 
    Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the  form is called for each customer and all form outputs are included in an output request
    Regards,
    Bhaskar

  • I need the sap bw table names for ROLE's

    I need the sap bw table names for ROLE's .
    thanks

    Hi,
    AGR_1251 - Authorization data for the activity group
    AGR_USERS - Assignment of roles to users
    AGR_TCODES - Assignment of roles to Tcodes
    You can also try putting AGR* in ur search.
    -Vikram

  • I need the font style century gothic for a project im working on, but neither my final cut pro x nor my photoshop have this font style. Where do you get/buy new fonts?

    I need the font style century gothic for a project im working on, but neither my final cut pro x nor my photoshop have this font style. Where do you get/buy new fonts?

    Not on this list.
    Maybe it gets installed with something else? For example, I have MS Ofiice on the 10.7 system but not on the others.
    Russ

  • What is the best value iMac config for hd video editing.   I was going to go for i5 3.1 ghz with 4mb ram, but should I go further?  Thanks!

    What is the best value iMac config for hd video editing.?  I was going to go for i5 3.1 ghz with 4mb ram, but should I go further?  Thanks!

    You have it currently installed? Can you go to the System Profiler and click on Applications (will take a while to populate) - take a look at your FCP and check what it says on the right - Universal, Intel, or PPC? It'll look like this:
    If it's Universal or Intel, it'll run in Lion. However, the installer may or may not be PPC - that you may not know until you try to install. If you have it currently installed, then you could do what I did - move over all the files manually. I have a list of files for FCE and would assume they'd be the same with FCP: copy them from the old Mac and insert them in the very same spots on the new one.
    Here is the list for FCE:
    http://support.apple.com/kb/TA38198?viewlocale=en_US
    (It was published for an uninstall, but worked like a charm).

  • Need the Cisco ASA5520 SYS OID for the LLDP protocol

    Hi :
    I need the Cisco ASA5520 SYS OID for the LLDP protocol so that I can create the network connection between Cisco ASA5520 and the 3rd party networking device in this 3rd party network management management system.
    Can anyone help on this?
    I tried to search the web and got some LLDP MIB files but they all cannot solve the problem. What I think and I need to have now is the SYS OID number for this Cisco ASA5520.
    I know that the SYS OID for ASA5520 is 1.3.6.1.4.1.9.1.670. Now I need is the SYS OID for its LLDP protocol. Can someone help on this?
    Many thanks!
    tangsuan

    Hi Afroj Ahmad:
    I think it is not due with command line. It is the lack of OID information for Cisco ASA5520 to be able discovered by 3rd party Network Management System.
    If I am not wrong, the ASA5520 should have been configured correctly for providing SNMP to the 3rd party network management system (NMS) and as such, the NMS is then able to capture the the SYS OID for ASA5520 is 1.3.6.1.4.1.9.1.670 from the ASA5520.
    The SNMP configuration is as below:
    snmp-server host inside 172.16.0.82 community public version 2c
    snmp-server host inside 172.16.8.50 community public version 2c
    no snmp-server location
    no snmp-server contact
    snmp-server community public
    snmp-server enable traps snmp authentication linkup linkdown coldstart
    snmp-server enable traps syslog
    snmp-server enable traps ipsec start stop
    snmp-server enable traps entity config-change fru-insert fru-remove
    snmp-server enable traps remote-access session-threshold-exceeded
    The 3rd party NMS can capture the product OID from ASA5520 after given the ASA IP address to the NMS. It is the LLDP OID that is not included in the product OID to cause the 3rd NMS cannot link up the LAN connction between the ASA and the 3rd party switch. There is no LLDP configuration in ASA command. I believe the LLDP should be provide externally either by key in manually or upload the MIB file to the 3rd party NMS. I have tried also uploading few MIB files but all not succesfully done.
    I think the direct method is just key in the LLDP OID inside the 3rd party NMS system so that the 3rd NMS can embed the LLDP information into its operation kernel then the NMS can link up the LAN connection between the Cisco ASA and its switch.
    Many thanks!
    tangsuan

  • Check for the Numeric Values

    Hi All,
    I am new to java . Please help me the this problem .
    I have a string variable and which store the values like "ABC" or "123" but i need to check if the variable values are like "123" then process ..other wise ..exclude that( like "ABC" ....).
    Thanks in Advance ..
    prakash

    JosAH wrote:
    BIJ001 wrote:
    While a good and straightforward solution, it might incur some run-time penalty (exception-object-creation, exception handling overhead).Indeed, but what would be the runtime overhead for a RE that exactly matches the range of valid ints (or longs)?Assuming a reasonably well-written regex, matching only valid {color:000080}int{color}s shouldn't be significantly slower than using "&#92;\d+". On the other hand, throwing and catching exceptions is hideously expensive. If you expect to get a lot of invalid strings, you're definitely better off validating them with a regex before calling Integer.parseInt(). But none of this really matters unless you're processing large numbers of strings in a tight loop.

  • Ho to Generate the Numeric Values Automatically before saving the records

    Hello to everybody,
    I have a data block naming “BILL” consisting of the following 3 field.
    1. Sr_No
    2. Bill_Amount
    3. Description
    This Data Block consist 10 records at a time.
    I want that whenever I insert records in the above data block.
    Serial No should automatically be generated.
    For this I have applied the following code in “WHEN-NEW-ITEM-INSTANCE” trigger.
    <CODE>
    SELECT NVL(MAX(Sr_No),0)+1 INTO :BILL.Sr_No FROM BILL;
    </CODE>
    Whenever I insert records in the BILL data block, the first row automatically generates the “Sr_No”, but when I move to the next record, (remember currently I have not saved the record), the same value which appeared in the previous record appears in the Sr_No field.
    For example, when I insert records for the first time in the BILL, the Sr_No field automatically generates value “1”, but when I move to the next record while not saving the first record the next row still generating value “1”, while it should be value “2” and so on.
    Note that I want that before saving the previous record when I move to the next row, the Sr_No should generate the next continuous value like in example.
    Please help me to solve out this problem.

    You have practically scratched you left ear with your right foot while jumping on the left foot :-)
    Seriously, you guys don't need to go to all this trouble.
    If you want a serial number incrementation, all you need to do is to either select the max value + 1 from the table or select the next value from a sequence in an PRE-INSERT trigger on block level, and that's it!!!!
    Tony

  • Given a string, how do you find the numeric value in sparse ring?

    Situation: I receive the string value of the sparse ring, and a control reference to the same type of control, but not the control that sourced the string. How can I convert the string, into the actual numeric value of the ring? For example:
    Using the "VISA Select Event Type" ring (Functions -> Instrument I/O -> VISA -> Advanced -> Event -> Select Event Type.ctl), lets say I get the string "ServiceRequest" how do I convert that into 1073684491, the actual value of the ring?
    This is a rework of an existing function that worked fine with "normal" rings.
    Thanks.

    Unfortunately this method will not work, its a generic routine that must be able to take any ring, so I can't hardwire the cases to known outputs. And, of course, searching the array of Strings[] will just find me a useless index.
    My interm solution is this:
    1) pick a small, but likely range of possible values for the ring
    2) iterate through these values, assigning each one in turn to ring
    3) read the RingText property to see if it matches the passed string
    4) if it does, then exit. If it doesn't keep looping.
    5) if no value produces a matching string, declare defeat (raise an error or produce other output that indicates a match could not be found).
    The routine only runs in the UI so I am not too concerned about the time delay this method will i
    mpose, but I would greatly appreciate a smoother solution.
    Thanks for your suggestions.

  • How can I get HyperTrend to display the numeric value output of a CHOOSE statement?

    I have non-linear values I need to display on a HyperTrend graph.  I'm currently converting the input raw signal to a Units (Engineering) value and then looking up the actual value (from a calibration chart) using a CHOOSE statement in order to display the actual value on a panel, but I need to display the values output by the CHOOSE statement on a HyperTrend graph, along with other similar values.
    How can I do this?

    I have non-linear values I need to display on a HyperTrend graph.  I'm currently converting the input raw signal to a Units (Engineering) value and then looking up the actual value (from a calibration chart) using a CHOOSE statement in order to display the actual value on a panel, but I need to display the values output by the CHOOSE statement on a HyperTrend graph, along with other similar values.
    How can I do this?

Maybe you are looking for

  • Issue in creation of control cycle

    Dear Gurus, During creation of control cycle (LPK1), the fields for source information is not appearing in my system. I compared control cycle in a different ECC system where source information is appearing. How can make the screen appear in my ECC s

  • Remote Access VPN - Unable to Access LAN / Inside Network

    Hi, I am facing a problem with Cisco ASA remote access VPN, the remote client is connected to VPN and receiving IP address but the client is not able to ping or telnet any internal network. I have attached running configuration for your reference. Pl

  • ATL, UDT and Visual Basic

    Hi, This isn't a measurement studio question but.... I'm writing an ATL COM object that contains some UDTs that are used in some of the methods Ex: typedef [public, v1_enum]enum GateModeVal{ ContinousGating = 0, GateOnce = 1 }GateModeVal; typedef [pu

  • Do I have a dead Zen Mic

    I am unable to turn the unit on after charging the battery. I removed the battery and put it back in. Still does not turn on. I followed the instructions to SID 4794 to reset the unit by removing the battery, turning on the unit and holding the power

  • Re-installing my ipod

    I have just re-stored my I-pod. I have a rather old i-pod and i was no-longer able to update my songs. To do this i had to up-date my ipod, and to do this i had to restore my i-pod, as it was origionally installed on a PC, and i now have a Mac. After