Write to a openoffice database (dbf)

I have a problem with writing to e OpenOffice Database. I've created e Database with 3 tables. In LabVIEW I'm able to read the data of this tables. When i try to write into a table I get the error: Operation must use a updatable inquiry. In the properties of the udl file I've checked, that the DB ist Read/Write. I use the DB Tools create data.vi. When I use the option, create table it works, I've got a new table with the correct content, but adding a additinal row don't work.
I hope someone can help me out of this ...
Best regards
Alessandro
Attachments:
Datenbank versuch.vi ‏17 KB

Thanks Vikranth.Reddy !
I viewed FM "GUI_DOWNLOAD". in FM "GUI_DOAWLOAD" have parameter APPEND, this parameter use for some format file but don't use with format DBF.
U can see code of this FM in line 202 to line 216. the parameter APPEND_MODE don't have in list parameter of subroutine gui_dbf_download.
When Export to formate DBF use "GUI_DOAWLOAD" with parameter APPEND = 'A', data in file is overwrite.

Similar Messages

  • Best Practice to Atomic Read and Write a Field In Database

    I am from Java Desktop Application background. May I know what is the best practice in J2EE, to atomic read and write a field in database. Currently, here is what I did
    // In Servlet.
    synchronized(private_static_final_object)
        int counter = read_counter_from_database();
        counter++;
        write_counter_back_to_database(counter);
    }However, I suspect the above method will work all the time.
    As my observation is that, if I have several web request at the same time, I am executing code within single instance of servlet, using different thread. The above method shall work, as different thread web request, are all referring to same "private_static_final_object"
    However, my guess is "single instance of servlet" is not guarantee. As after some time span, the previous instance of servlet may destroy, with another new instance of servlet being created.
    I also came across [http://code.google.com/appengine/docs/java/datastore/transactions.html|http://code.google.com/appengine/docs/java/datastore/transactions.html] in JDO. I am not sure whether they are going to solve the problem.
    // In Servlet.
    Transaction tx = pm.currentTransaction();
    tx.begin();
        int counter = read_counter_from_database();  // Line 1
        counter++;                                                  // Line 2
        write_counter_back_to_database(counter);    // Line 3
    tx.commit();Is the code guarantee only when Thread A finish execute Line 1 till Line 3 atomically, only Thread B can continue to execute Line 1 till Line 3 atomically?
    As I do not wish the following situation happen.
    (1) Thread A read counter from Database as 0
    (2) Thread A increment counter to 1
    (3) Thread B read counter from Database as 0
    (4) Thread A write counter as 1 to database
    (5) Thread B increment counter to 1
    (6) Thread B write counter as 1 to database
    What I wish is
    (1) Thread A read counter from Database as 0
    (2) Thread A increment counter to 1
    (4) Thread A write counter as 1 to database
    (3) Thread B read counter from Database as 1
    (5) Thread B increment counter to 2
    (6) Thread B write counter as 2 to database
    Thanks you.
    Edited by: yccheok on Oct 27, 2009 8:39 PM

    This is my understanding of the issue (you should research it further on you own to get a better understanding):
    I suggest you use local variables (ie, defined within a function), and keep away from static variables. Those local variables are thread safe. If you call functions within functions, its still thread safe. If you read or write to one record in a database using sql, its thread safe (you dont need a transaction). If you read/write to multiple tables and/or records, you probably need a transaction. Servlets are thread safe. You usually dont need the 'synchronized' word anywhere unless you have a function updating/reading a static variable and therefore want to ensure only one user is accessing the static varible at a time. Also do so if you are writing to some resource (such as a file, a variable in applicaton scope, session scope, or resource that everyone uses such as email server). You dont want more than one person at a time to write to it). Note the database is one of of those resources that is handled by transactions rather than the the synchronized keyword (the synchronized keyword is applied to your application only (not other applications that someone is running), whereas the transaction ensures all applications are locked out while you update those records in the database).
    By the way, if you have a static variable, you should have one and only one function (synchronized) that updates it that everyone uses. If you have more than one synchronized function, that updates it, its probably not thread safe.
    An example of a static variable you would use is a Datasource object (to obtain your database connections). You only need one connection pool in your application and you access it via the datasource variable.
    If you're unsure your code is thread safe, you can create two seperate threads that call the same block of functions repeatedly to ensure it works as expected.

  • Write blob data from database to unix server

    Hi all,
    I need to send the attachment file into the mail. I have a header form in which I have implemented Download/Upload functionality using Apex user guide. When ever a user fill all the entries and submit the form then some field information along with attachment I need to send to the user.
    I mean when ever user hit the submit button it should take blob data from my custom table tmp_downlod_files and send to the user as an attachment.
    I have searched the post and got lot information but not able to get succeed.
    I have implemented java stored procedure for sending automatic mail when user is submitting the form but what I need is to take blob content from database and send as an attachment.
    1: So I need to write blob content from custom table to unix server in some location and from there I need to attach that file.
    2: the java store which I have implemented for sending automatic mail is working and one argument is attachment which I am passing null for now. So mail is working how to write the file from database to unix server and send as an attachment.
    What I did for writing file from database to unix server:
    1:
    CREATE OR REPLACE PROCEDURE trx_blob_to_file (l_header_id IN NUMBER)
    IS
    BEGIN
    FOR rec_picture IN (SELECT ID
    FROM TMP.tpx_download_files
    WHERE header_id = l_header_id
    AND mime_type LIKE ('image' || '%'))
    LOOP
    DECLARE
    l_out_file UTL_FILE.file_type;
    l_buffer RAW (32767);
    l_amount BINARY_INTEGER := 32767;
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    p_data BLOB;
    file_name VARCHAR2 (256);
    BEGIN
    SELECT blob_content, filename
    INTO p_data, file_name
    FROM tpx_download_files
    WHERE ID = rec_picture.ID;
    l_blob_len := DBMS_LOB.getlength (p_data);
    l_out_file :=
    UTL_FILE.fopen ('/home/oracle/interfaces/out/upld',
    file_name,
    'wb',
    32767
    WHILE l_pos < l_blob_len
    LOOP
    DBMS_LOB.READ (p_data, l_amount, l_pos, l_buffer);
    IF l_buffer IS NOT NULL
    THEN
    UTL_FILE.put_raw (l_out_file, l_buffer, TRUE);
    END IF;
    l_pos := l_pos + l_amount;
    END LOOP;
    UTL_FILE.fclose (l_out_file);
    EXCEPTION
    WHEN OTHERS
    THEN
    IF UTL_FILE.is_open (l_out_file)
    THEN
    UTL_FILE.fclose (l_out_file);
    END IF;
    END;
    END LOOP;
    END;
    2: I have written a PL/SQL process and calling the above procedure on SUBMIT:
    DECLARE
    l_header_id NUMBER;
    l_filename VARCHAR2 (200);
    BEGIN
    SELECT header_id, filename
    INTO l_header_id, l_filename
    FROM tpx_download_files
    WHERE header_id = :p35_sr_header_id;
    trx_blob_to_file (l_header_id);
    END;
    But it is not writing the file from database to unix server.
    If I can get how to make working to write file from database to unix server then I will hopefully can send an attachment.
    3; I have given
    GRANT EXECUTE ON TPX_BLOB_TO_FILE TO PUBLIC.
    And
    GRANT EXECUTE ON UTL_FILE TO PUBLIC.
    Where I am doing wroung can anyone guide me or any other approach is appreciated.
    I am already late so I need soon. Please help.

    Hi all,
    I need to send the attachment file into the mail. I have a header form in which I have implemented Download/Upload functionality using Apex user guide. When ever a user fill all the entries and submit the form then some field information along with attachment I need to send to the user.
    I mean when ever user hit the submit button it should take blob data from my custom table tmp_downlod_files and send to the user as an attachment.
    I have searched the post and got lot information but not able to get succeed.
    I have implemented java stored procedure for sending automatic mail when user is submitting the form but what I need is to take blob content from database and send as an attachment.
    1: So I need to write blob content from custom table to unix server in some location and from there I need to attach that file.
    2: the java store which I have implemented for sending automatic mail is working and one argument is attachment which I am passing null for now. So mail is working how to write the file from database to unix server and send as an attachment.
    What I did for writing file from database to unix server:
    1:
    CREATE OR REPLACE PROCEDURE trx_blob_to_file (l_header_id IN NUMBER)
    IS
    BEGIN
    FOR rec_picture IN (SELECT ID
    FROM TMP.tpx_download_files
    WHERE header_id = l_header_id
    AND mime_type LIKE ('image' || '%'))
    LOOP
    DECLARE
    l_out_file UTL_FILE.file_type;
    l_buffer RAW (32767);
    l_amount BINARY_INTEGER := 32767;
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    p_data BLOB;
    file_name VARCHAR2 (256);
    BEGIN
    SELECT blob_content, filename
    INTO p_data, file_name
    FROM tpx_download_files
    WHERE ID = rec_picture.ID;
    l_blob_len := DBMS_LOB.getlength (p_data);
    l_out_file :=
    UTL_FILE.fopen ('/home/oracle/interfaces/out/upld',
    file_name,
    'wb',
    32767
    WHILE l_pos < l_blob_len
    LOOP
    DBMS_LOB.READ (p_data, l_amount, l_pos, l_buffer);
    IF l_buffer IS NOT NULL
    THEN
    UTL_FILE.put_raw (l_out_file, l_buffer, TRUE);
    END IF;
    l_pos := l_pos + l_amount;
    END LOOP;
    UTL_FILE.fclose (l_out_file);
    EXCEPTION
    WHEN OTHERS
    THEN
    IF UTL_FILE.is_open (l_out_file)
    THEN
    UTL_FILE.fclose (l_out_file);
    END IF;
    END;
    END LOOP;
    END;
    2: I have written a PL/SQL process and calling the above procedure on SUBMIT:
    DECLARE
    l_header_id NUMBER;
    l_filename VARCHAR2 (200);
    BEGIN
    SELECT header_id, filename
    INTO l_header_id, l_filename
    FROM tpx_download_files
    WHERE header_id = :p35_sr_header_id;
    trx_blob_to_file (l_header_id);
    END;
    But it is not writing the file from database to unix server.
    If I can get how to make working to write file from database to unix server then I will hopefully can send an attachment.
    3; I have given
    GRANT EXECUTE ON TPX_BLOB_TO_FILE TO PUBLIC.
    And
    GRANT EXECUTE ON UTL_FILE TO PUBLIC.
    Where I am doing wroung can anyone guide me or any other approach is appreciated.
    I am already late so I need soon. Please help.

  • Connection to an openoffice database

    Hi,
    does anybody know how to access the openoffice database functionalities using LabVIEW?
    Are there any dlls or activeX, or anything that can be called from LabVIEW, which allow getting and setting values in a specified table?
    Thanks in advance.

    Thank you for the answer but I still have doubts!
    I have installed the version 2.0.1 enabling the activeX features during the installation. What I need now is to know  how to configure the "automation open" function in LabVIEW, since I can't found any item referred to openoffice browsing the select activeX class.

  • Write-lock the complete database

    Hello,
    One of my transactions changes many records in the database and often I need 30 and
    more tries, until the transaction is done without deadlocks.
    Is there a chance to simply write-lock the database (and block other transaction) until this
    expensive transaction has finished?
    Is this impossible?
    Thank you very much
    Josef

    Hi Josef,
    I would suggest starting by reviewing the information in chapters 9 and 14 in the Reference Guide ("Berkeley DB Transactional Data Store Applications", "The Locking Subsystem"):
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/toc.html
    and specifically the following links:
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/read.html
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/deadlock.html
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/tune.html
    If your application behavior allows for multiple-reader/single writer access to the database then you might want to consider setting up with CDS (Concurrent Data Store); this is presented in chapter 8 in the Reference Guide ("Berkeley DB Concurrent Data Store Applications").
    The above documentation should help you resolve this; if not, provide more information on how your application performs work (i.e. how many threads are writing concurrently, if you're using transactional cursors for writing, if you enclose reads in transactions, if you read records, analyze them and subsequently update them, what flags are set for transactions, databases, etc).
    Regards,
    Andrei

  • To write in an Access Database

    Here is my code:
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    catch(Exception e){
    System.out.println("Erreur lors du chargement du driver:"+ e.getMessage());}
    try {
    Connection con = DriverManager.getConnection("jdbc:odbc:user_data");
    catch(Exception e){
    System.out.println("echec d'ouverture:"+e.getMessage());
    ResultSet results;
    try {
    Connection con = DriverManager.getConnection("jdbc:odbc:user_data");
    Statement stmt=con.createStatement();
    int NbIns ;
    NbIns = stmt.executeUpdate("INSERT INTO Ex-Shapes (num_shape,num_ex) VALUES (8,2) ");
    System.out.println(NbIns+" ligne inseree");
    catch(Exception e){
    System.out.println("exception du a la requete "+e.getMessage());
    and I don't manage to write this in the MS Access database.
    Here is the message in the Output window:
    [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
    I don't understand why the syntax is uncorrect.
    Thank you to help me.

    You're right !!!
    It's very a stupid thing ! I lost time because of that.
    Thank you.

  • Uploading CSV File into Web Dynpro Java Table and Write back to a Database

    Hi Gurus!
    I would like to upload a csv file and read the content into an UI table element.
    Then, I need to write the uploaded file back to a database. I'm using NetWeaver 2004s.
    could you please provide advice for both, uploading and wirting to databse (e.g. maxDB or oracle), since I'm quite new in WDJ.
    thanks in advance.
    farid
    ps. helpfull answers will be rewarded with points!

    Hi ,
    have look at this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6603. [original link is broken] [original link is broken] [original link is broken]
    Have a look at this links.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0d9336b-b4cf-2910-bdbf-b00d89bd2929.
    Re: Popup Internal Window - data type IWDWindow not available
    Regards,
    krishna.

  • What are the openoffice database drivers to establish JDBC? how to code?

    I want to use open office database .Please help me how to code inorder to link that open office database with java using jsps.Please tell me.
    Edited by: tamminenih on Mar 31, 2009 6:36 AM

    You can find information on how to connect here http://dba.openoffice.org/FAQ/specific.html.
    Apparently, it is simply mySQL. There is a lot of documentation on the web on how to establish a mySQL JDBC connection. You will need the mySQL connector JAR for the JDBC classes, which can be downloaded from mySQL.
    To stitch together a JSP all the way to the back end, you will likely have to do this yourself. There are dozens of tutorials and examples, even cookbooks for how to do so.
    - Saish

  • Write PDF files from database to file system

    Hi,
    I have a requirement of writing PDF files that are stored in Oracle 10g's BLOB column to the FILE SYSTEM using PL/SQL (Not java or any external stored Proc), since i need to write a shell script which will load the PDF files from database on a timely basis.
    Could anyone suggest me the way of executing this?
    Environment: Oracle 10G (10.2.0.1.0) with Windows 2003 server.
    Regards,
    Nagarjun.

    You could try to use the UTL_FILE package that is able to read/write text and binary data in a file located on the box hosting the database instance.

  • How to improve the write performance of the database

    Our application is a write intense application, maybe will write 2M/second data to the database, how to improve the performance of the database? We mainly write to 5 tables of the database.
    Currently, the database get no response and the CPU is 100% used.
    How to tuning this? thanks in advance.

    Your post says more by what is not provided than by what is provided. The following is the minimum list of information needed to even begin to help you.
    1. What hardware (server, CPU, RAM, and NIC and HBA cards if any pointing to storage).
    2. Storage solution (DAS, iSCSCI, SAN, NAS). Provide manufacturer and model.
    3. If RAID which implementation of RAID and on how many disks.
    4. If NAS or SAN how is the read-write cache configured.
    5. What version of Oracle software ... all decimal points ... for example 11.1.0.6. If you are not fully patched then patch it and try again before asking for help.
    6. What, in addition to the Oracle database, is running on the server?
    2MB/sec. is very little. That is equivalent to inserting 500 VARCHAR2(4000)s. If I couldn't do 500 inserts per second on my laptop I'd trade it in.
    SQL> create table t (
      2  testcol varchar2(4000));
    Table created.
    SQL> set timing on
    SQL> BEGIN
      2    FOR i IN 1..500 LOOP
      3      INSERT INTO t SELECT RPAD('X', 3999, 'X') FROM dual;
      4    END LOOP;
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.07
    SQL>Now what to do with the remaining 0.93 seconds. <g> And this was on a T61 Lenovo with a slow little 7500RPM drive and 4GB RAM running Oracle Database 11.2.0.1. But I will gladly repeat it using any currently supported version of the product.

  • Write-up for 10g database analysis

    Hi Gurus,
    I need to analyze a 10g database in details (which have too many issues-database related) since I cannot do direct connection to it cause of legal restrictions.
    Please let me know what are the main points I need to get information about during preparing the write-up.
    Thanks
    Amitava.

    amitavachatterjee1975 wrote:
    Hi Gurus,
    I need to analyze a 10g database in details (which have too many issues-database related) since I cannot do direct connection to it cause of legal restrictions.
    Please let me know what are the main points I need to get information about during preparing the write-up.
    Thanks
    Amitava.
    What is " the write-up" that you are preparing?   A justification for granting access to the database?
    What are the "issues" that you are supposed to address/investigate?

  • Check Writer Hangs after 10G database upgrade

    Hi Gurus,
    Can anybody let me know how i can trace check writer concurrent process.
    It seems to hang after we upgraded the database to 10g version.
    Thanks,
    S.

    The log file shows
    /u31/oracle/fimsprodappl/pay/11.5.0/bin/PYUGEN
    Program was terminated by signal 11
    Should i do some thing with PYUGEN (rebuild/relink) after 10G database upgrade.
    We are on HP-UX 11 (PA-RISC) 64 bit.
    S

  • Using JSP to write data to MySql database

    Please help. I am trying to develop a website where a user registers by filling details required onto a page this data is then posted onto another page and displayed to user the user can the store this data into the database if they are satisfied with it. The problem is although this data is displayed on the next JSP page when I click on save the data is not written to my database.
    Code below the problem is with datasave.jsp
    Register.jsp:
    <html>
    <body bgcolor="#d0d0d0">
    <style type ="text/css">
    @import "style.css"; </style>
    <head>
    <script src="form_functions.js" type="text/javascript"></script>
    <script type="text/javascript">
    function validateForm()
         errorMessage = "The following field(s) require your attention:";
         hasErrors = false;
         newline = "\n - ";
         if( isInvalidEmail( form1.email.value ) )
              errorMessage += newline + "Email :: must contain a valid email address";
              hasErrors = true;
         if( isEmpty( form1.Firstname.value ) )
              errorMessage += newline + "Firstname :: must not be empty";
              hasErrors = true;
    if( isEmpty( form1.Lastname.value ) )
              errorMessage += newline + "Lastname :: must not be empty";
              hasErrors = true;
         if( isNotInteger( form1.phone.value ) )
              errorMessage += newline + "Phone :: must consist of numbers";
              hasErrors = true;
    if( isEmpty( form1.Address.value ) )
              errorMessage += newline + "Address :: must not be empty";
              hasErrors = true;
         if( isEmpty( form1.City.value ) )
              errorMessage += newline + "City :: must not be empty";
              hasErrors = true;
         if (!document.form1.accept[1].checked)
         errorMessage += newline + "Please accept condition to continue";
              hasErrors = true;
         if( hasErrors )
              alert( errorMessage );
              return false;
         else
              return true;
    </script>
    </head>
    <body>
    <p>
    <body>
    <script src="dateLastUpdated.js"
              type="text/javascript">
    </script>
    <p><h1>REGISTER YOUR DETAILS FOR YOUR BUYANDSELL ACCOUNT</h1></p>
    <!-- ************* start of form **************** -->
    <form
         name="form1"
         method="POST"
         action="datasave.jsp"
         onSubmit="return validateForm();"
         >
    <p>
         Email:
         <input type="text" name="email"/>
         </p>
    <p>
         Password:
         <input type="password" name="Password"/>
         </p>
    <p>
         Firstname:
         <input type="text" name="Firstname"/>
         </p>
    <p>
    LastName:
         <input type="text" name="Lastname"/>
         </p>
    <p>
    Phone:
         <input type="text" name="phone"/>
         </p>
    <p>
    Address:
         <input type="text" name="Address"/>
         </p>
    <p>
    City:
         <input type="text" name="City"/>
         </p>
    <p>
         Country:
         <select name="country">
              <option value="Eire">Republic of Ireland </option>
              <option value="Northern Ireland">Northern Ireland </option>
         </select>
         </p>
    <p>
    Terms and Conditions:
    If you accept the Terms and Conditions - please click on "I accept" at the end of this
    document.
    1. GENERAL
    This website is owned and operated by B&S Limited, trading as BuyandSell ("BuyandSell")
    whose head office is at BuyandSell House, Argyle Square, Donnybrook, Dublin 4. For the
    purpose of these terms and conditions "we", "our" and "us" refers to BuyandSell.
    <input type=radio checked name="accept" value="0"> I do not accept<br>
    <input type=radio name="accept" value="1">I have read and I accept the Terms and
    Conditions
    </P>
    <p>
              <input type="submit" value="Contact Details"/>
         </p>
    </form>
    <!-- ************* end of form **************** -->
    <centre>
    <script language="JavaScript1.3">
         // run script
         dateLastUpdated();
    </script>
    </body> </html>
    datasave.jsp:
    <html>
    <style type ="text/css">
    @import "style.css"; </style>
    <HEAD>
    </script>
    </HEAD>
    <p><h1>CREATE YOUR BUYANDSELL USER ACCOUNT</h1></p>
    </P class= "links">
    <body>
    <%-- Set the scripting language to Java and --%>
    <%-- Import the java.sql package --%>
    <%@ page language="java" import="java.sql.*"%>
    <%-- -------- Open Connection Code -------- --%>
    <%
    /* Note: MySQL is accessed through port 3306. NAIJA is the name of the database */
         String connectionURL = "jdbc:mysql://localhost:3306/buyandsell";
         Connection connection = null;
         Statement statement = null;
    ResultSet rs = null;
    try {
    // Load SQL Server class file
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    // Make a connection to the Mysql
    connection = DriverManager.getConnection(connectionURL, "root", "");
    %>
    <%-- -------- INSERT Code -------- --%>
    <%
    String action = request.getParameter("action");
    // Check if an insertion is requested
    if (action != null && action.equals("insert")) {
    // Begin transaction
    connection.setAutoCommit(false);
    // Create the prepared statement and use it to
    // INSERT the registration attributes INTO the registration table.
    PreparedStatement pstmt = connection.prepareStatement( "INSERT INTO registration(email,Password,Firstname,Lastname,phone,Address,City,Country) VALUES(?,?,?,?,?,?,?,?)");
                   pstmt.setString(1, request.getParameter("email"));
                   pstmt.setString(2, request.getParameter("Password"));
    pstmt.setString(3, request.getParameter("Firstname"));
                   pstmt.setString(4, request.getParameter("Lastname"));
                   pstmt.setDouble(
    5, Double.parseDouble(request.getParameter("phone")));
                   pstmt.setString(6, request.getParameter("Address"));
                   pstmt.setString(7, request.getParameter("City"));
    pstmt.setString(
    8, request.getParameter("Country"));
    int rowCount = pstmt.executeUpdate();
    // Commit transaction
    connection.commit();
    connection.setAutoCommit(true);
    %>
    <p>
    <p>
    <form
                        NAME="data"
                        action="Login.html" method="post">
    <input type="hidden" value="insert" name="action">
    </p>
    Email:
         <strong>
         <%= email %>
         </strong>
    <p>
    Firstname:
         <strong>
         <%= Firstname %>
         </strong>
    </p>
    <p>
    Lastname:
         <strong>
         <%= Lastname %>
         </strong>
    </p>
    <p>
    Phone no:
         <strong>
         "<%= phone %>"
         </strong>
    </p>
    <p>
    Address:
         <strong>
         <%= Address %>
         </strong>
    </p>
    <p>
    City:
         <strong>
         <%= City %>
         </strong>
    </p>
    <p>
    Country:
         <strong>
         <%= Country %>
         </strong>
    </p>
    <p>
    <input type="submit" value="SAVE">
    </form>
    </p>
    <%-- -------- Close Connection Code -------- --%>
    <%
    // Close the ResultSet
    rs.close();
    // Close the Statement
    statement.close();
    // Close the Connection
    connection.close();
    } catch (SQLException sqle) {
    out.println(sqle.getMessage());
    } catch (Exception e) {
    out.println(e.getMessage());
    %>
    </body>
    </html>

    Hi,
    I think in place of buyandsell put NAIJA
    String connectionURL = "jdbc:mysql://localhost:3306/NAIJA ";

  • Looking to hire someone to write a vehicle maintenance database

    To anyone interested, we are looking for a vehicle maintenance database for our fleet of 11 vehicles. We are a small company and we do a lot of our preventative maintenance in house.  Our employees take the vehicles home with them and there lies the
    problem with tracking the services. So we are looking for a vehicle maintenance database to track our services with reminders.  we like to track oil changes every 10k, trans service every 60K, brake fluid flush every two years, etc.  we have a server
    and three workstations all with access 2010 or 2013.  We have not been able to find anyone local that we could afford. I think the downloaded template  "vehicle maintenance" will work with some modifications.  If anyone is
    interested, please let me know. Thank You

    Hello,
    There are specific sites to get free lance code done.
    I'd do a Bing search for "free lance coder" or "free lance programmer"
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Linking a .java with OpenOffice database

    I'm working on a project that I need to tie into a database. I'm very young in my programing so I'm at a loss of how to link a database and .java. I need to read back and forth.
    Does anyone know how to do this????
    -Life

    Take a look at JDBC, it is what you will be using to connect to most of your data sources and JDBC/ODBC bridge for the windows sources.

Maybe you are looking for

  • Converting Unicode to UTF-8 character set through Oracle forms(10g)

    Hi, I am working on oracle forms (10g) where i need to load files containing unicode character set (multilingual characters) to database. but while loading the file , junk characters are getting inserted into the database tables. while reading the fi

  • Windows 8 and NACAgentToastApp.exe problem

    Saludos foro Tengo una aplicación NAC fuera de banda version 4.9.3 funcionando correctamente con clientes Windows 8 y clientes windows 7. La version de agente NAC es 4.9.3.5, el problema que tengo es con todos los clientes Window 8 y el ejecutable NA

  • ITunes - File can't transfer to iPhone, file couldn't convert

    Hey community! So, i've been struggling with this problem for a while now, pretty much since the release of iTunes 12 i believe! I have tried uninstalling iTunes, deleting library files etc. as well as factory restoring my iPhone. My library extends

  • Security question reset when email does not work

    I dont Get any mails to my email which is suposed to reset my security question. Is it anyway to change the eMail it is sending the security question reset?

  • Vista and i tunes

    I keep getting problems with running i tunes with my new comp, and vista When i try ti import from a CD I get an arror message "error occured while converting the file "song title". An unknown error occured (-50)." The same message with downloads, ca