Which data type is good to store  amount of money booth for derby and Acces

hi,
I am developing an application that concern with problems of accounting.
I decided to use derby how database, as well in the while I am developing it, I prefer use Microsoft access, ...because I can easilier check the result of the elaboration using visual tools ..
I looked, for this reason, what type of data I could use that is both in Access and in derby, to store amount of money; and I thought the double type could be good for this purpose. As well I know that at the end of the develop to change to databese derby, I'll have to modify a some part of the code I wrote.
Now I should like know the opinion of someone that have more experience than I have, if my idea is right, and if the final work to change database can be not so hard.
If my idea is wrong, I should like to know what is a better idea to develop with Microsoft access and after distribuite the application with derby.
Thank you very much
tonyMrsangelo

tonyMrsangelo wrote:
hi,
I am developing an application that concern with problems of accounting.
I decided to use derby how database, as well in the while I am developing it, I prefer use Microsoft access, ...because I can easilier check the result of the elaboration using visual tools ..
That's fine.
I looked, for this reason, what type of data I could use that is both in Access and in derby, to store amount of money; and I thought the double type could be good for this purpose. As well I know that at the end of the develop to change to databese derby, I'll have to modify a some part of the code I wrote.
A double will work for the value. You'll just have to be careful about things like rounding rules.
What about currency type? USD, euro? Do you ever need to keep track of that, too? Are conversions important to your app?
%

