I want to add record to database from labview thanks to ActiveX

I want to know how I can access to records which are in a field of a table of My database ACCESS ???
I've begun to open a database with an ActiveX, then I've opened a recordset, but I don't know how I can access to records of any field...
Could someone help me ???
Thanks in advance
hasna
PS: I send you my VI and I have no database toolkit and I work with labview5.
Attachments:
écriture_de_la_base.vi ‏37 KB

Find attached example. It was converted from 6 to 5. Therefore, let me know if it's not working and I'll post a screen capture of its block diagram. The example replaces the last entry in one table containing one string column.
Hope this helps
Attachments:
Editdatabase_Me.vi ‏50 KB
MyExample.mdb ‏74 KB

Similar Messages

  • I want to query sql server database from oracle

    i want to query sql server database from oracle
    can anyone help me in this regard

    First of all - you are in the wrong forum.
    Look either for the Database general or search for Transparant / Heterogenous Gateways.
    cu
    Andreas

  • How to put records in database from java coding?

    I want to insert records in the database from java code. Please help me out. Can i get a sample code for that.

    Google for JDBC tutorial. (...or read about hibernate)
    Kaj

  • HT1373 I want to add audiobook to iPhone from Mac Computer

    I want to add a audiobook to iPhone from Mac Computer, how do I do this?

    Hi,
    Add audiobook to iTunes library if you have not already done so. Sync your iPhone with your mac by wifi or USB.
    Jim

  • I have a used imac and want to add my itunes library from my i pad

    Can i add my itunes library from my ipad to a used imac?

    It is best to add your music from your original computer that music came from. Copy the folder from your old computer to your new one and add the songs to iTunes.
    It is possible however to do it without your old computer. You will have to rely on 3rd party software like MusicRescue or Senuti. Many people frown on this method as it could easily lead to piracy (as so many other things can in this world...)

  • Write to Citadel database from LabVIEW?

    Hi. I'm a newbie when it comes to Lookout and the Citadel database... so here's my question for you all:
    We have various labview applications that log data from instruments. We would like to be able to take this data and store it as "tags" in a Citadel database.
    What do you think is the best way to do this?
    There are ODBC drivers for the Citadel database, but they appear to only allow you to query the database to retrieve values... you can't write data to the database (so its read-only).
    Are they any "Lookout VIs" or Citadel VIs that can write to the Citadel DB from LabVIEW? Or a DLL or something?
    Any ideas?
    regards,
    John Paul

    Very nice question John Paul. I take it you already have Lookout and LabVIEW. In this case, with the latest versions of either, simply use the LabVIEW datasocket to publish the items on your front panel. Lookout then can subscribe to these once you register the LabVIEW computer. Once you have subscribed to them in Lookout, you are then able to set up logging. You may need to create an expression object to route the data to citadel.
    If you just want to use LabVIEW and the Citadel database, you might try VI Logger. This works in our configuration utility - MAX, and also comes with a set of VIs for LabVIEW. One caveot, the Citadel database in VI logger is newer (and faster) than the Citadel database in Lookout. I believe NI is working to synchronize
    the version in the future, and its hard to say when. So till then, you would not be able to merge data in the dislike citadel databases. However, you can always use and ODBC call set to extract from both and store in a more permanent SQL database such as access, oracle, ms back office, etc.
    Good Luck,
    Preston Johnson
    Business Development Manager
    Industrial Applications
    National Instruments
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • Accessing mySQL database from Labview PDA

    Hi,
    Has anyone tried writing data to a mySQL database or any other database for that matter using the Labview PDA module?  I know it's easy to do from Labview and you have to download the ODBC drivers to get it working but I don't think these drivers are available for Windows Mobile (I've seen XP and Linux drivers only).  Any help would be appreciated.
    Thanks

    Hello,
    I don't have experience with this, but you might look into the following:
    1. remote connections: http://www.geekzone.co.nz/content.asp?contentid=2656
    2. this thread seems to indicate .NET doesn't support it yet (but it's over a year old...): http://forums.mysql.com/read.php?38,73109,73109
    3. Another option - you can use VI Server to have your PDA VI call a VI on your host machine if they are networked... there is an example of this that ships with LabVIEW PDA I think - check it out!  Thus, if the db is on your host machine, you could write your host VI, and have your PDA VI call it etc.
    I hope this helps!
    Best Regards,
    JLS
    Best,
    JLS
    Sixclear

  • How to insert records in database from a dataset with multiple tables

    Hi,
    I'm struggling with the following problem:
    I have saved a dataset to an XML file by executing the following statement:
       ds.WriteXml( "Export\\ModuleChain_Mdata.xml" );The dataset, ds, includes records from several tables.
    Is there an easy way to retrieve those records to the database, I.E inserting them again?
    regards Peter

    you can try Associative Arrays:
    http://www.oracle.com/technology/oramag/oracle/07-jan/o17odp.html
    you need to convert yore DataTables to array first and than pass them in to the associative array procedure.

  • Remove record in database from Jtable?

    I want to delete row in databse, but don't know how to add field to primary key Jtable like hidden field,
    Can you show me or any difference way to solve this?

    There are two ways to hide a column (that I know of):
    1) Set the columns widths to 0. I don't like this approach because because the 'hidden' column still requires a tab.
    2) Remove the TableColumn from the TableColumnModel. This is my preferred approach.
    Here is a simple example using both approaches, You determine which approach you like best:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TableColumnHide extends JFrame
         public TableColumnHide()
              String[] columnNames = {"Identifier", "Student#", "Student Name", "Gender", "Grade", "Average"};
              Object[][] data =
                   {new Integer(1), "Bob",   "M", "A", new Double(85.5) },
                   {new Integer(2), "Carol", "F", "B", new Double(77.7) },
                   {new Integer(3), "Ted",   "M", "C", new Double(66.6) },
                   {new Integer(4), "Alice", "F", "D", new Double(55.5) }
              DefaultTableModel model = new DefaultTableModel(data, columnNames);
              //  Hide column by setting minimum width
              JTable table1 = new JTable(model);
              table1.getColumnModel().getColumn(0).setMinWidth(0);
              table1.getColumnModel().getColumn(0).setPreferredWidth(0);
              table1.setPreferredScrollableViewportSize(table1.getPreferredSize());
              JScrollPane scrollPane1= new JScrollPane( table1 );
              getContentPane().add( scrollPane1, BorderLayout.WEST );
              //  Remove columns from TableColumnModel
              JTable table2 = new JTable(model);
              TableColumnModel columnModel2 = table2.getColumnModel();
              columnModel2.removeColumn( columnModel2.getColumn( 0 ) );
              table2.setPreferredScrollableViewportSize(table2.getPreferredSize());
              JScrollPane scrollPane2 = new JScrollPane( table2 );
              getContentPane().add( scrollPane2, BorderLayout.EAST );
              JPanel north = new JPanel( new GridLayout(1, 2) );
              north.add( new JLabel("Width = 0") );
              north.add( new JLabel("Remove Table Column") );
              getContentPane().add(north, BorderLayout.NORTH );
         public static void main(String[] args)
              TableColumnHide frame = new TableColumnHide();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setVisible(true);
    }Since we 'hid' the first column, try tabbing from the last column to the first. Notice which approach requires 2 tabs before the appropriate cell gets highlighted.

  • HT201302 i want to add move a video from my mac to my ipad

    I am trying to import a video from my mac into my ipad.
    Can't get it done in iphoto or itunes
    HELP!

    Go to www.videohelp.com and search dvd (or whatever format your movie is) to ipod. I personally use DVD Decryptor and Videora ipod converter. Both are free and work great. Here is a link to the tutorial page using those programs and I believe that sites for download of the programs are available.
    http://www.videora.com/en-us/Converter/guides.html

  • Computer crashed, songs not backed up, want to add from Nano

    I lost my music library when my old computer crashed...have a new system and wanted to add the existing songs from my iPod Nano to my new computer, but it doesn't seem to be an option...is there any way that I can do this...or am I out of luck??

    Welcome to Apple Discussions!
    Yes, you can copy songs from your iPod to iTunes.
    You can't directly sync or drag music from your iPod to iTunes library, however.
    If your iTunes is set for "Automatic" in "Preferences -> iPod" (the default setting), connecting your iPod to iTunes now would automatically delete all the content off your iPod. This action cannot be reversed.
    Instead, hold the "Shift" and "Ctrl" keys together for about 20-30 seconds as soon as your iPod displays “do not disconnect” to prevent this automatic syncing from happening.
    Now, onto the transferring. There are a couple of ways to copy the songs over to your computer.
    You can try the method of manually copying songs from your iPod to your computer by accessing your iPod's hard drive.
    See this link for the details:
    MacMuse - Transferring iPod songs to iTunes
    If you would like a program to do this for you in a more automatic way, then select one you'd like to use from this list.
    iPod Access Mac and Windows Versions
    YamiPod Mac and Windows Versions
    PodUtil Mac and Windows Versions
    iPodCopy Mac and Windows Versions
    PodPlayer Windows Only
    iGadget Windows Only
    I hope this helps you,
    -Kylene
    If any post helps or solves your issue, please mark it that way accordingly. Thank you for helping the boards!

  • How to add records or how to maintain list in stored Procedure

    Hi,
    I am facing an issue in the addition of record in the type
    create or replace
    TYPE               "PROD_SEARCH_COUNT_TBL"                                          AS TABLE OF PROD_SEARCH_COUNT_OBJ;
    create or replace
    TYPE               "PROD_SEARCH_COUNT_OBJ"                                          AS OBJECT
    ( /* TODO enter attribute and method declarations here */
        V_Name Varchar2(500 Byte),
        v_Value Varchar2(500 Byte),
        v_count Number
    I want to add records to the type I tried following way
    prod_wcf_rec PROD_SEARCH_COUNT_TBL;
      SELECT PROD_SEARCH_COUNT_OBJ('Name1','Value1',1) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
        SELECT PROD_SEARCH_COUNT_OBJ('Name2','Value2',2) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
        SELECT PROD_SEARCH_COUNT_OBJ('Name3','Value3',3) BULK COLLECT INTO prod_wcf_rec FROM DUAL;
        SELECT PROD_SEARCH_COUNT_OBJ('Name4','Value4',4) BULK COLLECT INTO PROD_WCF_REC FROM DUAL;
    DBMS_OUTPUT.PUT_LINE ('-----------------------------Looping----------------------------');
    FOR i in 1 .. prod_wcf_rec.COUNT
    LOOP         
    DBMS_OUTPUT.PUT_LINE (prod_wcf_rec(i).V_Name||' - '||prod_wcf_rec(i).v_Value||' - '||prod_wcf_rec(i).v_count);     
       END LOOP;
       DBMS_OUTPUT.PUT_LINE ('-----------------------------Looping----------------------------');
    In printing I am getting last records only .So is there any way to add records to PROD_SEARCH_COUNT_TBL
    How to add records or how to maintain list in stored Procedure

    Every time you BULK COLLECT into a collection type the value is overwirtten. So you need to try something like this.
    SQL> create or replace type prod_search_count_obj as object(v_name varchar2(500 byte), v_value varchar2(500 byte), v_count number)
      2  /
    Type created.
    SQL> create or replace type prod_search_count_tbl as table of prod_search_count_obj
      2  /
    Type created.
    SQL> declare
      2    prod_wcf_rec prod_search_count_tbl;
      3  begin
      4    select obj_val
      5      bulk collect into prod_wcf_rec
      6      from (
      7            select prod_search_count_obj('name1','value1',1) obj_val from dual
      8            union all
      9            select prod_search_count_obj('name2','value2',2) from dual
    10            union all
    11            select prod_search_count_obj('name3','value3',3) from dual
    12            union all
    13            select prod_search_count_obj('name4','value4',4) from dual
    14           );
    15
    16    dbms_output.put_line ('-----------------------------looping----------------------------');
    17    for i in 1 .. prod_wcf_rec.count
    18    loop
    19      dbms_output.put_line (prod_wcf_rec(i).v_name||' - '||prod_wcf_rec(i).v_value||' - '||prod_wcf_rec(i).v_count);
    20    end loop;
    21    dbms_output.put_line ('-----------------------------looping----------------------------');
    22  end;
    23  /
    -----------------------------looping----------------------------
    name1 - value1 - 1
    name2 - value2 - 2
    name3 - value3 - 3
    name4 - value4 - 4
    -----------------------------looping----------------------------
    PL/SQL procedure successfully completed.
    SQL>

  • How to connect to oracle database from visual basic 2010 express edition

    I have installed visual basic 2010 express edition on windows xp. But visual basic 2010 express edition supports Microsoft sql server database file,Microsoft sql server compact 3.5, Microsoft access database file. I want to connect to oracle database from visual basic 2010 express edition. So what drivers are required and how to do connectivity?

    Hello,
    I wasn't clear on what you were using to make the connection. I had a look in Visual Studio 2010 (don't have express to test sorry).
    I think you mean the Data Sources available under the menu Data-> Datasources. this seems to match the description you give when I
    look at the list of datasource options.
    In here you can make ODBC connections via the Microsoft .net Data Provider .
    If you select ODBC as a datasource you can see listed the DSN's you created - for example I see 2 which use the Oracle ODBC driver.
    This assumes you installed an Oracle Client + the oracle version of the ODBC driver (comes with the oracle client).
    Once you created a server connection then you should see it in the server explorer.
    You can also download the Oracle Developer Tools for Visual Studio which is an add on for VS.
    ** I suspect this is only for VS 2010 and I didn't see that Express was supported.
    http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
    Let me know if that helps.
    John

  • Add Records to UDO Table

    Hai,
    I want to add records to the UDO table through vb.net coding. How to achieve it?
    Thanks in advance!!!

    Please check the GeneralService Object in the SDK help file. For example:
    Dim oGeneralService As SAPbobsCOM.GeneralService
    Dim oGeneralData As SAPbobsCOM.GeneralData
    Dim oChild As SAPbobsCOM.GeneralData
    Dim oChildren As SAPbobsCOM.GeneralDataCollection
    Dim oGeneralParams As SAPbobsCOM.GeneralDataParams
    'Get GeneralService (oCmpSrv is the CompanyService)
    Set oGeneralService = oCmpSrv.GetGeneralService("MainUDO")
    'Create data for new row in main UDO
    Set oGeneralData = oGeneralService.GetDataInterface(gsGeneralData)
    oGeneralData.SetProperty "Code", "First"
    oGeneralData.SetProperty "U_Data", "my data"
    'Create data for a row in the child table
    Set oChildren = oGeneralData.Child("ChildUDO")
    Set oChild = oChildren.Add
    oChild.SetProperty "U_Data", "child data"
    oChild.SetProperty "U_Type", 6
    'Add the new row, including children, to database
    oGeneralService.Add oGeneralData
    See the documentation for the GeneralService methods Add, Cancel, Close, Delete, GetByParams, GetDataInterfaceFromXMLFile, GetDataInterfaceFromXMLString, GetList, InvokeMethod and Update for more code samples

  • How to copy/move Portal database from one machine to another?

    I am receiving a ORA-22973 error (size of object identifier exceeds maxmum size allowed) on the wwsec_enabler_config_info$ table when attempting to import my entire "portal30" schema from one database to another on different Windows NT Servers.
    Background: I had Portal 3.0.9.8 installed, configured, and running with the following setup:
    Machine 1: Windows NT 4.0 SP 6, Oracle 9iAS 1.0.2.2, Oracle Portal 3.0.9.8
    Machine 2: Windows NT 4.0 SP 6, Oracle 8i Database 8.1.7.0.0
    We no longer have use of Machine 2 and needed to move the database over to Machine 1.
    I performed the following steps:
    1. Installed Oracle 8i database 8.1.7.0.0 on Machine 1.
    2. Set up the tablespaces in the database on Machine 1 to match the same names and sizes of the tablespaces in the database on Machine 2.
    3. Used the Oracle "exp" command to export the entire database that resided on Machine 2.
    4. Copied the ".dmp" file to Machine 1.
    5. Used the Oracle "imp" command to import the entire database on Machine 1.
    6. The import completed successfully with warnings. But I had received the ORA-22973 error during the import process.
    7. After it completed I compared the list of tables and packages in the "portal30" schema between the two databases. The wwsec_enabler_config_info$ table is missing.
    8. I tried to export and import only the wwsec_enabler_config_info$ table between the two databases, but continue to receive the ORA-22973 error.
    Without the table being created, access to the portal cannot be achieved.
    Here are my questions:
    1. Is there anyway to create the wwsec_enabler_config_info$ table without receiving the noted error?
    2. Is there any other workable way to get the portal database from Machine 2 to Machine 1?
    I am aware of the portal import/export utilities but that would require me to run through the 2 hour install of Portal 3.0.9.8 on the database on Machine 1 and then individually export and import all the portal components (security, pages, applications, content library, etc). I merely wanted to transfer the entire database from one machine to another, so I felt the Oracle exp/imp utilities would be quicker and less work.

    Hi,
    I've been hitting problems with Portal 3.0.9.8.1 against 8.1.7.2.1 on NT - i.e., Intermedia not working at all, and have been advised by support to move back to 8.1.7.1.1.
    I don't want to lose any of my content in the Portal since the db upgrade and am wondering on what is the best way to do this.
    The version of the Portal will be the same so I am hoping I can just use the Portal export and import utilities, as afterall, it is just data and the schema structures are the same between db versions. I'm also hoping that the Portal export doesn't use the standard Oracle EXP tool as it doesn't work anymore on 8.1.7.2.1 on NT!!
    Regards,
    John

Maybe you are looking for

  • HT5312 how to reset my apple questions

    I need to reset my secerity questions how do I do that

  • IWeb stopped working

    Upgraded iWeb to 1.1.2 and Aperture to 1.5 and iWeb hangs upon startup. I get no response from any button. I really need to use it. What's going on? Thanks for any help.

  • TableView class in HTML package- WYSIWYG Editor HTML 4.0

    I am making a WYSIWYG HTML editor using java Swings API. I realised while working with tables that class TableView in the html package is responsible for rendering the table on JEditorPane. Can somebody tell me that where, while rendering the table t

  • Configuring Report Services in 9iAS

    Enabling Report Services in 9iAS: We have installed Oracle 9iAS on Win2000 Server. We have edited the rwservlet.properties file to give our own report server name like �rep9iserevr� by adding a line SERVER = rep9iserver. Then we made a copy of the rw

  • Source

    For visual accessibility I use white on black high contrast theme in Win 7 with iTunes 10 v 4.0.0. So my iTunes screen normally has whites text on a black background which makes the software usable for me. Yesterday the first column, Sources and Play