Formula problem, sometimes don't add the value

Hi everybody,
I'm trying to learn manage this tool (crystal report) I use visual basic 2005 with the crystal for visual basic. Actually I've a problem with some formula fields. My report has several summarize columns (I sum the values) , not all the columns have values so not all the result fields has values. The problem becomes because I have to sum the result fields, and if i do a formula with this:
+ {@horasTinsitu} + {@ConvertirEnSegundosTreal} + {@ConvertirEnSegundosTtaller}
But only works if the three formulas has values, if one formula is empty the result looks empty, I think the problem was in the value of the formulas and I tried to evaluate with u201Cisnullu201D but neither.
Please, somebody has an idea.
Thanks everybody
Well my English it's bad but I think it's possible understand it.

I finally do it, this is the code
local numbervar InSitu;
local numbervar Remote;
local numbervar Taller;
local numbervar Phone;
if isnull({@T_insitu}) then  //{@T_insitu} is the formula to summarize details and add their values...
    InSitu:= 0
else
    InSitu:= {@T_insitu};
if isnull({@T_remoto}) then
    Remote:= 0
else
    Remote:={@T_remoto} ;
if isnull({@T_taller}) then
    Taller:= 0
else
    Taller:= {@T_taller};
if isnull({@T_telefono}) then
    Phone:= 0
else
    Phone:={@T_telefono} ;
InSituRemoteTallerPhone;
Now looks easy but it's very diferent of the visual code I usually do.
well  THANK YOU VERY MUCH EVERY BODY...
Dani