Similar Messages

  • The amount of money generated for PO and GR

    Hi all,
    I want to view the planned cost of a purchase order and the actual cost incurred by GR of this PO, where can I see these 2 different types of cost? Thanks.
    Regards,
    Michael

    HI,
    Check this link
    Re: Variences
    Regards
    KK

  • How to detect which data type is passed in ?

    Hello!
     I've built a VI function. But I want to make it more secure - that function could detect which data type is wired to the inputs and allow wiring only certain data types. How can I do this?
     Thanks
    Message Edited by ACiDuser on 05-23-2009 08:13 PM
    Solved!
    Go to Solution.

    I'm assuming you're talking about numeric datatypes. In this case that information is not available to you at the subVI level. The LabVIEW compiler will have already changed the datatype to match what your subVI expects if someone wires something of a different type.
    You could use a variant as your input. Then in the subVI you can use the Variant to Flattened Data to get the type. The OpenG LabVIEW Data Tools VIs will be useful if returning an enum specifying the datatype. Specifically, using the "Get TDEnum From Data VI".
    Now that we've gotten that out of the way, let's talk about the why. Why do you need to do this? What are you trying to "secure"?

  • Which data types I have to use.

    hi all,
    I was using DEC '9' for a variable.
    ie., tunni type DEC of length 9. For smaller values like 000000488225584 is ok.
    But for larger values like 000001048988458000000513871057 is going to dump.
    Please suggest me which data type I have to use.
    It should not be effect the performance.
    Thanks in advance.

    Hi,
    Try use numerical character (TYPE N).
    Regards,
    Charles

  • Which Data-Types can be used as Widget Parameters?

    Hi,
    I have been playing about with widgets (specifically widget parameters) for a while now.
    I've got to wondering, exactly which data-types can Captivate turn into widget parameters?
    So far I know that you can use:
    Numbers,
    Strings,
    Arrays,
    Objects
    and Booleans,
    as parameters.
    Which ones am I missing?
    I know some don't work, because I tried storing a MovieClip as a parameter and that didn't work.

    Hi Eccles,
    You can set all basic data types supported in flash viz.,
    1)Numbers
    2)Strings
    3)Arrays
    4)Objects
    Since in Action script , an Object can be anything (array , array of objects , array of objects which by themselves are array of objects and so on ) , you can virtualy send anything as widget params
    But there are two caveats to this
    1)Object References
    -Object References do not have any meaning once the swf is closed.But the widget params have to be stored across sessions.So If you send a reference as part of widget params it is not going to work.
    This is why sending a Movie Clip (which is actually a reference to an Object ) does not work
    If you want to send such things you will have to 'serialize' the object.
    2)Size of the Object that you send
    The size of the object that you send can have an impact on performance.And since any object that you send has to be converted into XML , objects like bitmaps can turn out to be huge and difficult to handle.
    This brings us down to this - you can send any object across as widget param as long as it is small and serialized.

  • Why does my app store use a different account for downloading and another for updating apps?

    My app store used my own account for downloading and my sister's for updating, and it keeps telling me to reset my account. I already did that the other few times it told me to do that!

    Have you restored your device from your sister's backup?

  • The Date type - a good practise

    I am new to JDBC and have some problem using the Date type. When I deal with DB, I use the java.util.sql.Date, otherwise, I use the java.util.Date. Somehow, I need to do the conversion between date and year, month, and day. For some reason, a result of the conversion is total wrong in some situation but not all. Any advise on a good practise of using the two Date typies?
    Thanks in advance.
    v.

    Just continue using the java.util.sql.Date instead of using the java.util.Date because the latter has a lot of deprecated methods. Try using java.util.Calendar to do your conversion between date and year, month, and day. Try using its setTime(java.util.Date) of the java.util.Calendar to set the current date. From there you can do the conversion. Don't attempt to convert the Date object you got from DB to java.util.Date. It's ok to use java.util.sql.Date for the Calendar.setTime() function since java.util.sql.Date is a subclass of java.util.Date.
    I hope this helps.

  • Which data type for X_Data_Type argument to PlotXY(...)

    Using Labwindows/CVI 2013.
    I'm collecting data and time stamps.
    The time is acquired by calling time( &timeTag );
    timeTag is declared as time_t;
    So now I have a big array of time_t.
    I want to use PlotXY to display the data.  The x-axis of the graph control is configured for absolute time so it will display time and date.
    My question is:
    What data type should I use for the X_Data_Type argument to the PlotXY(...) function?
    Should I convert the absolute time to double and use VAL_DOUBLE?
    Or should I use the time_t values as is and use VAL_UNSIGNED_INTEGER?  Will this still work if I build as a 64-bit application.
    Thanks,
    Kirk
    Solved!
    Go to Solution.

    You can use both: the information is basically the same but using time_t datatype you will loose the fractional part of seconds, which may or may not be a problem for you (apparently is not since you are already getting data using time () and are satisfied with that).
    Look at <cvisampledir>\userint\TimeDateUnits example for an application of time graph using doubles: you can modify the example simply using time () instead of GetCurrentDateTime () and setting the appropriate data type in PlotXY ().
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Which Data Type with 255 cars +

    Hi,
    I have a flat structure table with 15-20 fields, and I need for one of the field a data type with more than 255 cars
    I cant put a STRING without having the flat structure error ...
    Which one should I use ? How should I proceed ?
    Thanks !
    Kr,
    BA

    Hi Benjamin,
    use SE80, click repository info system, click dictionary - data elemets. Chose length > 1024. F8 to execute.
    Check where-used-list of what you like to use to make sure it is so frequently used that SAP will not change it.
    Or better create your own Z data element with required length
    Regards
    Clemens

  • Customer not ready to send free of goods back But he wants money back for damaged stock

    Dear sd Experts please tell me How To Achieve In SAP
    Customer : 120000
    Company: AAA
    AAA Company offered if customer purchased Material ZZZ  For 100 qnty They will Give Free of goods Material XXX 15 For Diwali
    : ex: Now customer Purchased 100 qnty and he got 15 Free of goods from the company Now This scenario ok Imagine stock reached just one day before DIWALI  suddenly Customer Found some damaged stock Like 10 Items
    now he wants to back the stock  and he doesn't want the same material 10 Items  (zzz) He wants only Money
    because Once DIWALI Completed he cant sell the products he will be in loss ( i am giving just example to understand)
    so he wants money back .....................For 10 Qnty
    But he is not ready To Give back Free of goods Back (XXX) Because He purchased the stock From the company is giving free goods thats way
    Yes it is correct point From the customer side because every customer will think like this only no wrong with him ...
    Now coming to Company issue .... Company everything calculated material cost and finally decided That 100 Material ZZZ We can give XXX 15 Material As a free of Goods here no loss and no profit 
    But if customer Is asking Money back for Damaged stock and he doesn't want To give free of goods back ,,, So here from company point of view some loss will be generating definitely..100 %  so how we will proceed with FI @MM IN SAP
    Because I think another option plz guide me
    Thanks a lot

    Dear Venu,
    As i understood On a purchase of 100 TVs--10 DVD players are free(may be 10+1 offer)
    Now after receiving customer found 10TVs damaged
    (only TVs got damaged--not the free good DVD players)
    So he returned those damaged 10 TVs back to Business and he dont want to take this new 10 TVs based on his sales after his seasonal experiences.
    So now the adjustment can happen in the following ways:
    (solely depends on your understanding with your customer)
    1.Adjust the total amount only for 90 TVs(you can use credit memo else invoice correction request)
    2.here the question comes is for 90 TVs only 9 DVDs are free--(here again you can do in two ways charge the customer by a debit memo for additional one piece of DVD player   or   ask the customer to return that one DVD player)
    Hope this helps.
    Very Important note:
    I just saw somebody asking you to correct your punctuation and there is a like given by Our senior and respected member JP. we have to understand one thing here--always we  need to take these comments as positive manner(recently our respected moderator JP cautioned me  too through a direct message asking to correct my diction and some spelling mistakes--which i might be doing without any intention)
    Remember one thing in life--- all of our respected senior members are here to help us whenever we are facing career threatening issues--even though they dont know us personally --they are helping us & we come out with victory and smiley faces from all these issues--we should respect their comments and say thanks to the people who is correcting you at your career.
    To Respected JP: sir--i think you might have observed the change in my approach too
    (like ""me too"" at your message)
    whenever i am crossing-- requesting you again to correct me.
    sorry to give this pain again to you sir.
    Regards
    Phanikumar

  • Not show the right button in input field which data type is date

    My web dynpro has a input field. This input field is mapped with a context attribute which type is datum.
    This field is read only. I want that this field doesn't show the right button to choose the date.
    How do I solve this?
    Thanks

    Hi,
    go to the context of your view,
    to the attribute of your date,
    and set the attribute input help mode to disabled
    grtz,
    Koen

  • I have attempted to download ML but it does not install. The App store confirms I have paid for it, and while I have clicked yes to redownload, I am unable to find the file and it has not loaded automatically. Any help

    I have been asked several times if I want to redownload ML and answered yes, but nothing appears to happen and nothing installs. Somewhat surprisingly my internet service provider howevere has infrmed me I have exceeded my download limt today ( which suggests I have downloaded multiple copies of ML file, but I cannot find any evidence on my hard drive of where it has gone. Help appreciated.
    I am attempting to install ML on a 2009 Macbook pro, core2 duo, with 8mb RAM. I am currently running Lion 10.7.5.

    Thanks
    Problem resolved itself. Turned out that I had ben unable to contact the App store to confirm purchase. Once this resolved itself program downloaded properly and installation went without a hitch.
    Thanks again

  • I've redeemed my iTunes Card. Balance shows right amount but keeps asking for verification and card number

    i've just redeemed a $50 iTunes card. Credit shown on account is correct but when i try to make purchases it asks for my user name and password even tho i'm already signed in and it sends me back to the redeem page. please help!

    The amount is already credited to your account. Purchase something and it will use this balance.

  • Since upgrading to iOS7 I cannot download anything from iTunes or the App Store.  I get asked for PW and then it just reverts back to showing the price of the app or song.  When you tap it, it gives an INSTALL box and when tapped it again asks for PW.

    Please help.  I cannot download any apps or itunes content.  Just get this circular path of tapping to install, entering PW and back to tapping to install and asking for PW.  This started with the latest iOS update.  Any help would be appreciated - Thanks

    Try a reset. Press & hold the Power and Home buttons simultaneously, ignoring the red power off slider, until the Apple logo appears. Then release both buttons. This should not affect any content on the iPad, it is similar to rebooting your computer.

  • Which oracle data type store Maximum data?

    Hi All
    could any one suggest me that i store maximum data in oracle data type for that which data type i have to use?
    i m working on Oracle 10g
    Thanks

    Refer
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements001.htm#i54330
    and choose the data type that you need to (except for LONG - it has too many limitations and is only provided for backward compatibility).

Maybe you are looking for

  • Windows Media Player in Safari

    i have a MBP and i would like to know how i can get Windows Media videos to play DIRECTLY in Safari....i have downloaded Windows Media Player, and it works just fine, but every time i visit a page with a video on it that is a WM file, it opens in a s

  • Re-Process failed XI Messages Automatically

    If there is any other blog other than 2728 that talks about how to re-process XI Messages? On What Cirumstances we need to Reprocess a Message?

  • Ipod syncing then disconects

    We have just brought a Ipod nano and a Ipod 160gb classic and have found both ipods to decide all of a sudden that they no longer want to stay connected to the computer. Has anyone else encountered this problem? Does anyone know how to fix this? The

  • How Can I Create A Contact Form In Dreamweaver Using ASP

    I tried to create a contact form using php, but that failed epically. The server doesn't support php, and there isn't anything I can do about that. My only option now is to create it using ASP but I can't find a good tutorial on how to do so. Please

  • Photoshop Elements 8, How to show  hue, value and saturation of a specific area of a pickture?

    Hello, Photoshop Elements 8, How to show  hue, value and saturation of a specific area of a picture? How should I select the area? Which tool? Thank you in advance, Karl