Access db: problem with float numbers if access isn't installed

hi all,
i wrote a simple application to store/retrieve float values into/from an access db.
i tried it on my computer (with ms access installed) and i could store float values (ie 136.5), but when i tried my application (copying all classes and the db) on another machine without ms-access, i couldn't store float values, only int (ie 1365.0).
the column "price" in the db is set as float with 1 decimal number, and there are other columns set as string, with no problem.
anyone could help me?
should i install access into the second machine too?
thanks
sandro

Could it have something to do that on one machine '.' is interpreted as a decimal point, but on the other machine it is interpreted as the , you use in e.g. 1,000 (=1000).
I would check that both macines use the same Regional Settings (in the control panel).
Do you use any of the java.text.xxxFormat classes?

Similar Messages

  • Application Express 3.1 + BI-Publisher + problem with formating numbers

    Hello together!
    I use the Oracle BI Publisher Template Builder for Word (10.1.3.4) to generate RTF-Templates. I upload these templates in Oracle Apex (Advanced support-->BI-Publisher/OC4J as print service).
    It works well, but I have a problem with formating numbers.
    In Template Builder I define following number formats, for example: #.##0 for numbers like 1.454.234 and #.##0,00 for numbers like 54,80
    In Template-Builder Preview it looks well.
    But whatever I do, in use with Oracle Apex dots and comma are allready interchances in the printout.
    That means,
    1.454.234 become 1,454,234 in PDF-Report
    54,80 become 54.80 in PDF-Report
    Other than that, the layout is exactly the same like in Template Builder defined.
    What's wrong?
    Do I have to change any country parameter?
    Juliane

    I also had the same problem. I tried with normal formating of 99g99g999d99 instead of ##,##,##0.00 and it has resulted correct way.

  • Problem with page numbering in Acrobat XI Pro

    Hello community,
    I got a problem with page numbering with certain documents in Acrobat XI Pro.
    The next error comes up:
    Translated in English:
    There is an error occured when getting up of page-content.
    This is occured with certain pdf-documents (i cannot uploading this file).
    Is someone have similar problem, or has someone hev a sollution for this?
    Greetings,
    Bart

    This usually means the file is corrupt, probably because it was not created
    using a standard application like Adobe Acrobat.

  • Problems with Mac OSX 10.5.2 and installing my pro tools le 7.1.1

    Problems with Mac OSX 10.5.2 and installing my pro tools le 7.1.1.
    My garage band & reason software don´t open anymore giving me a error messasge regarding the midi drivers in the operating system.
    Please help!!!
    Thanks,
    Paolo

    Somewhere at either Macworld or here I learned that DVDSP 2, DVDSP 3 and now DVDSP 4 "internally" are major re-writes.
    Support for HD among a few other items along with QT 7 which comes with Tiger means sincerely that one set of applications/OS is not going to be stable.
    Personally I think of all the issues possible its DVDSP vs QT.
    Unless you move to DVDSP v4 the alternative is to wipe the disk and go back to Jaguar (10.2) or perhaps Panther but avoid upgrading QT beyond 6. I advocate wiping the disk because I'n not sure an archive and install to down shift to an earlier version of the OS is possible. If it is I'd still worry about mis-matched files in all sorts of locations.

  • I have a problem with Adobe Creative Cluod. Basically after installing the application when I open it I do not charge adobe products but remains all white screen. I tried to uninstall it and install it several times but it does not work.  What should I do

    I have a problem with Adobe Creative Cluod. Basically after installing the application when I open it I do not charge adobe products but remains all white screen. I tried to uninstall it and install it several times but it does not work.
    What should I do?

    Hi Anto2211,
    Please follow the thread: Black screen CC where this issue is already discussed and resolved.
    Let me know for any further query.
    Thanks,
    Ratandeep Arora

  • HT6114 i have a problem with notification of service battery since i installed mavericks. My macbook air is 2012 version.

    i have a problem with notification of service battery since i installed mavericks. My macbook air is 2012 version. Any solution?

    This from the crash log
    Dyld Error Message:
      Library not loaded: /System/Library/Frameworks/Accounts.framework/Versions/A/Accounts
      Referenced from: /System/Library/StagedFrameworks/Safari/Safari.framework/Safari
    indicates there is a missing library on your system. What problems were you having before that caused you to delete Safari? How did you delete it?
    You're best bet in this case is to re-install the OS. While doing a re-install will not normally harm your user data having a good working backup in cases like this is essential.

  • Problem with decimal numbers..

    hi i posted the other day with a problem I had. I thought it was all sorted but I have just realised that there is another problem.
    I have the following code for an applet:
    import java.applet.*;
    import java.awt.*;
    import java.awt.event.*;
    public class TextFieldExample extends Applet implements ActionListener {
    TextField textInput;
    String text = "";
    public void init() {
    textInput = new TextField (20);
    add(textInput);
    textInput.addActionListener(this);
    public void actionPerformed(ActionEvent e) {
    text = textInput.getText();
    repaint();
    public void paint(Graphics g) {
         int x = Integer.parseInt(text);
         double y = Math.abs(x);
    g.drawString("You wrote " + text,20,500);
         g.drawString("The absolute value is: " + y,20,100);
    I am trying to do the applet so when you type in an angle, it tell you the sine, cosine etc. I can get it to work with whole numbers like 1,10,300, but it won't work when i try to use decimal numbers. Can anyone help?
    Thnk you in advance!
         

    Hi,
    you are using Integer.parseInt() to convert the input, so it will only work if the text is an integer. Use Double.parseDouble() instead.
    Andre

  • Problem with Float.toString

    Hi,
    I have a small problem with wrapper class Float.
    For example
    float f = 99999999999999999f;
    f.toString(); returns a mentioned in the api doc: 9.9999999999999999E16
    while I wanted the original 17 times a 9,
    how can I achieve this??
    THX

    I tried to use the DecimalFormat class with the patter 17 * #, but the string it prints is no longer the same as in the original Float (17 * 9), now I get 17 chars but they are no all 9

  • Problems with line numbers (building via ant).

    We use ant for our builds and are having a problem with getting line numbers into call stacks. When running on linux we do not get the lines for our projects (not all projects have debug option), just (Unknown Source), however we do see line numbers for the tib jars. Eclipse is fine, we can see all line numbers as appropriate.
    I have tried "lines", "lines,source" and "lines,var,source" - all build a different sized jar which suggest something is getting added. However as we see line nums for tib it suggests it's some strange java runtime option. We're using sunjdk 1.5.10 and also jrockit.
    Any ideas/answers most appreciated.
    Many thanks, Declan
    Ant task
    <target name="compile" depends="init">
         <javac target="1.5" destdir="${classes}" debug="on" debuglevel="lines,source">
              <src path="${src}"/>               
              <classpath refid="default.classpath"/>
         </javac>     
         <javac target="1.5" destdir="${classes-test}" debug="on" debuglevel="lines,source">
              <src path="${testsrc}"/>
              <classpath refid="default.classpath"/>
              <classpath location="${classes}"/>
         </javac>
    </target>
    Example output
    java.lang.IllegalArgumentException: Field data is null
    at com.tibco.tibrv.TibrvMsg._addImpl(TibrvMsg.java:1503)
    at com.tibco.tibrv.TibrvMsg.add(TibrvMsg.java:1020)
    at com.lehman.fid.jdt.channel.tibrv.TibrvMessage.putObject(Unknown Source)
    at com.lehman.cmd.etrading.orderbook.dp.DefaultDepthPublisher.buildSubMessage(Unknown Source)
    at com.lehman.cmd.etrading.orderbook.dp.DefaultDepthPublisher.buildSubMessage(Unknown Source)
    at com.lehman.cmd.etrading.orderbook.dp.DefaultDepthPublisher.publishDepth(Unknown Source)
    Cmd line
    VM_OPTS="-Dlogfile=../../log/CmdOrderBook.log"
    VM_OPTS="${VM_OPTS} -Dcom.sun.management.jmxremote"
    VM_OPTS="${VM_OPTS} -Dcom.sun.management.jmxremote.authenticate=false"
    VM_OPTS="${VM_OPTS} -Dcom.sun.management.jmxremote.password=false"
    VM_OPTS="${VM_OPTS} -Dcom.sun.management.jmxremote.ssl=false"
    PARAMS="-springcfg orderbook-context.xml -instancename CmdOrderBook"
    exec ${JAVA_HOME}/bin/java -DappInstance=CmdOrderBook -server -Xmx500M -Xms250M -Xincgc ${VM_OPTS} com.lehman.cmd.etrading.orderbook.CommoditiesOrderBook ${PARAMS} >> ../../log/Cm
    dOrderBook.out 2>&1

    We use ant for our builds and are having a problem with getting line numbers into call stacks. When running on linux we do not get the lines for our projects (not all projects have debug option), just (Unknown Source), however we do see line numbers for the tib jars. Eclipse is fine, we can see all line numbers as appropriate.
    I have tried "lines", "lines,source" and "lines,var,source" - all build a different sized jar which suggest something is getting added. However as we see line nums for tib it suggests it's some strange java runtime option. We're using sunjdk 1.5.10 and also jrockit.
    Any ideas/answers most appreciated.
    Many thanks, Declan
    Ant task
    <target name="compile" depends="init">
         <javac target="1.5" destdir="${classes}" debug="on" debuglevel="lines,source">
              <src path="${src}"/>               
              <classpath refid="default.classpath"/>
         </javac>     
         <javac target="1.5" destdir="${classes-test}" debug="on" debuglevel="lines,source">
              <src path="${testsrc}"/>
              <classpath refid="default.classpath"/>
              <classpath location="${classes}"/>
         </javac>
    </target>
    Example output
    java.lang.IllegalArgumentException: Field data is null
    at com.tibco.tibrv.TibrvMsg._addImpl(TibrvMsg.java:1503)
    at com.tibco.tibrv.TibrvMsg.add(TibrvMsg.java:1020)
    at com.lehman.fid.jdt.channel.tibrv.TibrvMessage.putObject(Unknown Source)
    at com.lehman.cmd.etrading.orderbook.dp.DefaultDepthPublisher.buildSubMessage(Unknown Source)
    at com.lehman.cmd.etrading.orderbook.dp.DefaultDepthPublisher.buildSubMessage(Unknown Source)
    at com.lehman.cmd.etrading.orderbook.dp.DefaultDepthPublisher.publishDepth(Unknown Source)
    Cmd line
    VM_OPTS="-Dlogfile=../../log/CmdOrderBook.log"
    VM_OPTS="${VM_OPTS} -Dcom.sun.management.jmxremote"
    VM_OPTS="${VM_OPTS} -Dcom.sun.management.jmxremote.authenticate=false"
    VM_OPTS="${VM_OPTS} -Dcom.sun.management.jmxremote.password=false"
    VM_OPTS="${VM_OPTS} -Dcom.sun.management.jmxremote.ssl=false"
    PARAMS="-springcfg orderbook-context.xml -instancename CmdOrderBook"
    exec ${JAVA_HOME}/bin/java -DappInstance=CmdOrderBook -server -Xmx500M -Xms250M -Xincgc ${VM_OPTS} com.lehman.cmd.etrading.orderbook.CommoditiesOrderBook ${PARAMS} >> ../../log/Cm
    dOrderBook.out 2>&1

  • Problem with floated elements in IE5.5

    I've apparently got a problem with a right sidebar float
    being dropped in a primitive version of IE and I can't figure out a
    remedy, as none are suggested in dwcs3's browser compatibility
    function. The site is lindafarronknapp.com... if anyone has any
    suggestions I would more than appreciate it...

    Thank you for the replies. What was happening is that the other audio files were being onverted by PPPro. This one was not. I moved the file to the desktop and once again placed it into the project. This time the yellow conversion line on the bottom right corner went to work and it works fine. It was some type of glitch with that one file. Thanks again. Roman

  • Problem with a numbered list

    I recently upgraded to RoboHelp 8 and I opened my old project to update an HTML online help. Whenever I generated the online help and I clicked to view the result on the PC with RoboHelp 8, everything looked fine. Then, I copied all generated files to a server to be part of a web application. Today, I found out that when I viewed the online help on the server using the same PC with RoboHelp 8, all numbers of numbered lists displayed against the left side of the main body of the help are not displayed correctly. Part of each number got chopped off. Again, if I go to the !SSL! folder and display the online help that I generated, it looks fine. I also found out that when I used another PC to view the same online help file from the server, all the numbered lists looked fine. The PC with RoboHelp 8 runs with Windows 7 Enterprise 64 bit and the PC that I could see the numbered lists correctly runs with Windows 7 Professional 64bit. I don't understand why the two PCs do not display the same online help the same way. I asked someone to use his PC running Windows XP with IE7 and the numbered lists were not displayed correctly.
    I read some discussions and there were a suggestion to use the "Convert RoboHelp Edited Topics to HTML" option to correct some problems with RoboHelp 8, so I tried it and it seemed to help. When using the option, I could see the numbered lists correctly. I am still wondering why two PCs did not display the same online help the same way. I am trying to see if there is an option with IE that can be used to solve this problem instead of deploying a new version of the online help. Does anyone know what the "Convert RoboHelp Edited Topics to HTML" option actually does. Will I be introducing more problems using this option?
    RJ

    Thank you very much for replying. The convert option seems to fix the problem and I will probably redo my lists later because I did not seem to be able to make any changes to them.
    I am still puzzled why one PC running the 64 bit Windows 7 Pro is able to display all numbered lists correctly and the other PC running the 64 bit Windows 7 Enterprise using the same version of Internet Explorer is not able to display any numbered lists correctly. I looked around with all the options for Internet Explorer and they are the same. I also noticed that when I used Google Chrome and FireFox, the numbered lists are displayed fine. I also noticed that if all the online help files are saved locally on the PC that is not able to displayed the numbered lists correctly, when I display the online help, the numbered lists look fine. It does not work when displaying the online help from a server. If you know an option that might make the online help to work properly with Internet Explorer without deploying a new version, please let me know.
    Thanks,
    RJ

  • Smart Forms : problem with Float Variable

    Hi  Expert,
       I have a probelm with Float variable. In my smart forms one fields of table QAMV contain value like 8.0000000000000000E+01.
    I have to remove the exponent and display value like 80.
    I have tried wa_qamv-sollwert(E10.4).. but it not working.
    Can U suggest me some solution.
    Regards
    Swati.
    Edited by: Swati Namdev on Apr 27, 2010 12:19 PM

    Hi,
    Please follow the steps.
    1. In your smart form create a variable w_val ,, type,, associate type -->  CHAR10
    2. Now write a code, jsut above your node where u wud like to get this value... For this Create -> Flow Logic -> Program Lines.. Now you have editor..
    3. In input parameters , put i_tab-QAMV.. and in output parameter put w_val... and Code like below
    CALL FUNCTION 'MD_CONV_QUANTITY_FLOAT_TO_PACK'
      EXPORTING
        iv_menge       = i_tab-qamv
      IMPORTING
        EV_MENGE       = w_val.
    4. Now grag and drop this w_val from global data field list...your this w_val will have the rounded value.. Pls try this and check..   It will work.
    Regards,
    Lokesh.
    Edited by: Lokesh Tarey on Apr 27, 2010 9:28 AM

  • Problem with a missing font that isn't missing!

    Hi
    I have a problem with a font appearing as missing in one document but fine in another document. I have tried to clear all paragraph styles and character styles but nothing works. The font shows up in both the list of fonts and the recently used fonts but when i choose it the text is highlighted in pink and the font name appears in brackets as if it is missing.
    I have tried to delete the cached Adobefnt file but that doesn't work either.
    I'm hoping there is a simple solution that I am to ignorant to know about. I am going out of my mind and would love any input on this problem of mine.
    Thanks
    Tinna

    THANK YOU STEVE! You saved the day!

  • Problems with elements 12 how do I re install?

    Problems with Elements 12, how do I reinstall.  Downloaded on line

    Hi Scott,
    Backward licensing policy is only if you purchase volume license but not applicable for retail license.
    Please refer the Backward licensing policy at : https://blogs.adobe.com/ukchannelnews/2011/06/16/licensing-downgrade-rights/
    http://www.adobe.com/volume-licensing/policies.html

  • Ongoing problem with flash player and FF..cannot install adobe Flash 11 with FF 16

    I have tried everything.
    I cannot install any Adobe flash product
    I was using Flash 10 and suddenly it stopped working.
    this happened before..several times in fact.
    I delete and re install but this tim it still crashed.
    so I decided to try Flash 11... windows 8 won't even let me run the installer.
    when I try to install it as a FF plug in it fails.
    sends me to do it manually.
    manually means using the installer program which Windows 8 won,t let me run
    I am stuck.
    Is there an alternative to adobe flash player?
    because I am tired of this.
    if there is no alternative, then I will fins another browser.

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

Maybe you are looking for

  • Trying to get iPhone with Family Plan.

    I currently am on a family plan, and would like to get the new iPhone, if I add another line and get the iPhone will I be able to change the iPhone to another line on the Family Plan that already has the data and text packages already on it and then

  • Find row number of first cell in a relative range that is less than $B$3

    Thanks for any help. I've spent hours searching, trying, and reading iWork Help Example:   $B$3 = 3 Column C 1:  9 2:  2 3:  9 4:  2 5:  3 6:  9 7:  9 Find the first occurrence that is less than $B$3 (=3) in the range C3:C6. Return the row # (relativ

  • Button target to a specific region

    Hello again, i want to load an apex-page in an specific region after pressing a button. My first attempt was to create a dynamic action which will set the value of a "Display Only"-Item using $s(':ITEM', "bla"). It appears to be very tricky to displa

  • Acrobat 8 Professional and Colors CMYK should be RGB

    I have just received proof copies back from our Printing company and found the colors deferent. They have told me the PDF is printing in CMYK and it should be RGB. The documents are created in Adobe FrameMaker 8 version 273, I have checked FrameMaker

  • Internet Explorer - CDE - Solaris 8

    I'm looking for any info/discussion/resources regarding installation and configuration of IE 5 within CDE. Installation seem to have gone OK - passed patch criteria etc., however, images/colour seem to be blocky and fonts are not as specified by give