Connecting to Dbase file using Forms6i

Dear All,
I am using forms6i on windows98. I need to select some records from *.dbf file using forms6i. when I click a push button the program should select records from dbf file and put in a cursor.
I need help in doing it.
Thanks for your help in advance
Saji Alexander
null

I've tried the below:
String url = "jdbc:odbc:Driver={Microsoft Visual FoxPro Driver};UID=;PWD=; SourceDB=C:\\WINPASS\\CARD.DBF;SourceType=DBF;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Null=Yes;Deleted=Yes";
Connection connections = DriverManager.getConnection(url);
The error msg is:
java.sql.SQLException: No suitable driver
     at java.sql.DriverManager.getConnection(DriverManager.java:532)
On using the driver from svcon.com, I've successfully connected to my dbf format file, but I just cannot get to use the fields. Did anyone successfully using it? Can anyone share the code? I'm very new on this.
Thanks.
-Junhy.

Similar Messages

  • Connect to DBASE files via ODBC

    Dear Sirs,
    I want to connect to DBASE files and make some changes. Is it possible for me to connect via statements written in PL/SQL with Procedure Builder ? If it's possible, then how ?
    Could anybody help ?
    Thank you very much for the kind attention.
    Regards,
    Tonny Loekito

    Reasons for that are trying to be explained here and here

  • How to connect to dbf file using odbc

    I build a DSN 'dbf' of ms dbase driver(*.DBF)
    version 5.0
    but when I type
    'conn a/a@odbc:dbf'
    errors showed like that
    'ORA-03121:...'
    what's the matter?
    thanks in advance

    Does it work if you go to Project Properties and force 32-bit or 64-bit modes? (For example, uncheck the ‘Prefer 32-bit’ option, then select ‘x86’ in Platform Target for Debug and Release configurations. Then try the ‘x64’ Platform Target
    too).

  • How Can I connect to MS Access or DBASE using forms6i?

    Hello,
    I have installed Forms6i on my PC (No Oracle Database installed).
    I have Three Data source
    1. MS access DB
    2. Excel File
    3. Dbase4 File.
    How can I connect to these databases using forms6i?
    I have created ODBC DSN for MS Access DB, in forms6i Connect screen
    entered following
    username - admin
    password - password
    database - odbc:pay - (pay is dsn for MS access).
    It is giving following error.
    ORA-03121:no interface driver connected function not performed.
    Thanks in advance.

    Harshad,
    This forum focuses on connectivity solutions for the database. Your question would be best posted on the General application server forum.

  • Uploading/Downloading word,excel..etc in Oracle8i using Forms6i

    Dear Friends
    I want to insert word,excel or image from client m/cn to server's database(Oracle8i) using Forms6i.
    Can anyone please suggest me the best way of uploading/downloading these kind of file using Forms6i.
    Other than OLE.Bcoz I have acheived this thro' OLE in Forms but I am lookin for some other solution in Forms only.This is not required for any web application...only client/server architecture.
    Please advice asap.

    It's not possible with Forms6i ... The reason being that Forms6i lacks any built-ins to deal with binary data in file access! The only way in C/S is OLE which you already have ... or if you don't mind then you can write a small external utility yourself that can do the upload/download. This you could write for example as an OCX, an external DLL ... or most simple as just a stand alone executeable called by HOST-command.
    Regards,
    Stefan

  • How to use secure connection parameter in file adapter

    Hi all,
    I have scenario like FIle to file using ftp protocal over secure connection(FTPS).
    i have some doubts like for doing this interface wat infromation i required from my client.
    iam able see the option FTPS(FTP USE SSL\TLS) for control connection & control and data conncetions.
    if i check the use X.509 certificate for the client authentication
        kestore (in the list i can see the some entrys for private keys )
        X.509 certificate & private key(i can also see some entries for private key  here )
    my question am i use the this existing private key & certificates?
    if yes which keys & certificates i have to use.
    if no wat  information i need like private key & certicates from client & how we installed those in the keystore providing by visual admin.
    For appearing those entrys in value list of the above parameters key store & X.509 certificate & private key.
    please let me know any basis activity involved over here other than keystore deployemnet.
    please correct me if any thing wrongly mentioned.
    Thanks in Advance.
    Edited by: katakoti on Jul 7, 2011 7:36 AM

    HI Reddy ,
    i already read that blog it nice blog. Few my doubts clarfied while reading the that blog.
    my quetion is like weathe  can we use "service_ssl" key sotre entry for any client FTP server for sending the encrypted files?.
    i mean those entries in the keystore  &  X.509 Certificate and Private Key  stanrd  or client(sender or reciver) FTP specific
    what deatils we require to do this scenario from client end & security team or basis team(firewall configuration like that).

  • When I connect to our server using smb:// can't copy files or edit names on server?

    When I connect to our server using smb:// can't copy files or edit names on server?

    Why not? What happens?
    Do you get an error message? What does it say?

  • How can u insert and retrieve text files in any format using forms6i.

    how can u insert and retrieve text files in any format using forms6i.
    can u give me an example of an insert statement, let's assume the file is located in the a:drive.
    and retrieving the files, i would give the user a list of all the files that are in the database, the user would select one, but what command(or piece of code) would open the file in its apppropriate editor.
    e.g .pdf formatted file would open in acrobat.
    any help would be appreciated.
    Thanks
    Hussein Saiger

    the filereference class is for downloading and uploading files.
    if you want to load xml, use the xml class.
    and, if you want to write to an xml file and don't want to use server-side code, wait.

  • I can't download OS5 or, rather, iTunes does download it about 450 mb and then, a few seconds after it starts processing the file, I get the message that I am timed out and am recommended to check my internet connection. I am using 3g to download it.

    I can't download OS5 or, rather, iTunes does download it about 450 mb and then, a few seconds after it starts processing the file, I get the message that I am timed out and am recommended to check my internet connection. I am using 3g to download it.

    I don't know which country you're in, but in the US, carriers limit the amount of download for a single file when using 3G.  Have you tried wifi?

  • Hi, how do i share big files using the creative cloud , it says download the crative cloud connection, but then sends me nowhere that says that

    hi, how do i share big files using the creative cloud , it says download the crative cloud connection, but then sends me nowhere that says that

    Hi Jonty, check the file size limit:  Creative Cloud Desktop application FAQ
    You can also check the details around sharing and collaborating files: Sync and share files and folders with collaborators | Adobe Creative Cloud tutorials
    Atul_Saini

  • I just used a firewire connection to transfer files from an older MAC to a newer MAC. My newer MAC has lost all that was on it, and all the applications are opening like they have never been used before and asking for Rosetta. Help!!!

    I just used a firewire connection to transfer files from a PowerBook G4 to a MacBook Pro. The MacBook Pro has lost all that was on it, and all the applications are opening like they have never been used before and asking for Rosetta. How do I find all my files on the MacBook Pro, or undo what I have done???

    IGNORE the last post: he thought you are using Lion or Mountain Lion.
    Since you are using Snow Leopard, you need to install Rosetta.  It can be found on your Snow Leopard Install DVD in the Options section.
    Once installed all should be well again.
    Also, if your computer is connected to the internet when the Dialog Box about PowerPC applications comes up, it MIGHT allow you to download Rosetta from the internet.  There has been some discussion that Apple has discontined internet download of Rosetta into Snow Leopard.
    Someone else will have to address your lost files problem.

  • How to connect to desktop mac using iPhone. File sharing, ScreenSharing???

    Can you please explain how can I connect to my desktop using my iPhone like ScreenSharing will do or file sharing.
    Please describe step be step how to?
    Thank you,
    A new iPhone user who want to get the most out of it

    If by it you mean Mocha VNC, that is how it works. You can connect when you are not on your network but you will have to enable forwarding on you router if you have one.
    What is it tha you want to do remotly?
    This world of remote management is that of the IT tech. Mocha is for techs and people that get the technology they are using or are interested in getting it. It is not plug and play stuff. You have to be willing to learn a bit and then with that comes a lot of power.
    If you just want to turn it on and have it work anywhere you won't find that. The reason ports are blocked form the internet is to protect your computers from someone else doing exactly what you are trying.
    So if you want you can enable port forwarding for port 5900 on your router. The IP address VNC Mocha will need is now the IP address of your router. Create a second connection on the list in Mocha for this connection as it is different than the one that will work on your network. Your router will forward anything on that port to you computer. I have successfully done this. It isn't very fast i will say. The screen refresh is very slow. You need patience to get anything done. I needed a file from a PC i had at home. It took about 15 minutes to get that file moved on to my iDisk through running Firefox on the PC from several towns away using Mocha. I might have been on a slow internet connection too.

  • I want to connect Visual foxpro database through forms6i.

    Hi ,
    I want to connect Visual foxpro database through forms6i.
    actually i want to access Visual foxpro database in forms6i and retrive and update data from forms6i.
    please help me urgently how can i do this in forms6i.
    Thanks,
    Md.Muniruzzaman Khan
    Email : [email protected]

    do the following steps for hetrogenous service
    Step 1
    Create ODBC named Access1.
    Step 2
    Go to urs inithsodbc.ora file which reside at
    ORACLE_HOME\hs\admin\inithsodbc.ora
    and overrite by
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = Access1
    HS_FDS_TRACE_LEVEL = off
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    Step 3
    Add the following entry to the tnsnames.ora file:
    ACCESS1.WORLD =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=ACCESS1))
    (HS=OK)
    Step 4
    Add the following entry into the listener.ora file:
    (SID_DESC=
    (SID_NAME=ACCESS1)
    (ORACLE_HOME=D:\Oracle)
    ---Define urs oracle home path in mine case it is at D:\Oracle--
    (PROGRAM=hsodbc)
    Step 5
    Reload the listener from contol panel services yours listener service
    Step 6
    Create a database link using:
    CREATE DATABASE LINK access1.world CONNECT TO "MyUser" IDENTIFIED BY "MyPassword" USING 'ACCESS1.WORLD';
    Step 7
    Connect to scott/tiger
    Query the table using:
    SELECT *
    FROM [email protected];
    Step 8
    Same you can connect to urs forms and write above sql in cursor
    Acknowledge me.
    Khurram Siddiqui

  • .How to Change Path to dbf files Using Visual FoxPro ODBC Driver

    Using vb.Net 2008, full Crystal 2008.
    I have a Crystal report that uses a Visual FoxPro File DSN pointing at a folder with dbase (.dbf) files. 
    I need to be able to change the folder location at runtime. In the RDC, one key part of this has been specifying a connection string, such as:
    "Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=" & gs_FileDSN_Path & ";Exclusive=No;Collate=Machine;Null=Yes;BackgroundFetch=No;"""""""
    However, I can't find any .NET documentation confirming this syntax and, even more importantly, where does it go?
    I tried 2 variations as:
                    reportTableLogonInfo.ConnectionInfo.Attributes.Collection.Add(New NameValuePair2("Connection String", ls_ConnectionString))
                    reportTableLogonInfo.ConnectionInfo.Attributes.Collection.Add(New NameValuePair2("ConnectionString", ls_ConnectionString))
    Followed later by   TableN.ApplyLogOnInfo(reportTableLogonInfo)before calling
    But I don't know if the correct attribute name is "Connection String", "ConnectionString", or something else.
    I also tried to set the connection string to the QE_ServerDescriptions property, as in:
    reportTableLogonInfo.ConnectionInfo.Attributes.Collection.Add(New NameValuePair2("QE_ServerDescription", ls_ConnectionString))
    None of these variations nr many others seem to work.
    BOTTOM LINE:
    Could someone provide sample code for overriding the dbase files folder location specified by a Visual FoxPro FileDSN?
    Thanks!

    OK, I came to the conclusion that the tables or the report somehow hold on to the File DSN for dear life and I can't change that fact.
    So I'm going to change my approach and instead of changing the connection properties of the tables, I'll modify the properties of the File DSN on the fly.  Ugly, but an OK solution for my use scenario.
    It would still be great to get a code sample for the original question but, it's no longer a burning issue for me.
    It would be nice if the support team created a document describing in detail how to achieve database location changes using .NET for different scenarios. It's a common need and the RDC object model had such a document.

  • Unable to connect to Apps EUL using sysadmin on Disco admin 10g

    Hi Folks,
    I (well my dba!) has created an app R12 EUL I can connect to the EUL using Disco Plus but I cant
    connect to the EUL using Disco Administrator 10g!
    I have carried out the following step's:
    1, copied .dbc file from ebiz to c:\secure directory on my PC
    2, created FND_SECURE environment variable
    3, created registry entries as per installation instructions
    4, added ebiz entry to tnsnames file
    5, restarted machine
    However I still get the error message
    Unable to connect to sysadmin@<dbase>
    Failed to connect to database - unable to connect to Oracle
    Applications database :invalid username/password
    I'm at loss as I've installed Disco admin loads of times before though this is a first on windows VISTA?
    Any help suggestions most appreciated
    Regards
    Guy

    Got a new .dbc file problem solved!!

Maybe you are looking for