Cf_dev2 and PaulH ,help me,about the javadbf,thank you.

I have an other problem with javadbf.
Now i can read dbf file with javadbf,But i can not write dbf
file, i don't know Java code below.
import com.linuxense.javadbf.*;
import java.io.*;
public class DBFWriterTest {
public static void main( String args[])
throws DBFException, IOException {
// let us create field definitions first
// we will go for 3 fields
DBFField fields[] = new DBFField[ 3];
fields[0] = new DBFField();
fields[0].setName( "emp_code");
fields[0].setDataType( DBFField.FIELD_TYPE_C);
fields[0].setFieldLength( 10);
fields[1] = new DBFField();
fields[1].setField( "emp_name");
fields[1].setDataType( DBFField.FIELD_TYPE_C);
fields[1].setFieldLength( 20);
fields[2] = new DBFField();
fields[2].setField( "salary");
fields[2].setDataType( DBFField.FIELD_TYPE_N);
fields[2].setFieldLength( 12);
fields[2].setDecimalCount( 2);
DBFWriter writer = new DBFWriter();
writer.setFields( fields);
// now populate DBFWriter
Object rowData[] = new Object[3];
rowData[0] = "1000";
rowData[1] = "John";
rowData[2] = new Double( 5000.00);
writer.addRecord( rowData);
rowData = new Object[3];
rowData[0] = "1001";
rowData[1] = "Lalit";
rowData[2] = new Double( 3400.00);
writer.addRecord( rowData);
rowData = new Object[3];
rowData[0] = "1002";
rowData[1] = "Rohit";
rowData[2] = new Double( 7350.00);
writer.addRecord( rowData);
FileOutputStream fos = new FileOutputStream( args[0]);
writer.write( fos);
fos.close();
and this:
DBFWriter writer = new DBFWriter( new File(
"/path/to/a/new/file")); /* this DBFWriter object is now in Syc
Mode */
Can you write it use CFML,thank you.

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=6&threadid=1289401

Similar Messages

  • Dear Apple I buy a refurbish iPhone 5s the IMEI ******* and ICCID ******** and i restored the device when i restored its locked to iCloud and i don't know the username and password i hope to help me about the problem asap.  Best regard

    Dear Apple
    I buy a refurbish iPhone 5s the IMEI ******** and ICCID ********** and i restored the device when i restored its locked to iCloud and i don't know the username and password i hope to help me about the problem asap.
    Best regard
    <Edited by Host>

    This is a user forum. You aren't talking to Apple here.
    Return your iPhone for a refund. There is no way to remove the Activation Lock. Apple won't get involved.
    <Edited by Host>

  • Great Problemes after installing Yosemite (10.10.2 ) with Photoshop CS6....The program crashes --last time 10 times during my work session..wacomtable doesnt work..it is slow...and get error messages about the graphic card....It s a Terror to work with my

    great Problemes after installing Yosemite (10.10.2 ) with Photoshop CS6....The program crashes --last time 10 times during my work session..wacomtable doesnt work..it is slow...and get error messages about the graphic card....It s a Terror to work with my beloved Photoshop!

    The Yosemite upgrade very often damages existing Photoshop installations.  Thank Apple for that.
    You need to uninstall and re-install Photoshop, then apply all the Photoshop upgrades from scratch.
    But first, give us details about your setup:
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    A screen shot of your settings or of the image could be very helpful too,
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Help! about the info title

    I want to install the adobe flash player.it says"if the info
    bar appears above the page,click the bar to install."
    but on my computer,there isn't a gold bar at the top of the
    browser window.
    do u know why? and what I should do ?
    thanks a lot!

    jcbrezzo;
    As mentioned before, good source for advance techniques in LabVIEW are the LabVIEW Zone and some books, in special those from Gary Johnson.
    If you open the Context Help window and place your mouse over the Property Node, you will obtain useful information about its functionality. To open the Context Help window, go to the Help menu and select "Show Context Help".
    Regards;
    Enrique Vargas
    www.vartortech.com

  • Help, How about the price about the computer components in Toronto

    help, How about the price about the computer components (CPU,
    RAM and so on...) shall I bring CPU and RAM to Toronto?
    I am Chinese. I live in shanghai...
    And, are there some websites which provide computer hardware price information?
    I really appreciate your help.

    Check out some of the major retailers for a general idea:
    www.futureshop.ca
    www.staples.ca

  • Hi my ipod touch 8gb won't turn on just get the apple sign in middle of screen and my laptop also can't find my ipod wen i plug it in? any help would be greatly appreciated thank you.

    hi my ipod touch 8gb won't turn on just get the apple sign in middle of screen and my laptop also can't find my ipod wen i plug it in? any help would be greatly appreciated thank you.

    OR use this method
    1. Press-hold the Home button (big circle below the screen)and the Sleep/Wake button (on top of the iPhone) simultaneously.
    2. Continue holding both buttons (Ignore the"Slide to power off") until the iPhone shuts off and begins to restart.
    3.You may let go when you see the silver Applelogo.
    Thats all Folks!!

  • Since upgrading to OS X 10.8.2 a few days ago, Safari will suddenly zoom in on web pages (happens on multiple sites) when I scroll or move the mouse -- any one know why and what to do about it? Thanks.

    Since upgrading to OS X 10.8.2 a few days ago, Safari will suddenly zoom in on web pages (happens on multiple sites) when I scroll or move the mouse -- any one know why and what to do about it? Thanks!

    It really isn't a well thought out 'gesture' when a normal scroll action can result in an unwanted zoom but disabling SmartZoom wasn't an option for me—one of those with eyes that tire easily when reading very small text on a 27" display.
    For a while I used command-+ and command-'-' to read small text but that isn't supported in some apps and for Safari it often leaves the browser in an less than perfect state when moving to the next page.  I also tried option scroll to zoom the whole display but that was not desirable, either.
    I finally settled on leaving SmartZoom enabled and remembering to double tap with one finger whenever the undesired zoom happens. It happens so often that the double tap is almost a reflex action for me.

  • Hello, I have a problem with my iPad I actually forgot my password on my ipad, but I still remember the Apple ID and password, I will like you to help me find my password. thank you for your understanding

    hello, I have a problem with my iPad I actually forgot my password on my ipad, but I still remember the Apple ID and password, I will like you to help me find my password. thank you for your understandingu
    de

    Forgot passcode
    http://support.apple.com/kb/ht1212

  • This will be my first time buying a laptop and I was thinking about the macbook pro with retina display but the price is a little to high I was wondering for any suggestions?  Like other ways to get it cheaper?

    This will be my first time buying a laptop and I was thinking about the macbook pro with retina display but the price is a little to high I was wondering for any suggestions?  Like other ways to get it cheaper?

    Actually you could get student discount from apple and a 10% dicksmith with limited time and I think jb hi fi gives even better discount. But lets see what other people think?

  • Good .. I would like to work together I have an iphone 63gs 16gb, I do not read the sim card in itunes gave him the option restore and now I get on the screen that you can not do iphone activation would help me. I'm from Colombia

    Typgood .. I would like to work together I have an iphone 63gs 16gb, I do not read the sim card in itunes gave him the option restore and now I get on the screen that you can not do iphone activation would help me. I'm from Colombia

    Activation requires a SIM card.
    Activation issues are almost always the result of a device that has been hacked or jailbroken. If that is the case, no support can be provided here.

  • I am using iphone 4 (MC603B, version 4.3(8F190) and never updated it. as i have formated my laptop; i have to download itunes again. please help me to download itunes which suits this version. where can i get the link. thank you.

    I am using iPhone 4 (MC603B, version 4.3(8F190) and never updated it. as i have formatted my laptop; i have to download iTunes again. please help me to download iTunes which suits this version. where can i get the link. thank you.

    Older iTunes versions can be downloaded here: Apple - Support - Downloads
    Follow these steps to get your data to your new computer:
    Syncing to a "New" Computer or replacin…

  • I deleted my keynote and downloaded it again but the installer says: You already have an eligible Keynote in the folder: /Applications/iwork 09, I didn't find any keynote. Please someone help me Im stuck in this mess.

    I deleted my keynote and downloaded it again but the installer says: You already have an eligible Keynote in the folder: /Applications/iwork 09, I didn't find any keynote. Please someone help me Im stuck in this mess.

    SkyDaughter29 wrote:
    My current situation: I have soooo many texts on my iphone and I haven't deleted many because I need the information contained in them for future reference and for legal purposes.  I would really like to find a means and way to save them other than on the phone itself. I've done searches for various apps yet I'm not finding what I think I would need.  It appears Apple does not sync the texts between the iphone and my MacBook Pro.
    Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
    http://www.ecamm.com/mac/phoneview/
    http://www.wideanglesoftware.com/touchcopy/index.php
    Best of luck.

  • Did a clean install 10.9.4. on a stock Fusion HD.  When I run "diskutil list" via Terminal, everything is wrong.  I have "EFI" and "apple Boot Boot OSX in every dev/disk** How do I fix? Any help would be much appreciated, thank you

    Did a clean install 10.9.4. on a Apple Stock 1TB Fusion Hard Drive.  When I run "diskutil list" via Terminal, everything is wrong.  I have "EFI" and "apple Boot Boot OSX" in every dev/disk**  Everything is out of place, How can I repair? Im willing too reformat if need be, however thats what I did in the first place.  Any help would be much appreciated, thank you.
    I know this cannot be correct
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:          Apple_CoreStorage                         121.0 GB   disk0s2
       3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *1.0 TB     disk1
       1:                        EFI EFI                     209.7 MB   disk1s1
       2:          Apple_CoreStorage                         999.3 GB   disk1s2
       3:                 Apple_Boot Boot OS X               650.0 MB   disk1s3
    /dev/disk2
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                  Apple_HFS Fusion                 *1.1 TB     disk2
    /dev/disk7
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                                                   *121.9 GB   disk7

    It appears as if my startup disk has been reversed and not using the fusion ssd portion as it should.  At least its now reversed as to what it used to be originally before.  the 128gb ssd used to be on top.  Is my mac booting fusion correctly?  Thank you for responding as I was about to reformat.
    CoreStorage logical volume groups (1 found)
    |
    +-- Logical Volume Group C2619AFE-0EB5-4721-8C50-3F3DBA520D1B
        =========================================================
        Name:         fusion
        Status:       Online
        Size:         1120333979648 B (1.1 TB)
        Free Space:   114688 B (114.7 KB)
        |
        +-< Physical Volume 583AAEA9-E333-4A83-9BE3-E937396E9248
        |   ----------------------------------------------------
        |   Index:    0
        |   Disk:     disk0s2
        |   Status:   Online
        |   Size:     120988852224 B (121.0 GB)
        |
        +-< Physical Volume B0C1CB16-D46F-4387-A679-B55392BB7934
        |   ----------------------------------------------------
        |   Index:    1
        |   Disk:     disk1s2
        |   Status:   Online
        |   Size:     999345127424 B (999.3 GB)
        |
        +-> Logical Volume Family FB42B9F4-CB77-4162-831B-7DCB7816E760
            Encryption Status:       Unlocked
            Encryption Type:         None
            Conversion Status:       NoConversion
            Conversion Direction:    -none-
            Has Encrypted Extents:   No
            Fully Secure:            No
            Passphrase Required:     No
            |
            +-> Logical Volume C0B8479B-C51C-45BF-B59B-1AA5DF3A3B83
                Disk:                  disk2
                Status:                Online
                Size (Total):          1111826497536 B (1.1 TB)
                Conversion Progress:   -none-
                Revertible:            No
                LV Name:               Fusion
                Volume Name:           Fusion
                Content Hint:          Apple_HFS
    FoHeazys-Mac-mini:~ FoHeazy$ diskutil list
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:          Apple_CoreStorage                         121.0 GB   disk0s2
       3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *1.0 TB     disk1
       1:                        EFI EFI                     209.7 MB   disk1s1
       2:          Apple_CoreStorage                         999.3 GB   disk1s2
       3:                 Apple_Boot Boot OS X               650.0 MB   disk1s3
    /dev/disk2
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                  Apple_HFS Fusion                 *1.1 TB     disk2

  • Hi.I need help.my iphone was Stolen .how can I get back my iphone. Serial No.DX*****PMW.could you help me find my iphone.thank you very much.could you send me the ICCID number to help me find the iphone

    Hi.I need help.my iphone was Stolen .how can I get back my iphone.  Serial No.DX******PMW.could you help me find my iphone.thank you very much.could you send me the ICCID number to help me find the iphone.if you can help me.
    <Personal Information Edited by Host>
                                                                                                                                                                   Sincerely a Chinese girl really need your help

    Sorry we are all users on this User  Community No Apple Staff
    Read this .
    http://support.apple.com/kb/HT2526
    Apple do not and cannot assist in finding stolen property ,that is the responsility of your Police

  • Hello is there a solution to play some avi formats with quicktime because with all the codec i can play video but not the sound thank you by advance (im on windows 7 so perian cant help me)

    hello is there a solution to play some avi formats with quicktime because with all the codec i can play video but not the sound thank you by advance (im on windows 7 so perian cant help me)

    I did some googling and found alot of topics from you on this issue, to me it simply seems like on of the connectors is broken or loose.

Maybe you are looking for