Similar Messages

  • Parent Account Value don't add the children value with a formula

    Hi BPC' Friends
    I have created some accounts with a formula.
    I have assigned at these children accounts the parent.
    I have this problem:
    In the report the value of the parent don't add the value of the children that have the formula but add the children without the formula.
    why?
    thanks
    Michele Medaglia

    Hi Michele,
    The same problem have been faced by lot of people. And I would suggest you to write a formula manually for the parent member as well.
    Lets take an example. P1 is parent of C1 and C2. C2 has the below formula
    A1 + A2.
    Then,
    for P1 write the formula as
    C1 + A1 + A2.
    Note that I am not refering to C2 in the formula; since it has its own formula.
    The above is one alternative of doing this. However, before that, let me understand the version of BPC you are using, SP and the version of SQL?

  • Apple TV - I Still Don't See The Value

    I have had an Apple TV for a couple of years now and unfortunately I don;t see the value in it anymore. Apple has paid no attention to what this thing can be. And while I know that the goal is to make money, it's a shame that so many digital components are being left out.
    For those of you who have an Xbox, you recently received Netflix and Last FM.
    For whatever reason, Netflix downloads almost instantly on the Xbox. Apple TV take a pretty long time, and at least 4 hours for HD movies. Why is this?
    Second, LastFm is like Pandora. While the addition to internet Radio is nice, why not bundle up with Pandora?
    Finally, why not intergrate this into other digital spaces like facebook, twitter and even Hulu..... The entire thing doesnt make sense.
    I currently only use this thing for Photos, and really that's even a pain in the *** because I need to have it identical to what's on my MAC. The whole system *****, and frankly not well thought out.
    In fact, I personally think that their should be an APP store on the Apple TV, like the Iphone..... There is so much they can do to make this system better. In the meantime, Xbox has gained ground, if not passed them as a entertainment hub for the TV.... and honestly, I think they have only scratched the surface.
    In a few years, I believe we will be capable of not needing cable, directtv, etc... We should be able to Pick "CBS" and pick a show...and watch....Through the internet. Not actually buying shows.

    While there may be groups of users who want it to be an all-singing all-dancing machine for certain tasks, not every group will want the same things. Therein lies the problem, what to develop particularly when many options won't be cash-cows.
    You presumably bought it for the feature set it had and it still has those things.
    I'd buy one tomorrow for music playback alone via the hi-fi - my wish here would be for it to support better quality PCM audio output (limited to 16 bit 44.1kHz for music).
    Mine get hours of use each day for family viewing, no messing around with VHS tapes or discs. Great.
    I wish they hadn't added YouTube in 1.01 to be honest and even some aspects of iTunes store annoy me on it, though on balance I prefer the store is present.
    I wouldn't use Twitter/Facebook and all that kind of stuff - not my thing really so it would be of no interest and just clutter menus, but I appreciate others would like them
    Adding apps/plugins would be a good way to address different wants for the system as you'd customise in line with what you wanted and wouldn't be forced to use things you didn't need.
    With regard to things like Netflix/Pandora etc many of these are country specific eg Pandora stopped those outside US from accessing it, Netflix is not available in UK. Last FM is great on the iPhone, I'd love it on the AppleTV. UK users would love BBC iPlayer, it would be useless to you.
    So without opening up the system to allow 3rd parties to deploy local content/features specific to each country I would imagine it would be very hard to target what to develop in house that would work universally.
    There are also usage concepts that annoy - syncing being one for a variety of reasons, I'd prefer a manual drag and drop method of populating it, but I mainly stream anyway. It's the AppleTV 'way' though so it won't change. USB port activation would also be incredibly handy either to backup material, extend playback storage or populate AppleTV. Again, unliklely to change.
    You presumably know the feedback link:
    http://www.apple.com/feedback/appletv.html
    AppleTV may not be perfect but I don't think there is a perfect device out there currently - the competition is certainly hotting up though.

  • How can i add the value inputted from the prompt box to the mysql database?

    Hey guyz help me pls with this problem... im only new to javascript and also to the opensource like(php and mysql). I tried to use a prompt box and store the value into the textbox. But now I want to know how to insert/add the value inputted from a prompt box directly into the database if it is possible.

    Java is not JavaScript, they've got almost nothing in common (apart from superficial syntax similarities and the first 4 letters of their names).
    If indeed your question is about JavaScript, then please find a JavaScript forum, as we can't help you here.

  • TS1702 Hello I would like to report game loft order and chaos that's I but rune stones buy my visa around 300 usd and runes was on sale but thy don't add the rune stones it's 5700 Rune stones  I report to game loft 6 time and thy ignore me I'm here to Com

    Hello I would like to report game loft order and chaos that's I but rune stones buy my visa around 300 usd and runes was on sale but thy don't add the rune stones it's 5700 Rune stones  I report to game loft 6 time and thy ignore me I'm here to Complaint that to iTunes I wish you help me for this complaint cause this game loft always ignore people only take moony and no replay . Ty

    You are not addresing Apple here. Were are all just users like yourself. Contact Apple/iTunes by:
    How to report/refund an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase

  • My iphone dosen't doesn't make key tone sounds anymore when I write a text message or when I want to dial a phone number I don't know how to fix this problem, I don't hear the clicking noise anymore does anyone know how to fix this problem?

    My iphone dosen't doesn't make key tone sounds anymore when I write a text message or when I want to dial a phone number I don't know how to fix this problem, I don't hear the clicking noise anymore does anyone know how to fix this problem?And all the sounds on my phone are on, even the keyboard clicks.

    Try restarting your iPhone by holding down the on/off and the home buttons at the same time until you see the Apple logo, double check the volume button just in case.  If you still can't hear the tones go into your settings>sounds and make sure the options are on. 

  • Why don't match the values of printer ports, obtained through WMI in different ways?

    Why don't match the values of printer ports, obtained through WMI in different ways?
    $Ports = Get-WmiObject Win32_TcpIpPrinterPort -namespace "root\CIMV2" -ComputerName $ComputerName
    $Printers = Get-WmiObject Win32_Printer -namespace "root\CIMV2" -ComputerName $ComputerName
    Further, for example, on the same computer $Ports.Name returns me: (10.0.66.204 10.0.66.210 10.0.66.246 10.0.66.247)
    and $Printers.PortName (XPSPort: USB001 10.0.66.247 HPLaserJet400MFPM425dn 10.0.66.246 SHRFAX :) I.e. the values don't match to each other although they logically should be the same. Why so?
    In the end I need to get a binding the printer - the value (not the name) of the port. In Win32_Printer there is no such parameter, and there is no information about the printer in Win32_TcpIpPrinterPort. I wanted to connect them through port name but they
    don't match.

    Very unclear.
    Win32_Printer returns the bound port name.
    Get-WmiObject win32_tcpipprinterport -filter "Name='192.168.1.100_2'"
    ¯\_(ツ)_/¯

  • Trace logs don't show the value of a procedure parameter.

    Hi;
    I am Facing a deadlock situation daily.
    I checked the alert.log and it look like this:
    ORA-00060: Deadlock detected. More info in file /oracle/admin/TEXP/udump/texp_ora_28966970.trc.Then i read the trace log, but it doesn´t show the value of procedure parameters.
    insert into estq_300 (data_movimento, codigo_transacao, nivel_estrutura, grupo_estrutura, subgrupo_estrutura,
    item_estrutura, quantidade, valor_movimento_unitario, valor_contabil_unitario, codigo_deposito, numero_lote,
    centro_custo, usuario_systextil, processo_systextil, tabela_origem, entrada_saida, numero_documento) VALUES
    (:v1, :v2, :v3, :v4, :v5, :v6, 1.00, :v7, :v8, :v9, 0, 0, :v10, :v11, 'ESTQ_300', 'E', :v12)
    End of information on OTHER waiting sessions.
    Current SQL statement for this session:
    UPDATE TB_Y SET QTDE_ESTOQUE_ATU = QTDE_ESTOQUE_ATU + :B11 , QTDE_ESTOQUE_MES =
    QTDE_ESTOQUE_MES + :B10 , DATA_ULT_ENTRADA = :B9 , DATA_ULT_SAIDA = :B8 , QTDE_ESTOQUE_F =
    QTDE_ESTOQUE_F + :B7 WHERE CDITEM_NIVEL99 = :B6 AND CDITEM_GRUPO = :B5 AND CDITEM_SUBGRUPO =
    :B4 AND CDITEM_ITEM = :B3 AND LOTE_ACOMP = :B2 AND DEPOSITO = :B1I sent the trace logs to the software supplier, but they want the parameter values.
    I'm reading the documentation and searching on the forum, but until now i can't find anything to help me. Is there any way to see the parameter value?
    This is a large database with a lot of users, so I can't trace all of them and wait the deadlock occurs.
    DATABASE:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    OS:
    AIX Version 6.1! Regards,

    sb92075,
    thanks for reply,
    This VW's helped a lot, but i have one doubt:
    Why some SQLs don´t show the value of it´s binds?
    The last captured is null too, why?
    Example:
    SELECT name, position, last_captured, value_string FROM v$sql_bind_capture WHERE sql_id LIKE '%ahfqand46px43%';
    NAME                           POSITION               LAST_CAPTURED             VALUE_STRING
    :V1                            1
    :V2                            2
    :V3                            3
    :V4                            4
    :V5                            5
    :V6                            6Thank's

  • Why us don´t add the battery percentage on the iPod Touch?

    Why us don´t add the battery percentage on the iPod Touch?

    Apple has not said why. The terms of use for this Apple forum prohibit discussion about:
    Discussions of Apple policies or procedures or speculation on Apple decisions.

  • I need to add the values stored in the session object into the html textbox

    Dear Sir,
    i have been trying to create an edit employee details page
    What i have done till now is as follow:
    1. Got employee id from HTML page.
    2. Compared it with the id stored in the database.
    3. If the id is correct then pulled the record of the corresponding employee and stored it in the session object.
    4. Dispatched the session values to another servlet EditEmpDetails2.java
    what i need to do now
    5. Now i need to set the session values in the text field of the html form
    6. I also need to be able to edit those vales and store the edited values in the database.
    Please help me as i have tried doing it for 1 week without any clues
    i have tried to create a html page which is something like this:
    <html>
    <head>
    <title>Edit Employee Details Page</title>
    <body BGCOLOR="red" text="black">
    <h1 ><font color="black">Edit Employee Details Page</font></h1>
    <form action = "EditEmpDetails" method="Get">
    <table width="50% align="center"
    <tr><td>Employee ID: </td>
    <td><INPUT TYPE="TEXT" name="employeeid"<br></td></tr>
    <tr><td><center><input type="submit" value="submit"></center></td></tr>
    <tr><td><center><input type="reset" value="reset" ></center></td></tr>
    </table>
    </form>
    </body>
    </html>
    design of my servlet EditEmpDetails.java
    public void EditEmpDetails1 extends HttpServlet
    public void doGet(HttpServletRequest request, HttpServletResponse response)throws ServletException, IOException
    PrintWriter out = response.getWriter();
    response.setContentType("text/html");
    HttpSession session = request.getSession();
    String employeeid;
    String X = request.getParameter("employeeid");
    System.out.println("Employee iD:" + X);
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager.getConnection("jdbc:odbc:murphy");
    String query = "Select * from users where employeeid=?";
    PreparedStatement stat = con.prepareStatement(query);
    System.out.println(stat);
    stat.setString(1,X);
    ResultSet rs = stat.executeQuery();
    while(rs.next())
    String Z = rs.getString(password);
    if(Z.equals(X))
    String A = rs.getString(1);
    session.setAttribute("employeeid", A);
    String B = rs.getString(2);
    session.setAttribute("firstname", B);
    String C = rs.getString(3);
    session.setAttribute("lastname", C);
    String D = rs.getString(4);
    session.setAttribute("gender", D);
    String E = rs.getString(5);
    session.setAttribute("dateofbirth", E);
    String F = rs.getString(6);
    session.setAttribute("address", F);
    String G = rs.getString(7);
    session.setAttribute("postalcode", G);
    String H = rs.getString(8);
    session.setAttribute("phone", H);
    String I = rs.getString(9);
    session.setAttribute("mobile", I);
    String J = rs.getString(10);
    String url = "/EditEmpDetao;s.java";
    RequestDispatcher dispatcher = getServletContext().getRequestDispatcher(url)
    dispatcher.forward(request,response);
    catch (Exception e)
    system.out.println(e)
    I do not know how to put the values stored in the session object into the html text box

    3. If the id is correct then pulled the record of the corresponding employee and stored it in the session object.do you really need to store this in session object?
    5. Now i need to set the session values in the text field of the html form which form? in a new html/jsp page? i suggest go for a JSP
    In your JSP page use JSP expression tags to put the session attributes.
    it's something like : <input type='text' name='employeeid' value='<%= session.getAttribute("employeeid") %>' >and you need to generateanother servlet for saving the details/modifications to the database.
    I think i m clear enough.
    if you need more clarifications. just try it and then post your problem.
    Diablo

  • Compare 2 arrays,if same value add the value.If different value show 0

    hello to all! i am new to labview and i'am trying to solve a labview exercise
    ''compare 2 arrays 1d 1x10 (the values of them are lucky numbers from 1 to 10)  .compare them and create a new array [1,10] that saves the same values in the corresponding places ,while in the remainder places where the elements of 2 tables are different  show 0''
    One Example
    In this time of project i have stuck at the comparison of values of two array.and how i would achive creating the Array3! I have search the forum about founding any answer.Any ideas?
    Message Edited by sdadfsdfds on 06-05-2008 12:08 PM
    Message Edited by sdadfsdfds on 06-05-2008 12:09 PM

    I am guessing that since this is a labview exercise it is meant as a learning experience.  There are several ways to solve this problem, I have shown one way below.  I suggest that you try and come up with other ways on your own.  Feel free to ask any questions.
    Cheers
    Message Edited by jmcbee on 06-05-2008 11:25 AM
    CLA, CLED, CTD,CPI, LabVIEW Champion
    Platinum Alliance Partner
    Senior Engineer
    Using LV 2013, 2012
    Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
    Attachments:
    Compare Arrays.PNG ‏3 KB

  • How to add the value of the two text boxes in the 3rd text box in ssrs table?

    Hi ,
    in my ssrs table i encountered a situation where i need to computing for the two text box values and i have to show that value in page header.
    for example i have to add the textbox9 value and textbox12 value then i have to show that value in the page header.
    Please help me with this requirement.
    Thanks in advance,
    Naveen

    Hi NaveenMSBI,
    According to your description, you want to sum the value of two textboxes, then display it in a page header textbox.
    Just PrajapatiNeta said, an expression in a page header or footer can refer to only one report item. So we can create a hidden textbox named textbox20 with the expression below in the report body:
    =reportitems!textbox9.Value + reportitems!textbox12.Value
    Then use the expression below in a page header textbox:
    =reportitems!textbox20.Value
    Besides, please note that in a page header or page footer section, only text boxes on the current page are available as a member of the ReportItems collection. For example, if ReportItems!textbox20.Value refers to a text box that only appears on the first
    page for a multipage data region, you can see a value only for the first page.
    Reference:
    ReportItems Collection References (Report Builder and SSRS)
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Problem in JFreeChart to display the value of the axies????

    Hi!!!
    I have about 500 points, and I display with setValue. The problem is that I can't see the value below the graph, like this picture :
    http://putfile.com/pic.php?pic=8/23007045084.jpg&s=x1
    Is there a solution to not display all the value (for instance, one value of the ten value) or maybe to display an another way?
    Thanks

    wormseric, I guess this one is a minor case of cross-posting (I assume you posted there a while ago and nothing happened), but if you're going to do it next time, at least provide a link to the other forum's thread so we can see whether you already got an answer or not. Us writing yet another reply that was already given somewhere else is a waste of time.
    And second: please stay on topic. This is a forum about Java Programming with Sun's JDK, and no 3rd-party product support forum, however short the reply time may be.

  • How to add the values

    Hi,
    I have two queries like :
    select sum(colx),coly from tablename where colz=1 group by coly
    Another query is similar
    select sum(colx),coly from tablename where colz=.5 group by coly
    Now I have add the results of both sum and display it .
    I am unable to it through query...
    Please help me out ...

    or with fewer table accesses:
    SQL> create table tablename
      2  as
      3  select 2 colx, 1 coly, 1 colz from dual union all
      4  select 6, 1, 1 from dual union all
      5  select 4, 1, .5 from dual union all
      6  select 14, 1, .5 from dual union all
      7  select 22, 1, .5 from dual union all
      8  select 3, 1, .5 from dual
      9  /
    Tabel is aangemaakt.
    SQL> select sum(a)
      2       , coly
      3    from ( select sum(colx)/decode(colz,1,2,4) a
      4                , coly
      5             from tablename
      6            where colz in (1,0.5)
      7            group by coly, colz
      8         )
      9   group by rollup(a),coly
    10  /
                                    SUM(A)                                   COLY
                                         4                                      1
                                     10,75                                      1
                                     14,75                                      1
    3 rijen zijn geselecteerd.Regards,
    Rob.

  • How to add the values of all selected columns in a table and display it ?

    Hi all,
    I am using jdeveloper 11.1.1.6.0
    Page:
    my page jsff page contains one ADF table and one textbox
    DB:
    i have two database tables A & B ,
    i need 2 columns from each table . say (A.product_no ,A.product_name,B.prodeuct_price ,B.confirm)
    here product_no is primary key and present in both tables.
    i need to create a VO combining these two tables and put it as ADF table in a jspx page
    Functionality :
    my 'confirm' field is a checkbox field in table . whenever the checkbox is selected,
    the corresponding price will be getting added and display it in a textbox.
    Eg:
    if my first 4 price values are 3000 , 2000 ,4000,2000
    and if i select first 3 values , then the text box should contain 9000 value.
    i need help ...
    Problem:
    i need help in creating VO and functionality part

    Hi,
    it is easy: create an entity object for every table and one view object where you select your both entity objects and join them in your select statement.
    Your desired 'confirm' functionality could be achieved with helpp of view object transient attributes - for more information see: http://docs.oracle.com/cd/E21764_01/web.1111/b31974/bcquerying.htm#CHDHJHBI
    Regards
    Pavol

Maybe you are looking for

  • Charged me but I did not recieve the item.

    I purchased poker chips on the app "Texas Poker" but didn't recieve the poker chips and they still charged my card for $100. Usually when I buy the poker chips and the transaction is pending i will recieve the chips right away, but it's been about a

  • Reinstalled elements 6

    I had to reinstall photoshop elements 6 My working display is stamp size, it says that it is a 8 x 10. if I enlarge it to be able to see and work on it the pixels or dpi get all distorded and prints the same.  I have used this for years and have not

  • About to Install 10.5 - Suggestions/Questions?

    About to install 10.5 onto two Duo2Core white iMacs. Also going to 10.5.1 on 3 new Macs I just ordered. Other than the usual - backup data, repair permissions, turn off all updates, run no apps - any other suggestions for success in the install of 10

  • Printing with HP printer

    Hi, I am new to mac ! I am using an HP C3180 printer, when printing there don't seem to be any options to print in black only or any other printing options. Can anyone tell me where i can set the options / format / colours etc for any prints ? Thanks

  • Error Message: Unable to update the ColdFusion ODBC Server. unexpected constant #2 59

    I have never been able to get the Coldfusion Admin to connect on my desktop computer, always get this error message.  Well I got a new computer and installed CF & Dreamweaver all fresh and it still give me this error when I try to connect to my Acces