How to save the current access database as a new file with a specified name

what I am trying to do is after writing data to a public access file, save it as a new access file,
clear the public access file and write new data in it.
repeat the above process when requested by the operator.
which database function should I use to execute this "save as " action?
thank you...
Solved!
Go to Solution.

I'm not sure what DB tools you are using in LabVIEW however I was able to locate the following function that seems to accomplish what you asked about.
DB Tools Save Recordset To File VI: http://zone.ni.com/reference/en-XX/help/370016C-01/lvdatabase/db_tools_save_recordset_to_file/
As far as database applications go there are several examples included in LabVIEW some of which include SQL functions as well.
Regards,
Isaac S.
Regards,
Isaac S.
Applications Engineer
National Instruments

Similar Messages

  • How to save the current Indesign defaults file?

    Hi, I've tried following the Indesign Classroom in a book but I find it left a lot to be desired for anyone new to this e.g ME!!!!. So can someone please tell me how I can save the current InDesign defaults file on a windows and if you can please do so like you would, for lack of a better word or term, an idiot because I'm fitting that description pretty well right now. Any help will be greatly appreciated and you will forever in my mind be a god, thank you =DDDDD.

    Hi, im not too sure (I thought it was a stock standard thing, sorry) so I'll fust give you the instructions my book has.
    To save the curren InDesign Defaults file, Follow these steps:
    1, Quit Adobe InDesigns CS5.
    2, Locate The Indesigns Defaults file.
         . In Windows, the InDesign Defaults file is located in the Documents and Settings/Users/Username/Library/ Application Data/ Adobe/ InDesign/ Version 7.0/en_US folder.
    3, Drag the Indesign Defaults file to another folder on you hard drive.
    When you launch Adobe Indesign CS5 after moving the InDesigns Defaults file to another folder, a new InDesign Defaults file is automatically created and all prefrences and defaults are reset to their original factory setting.
    Okay that's all of it and as far I can get is to the app data, for some reason my notebook doesnt have it and I've been trying to find other ways of getting to it but im having no luck. I would really like to avoid the Ctrl+ Alt+Shift thing because I'll apparently lose any saved settings that I might want to keep.
    Hopefully that all makes sense, thank you for responding and your time =3.

  • How to save the Icon  to database or .ico file?

    hi
    I get Icon instance by using
    Icon myIcon= FileSystemView.getFileSystemView().getSystemIcon(new File("J:/Program Files/XPSTool/XPSTool.exe"))
    but I not know how to save the myIcon to the database or a .ico file ;
    please help me !!!!!!!
    thanks vey much .

    Doublepost: http://forum.java.sun.com/thread.jspa?threadID=790795

  • How to save data to access database in dreamweaver

    Hello,
    I want to save data from webpage to MS access database. I am
    using dreamweaver MX 2004 developing tool. For server side
    scripting I am using asp page but I am not geting any result. And I
    am calling this asp page using HTML codes (using "action").
    Please anybody suggest me proper way for this.

    Thanks for the reply....I'will try your suggestion
    ........But still I will appriciate if you can check my codes......
    I am using following codes for webpages,
    <form name="form1" action="add_to_database.asp"
    method="post">
    <div align="center">
    <table width="80%" border="0">
    <td><b>FEEDBACK FORM</b></td>
    <tr> <td>Name :</td>
    <td><input type="text" name="uname"></td>
    </tr>
    <tr>
    <td>Email :</td>
    <td> <input type="text" name="email"></td>
    </tr>
    <tr>
    <td>Comments :</td>
    <td><textarea
    name="comments"></textarea></td>
    </tr>
    <tr>
    <td> </td>
    <td><input type="submit" value="Submit details"
    name="submit" onClick="validate()" ></td>
    </tr>
    </table>
    </div>
    </form>
    and using the action and post method I am calling following
    asp page
    <body>
    <%
    Dim uname, email, comments
    Dim Conn
    Dim Rs
    Dim sql
    uname = Request.Form("uname")
    email = Request.Form("email")
    comments =Request.Form("comments")
    Set Conn = Server.CreateObject("ADODB.Connection")
    Set Rs = Server.CreateObject("ADODB.Recordset")
    Conn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;" & "Data
    Source=" & Server.MapPath("users.accdb")
    sql= "INSERT into adduser(uName, Email, Comments) values(' "
    & uname & "', '" & email & "', '" & comments
    Conn.execute sql
    Rs.Open sql, Conn
    Rs.AddNew
    Rs.Fields("Name") = Request.Form("name")
    Rs.Fields("Email")=Request.Form("email")
    Rs.Fields("Comments") = Request.Form("comments")
    Rs.Update
    Rs.Close
    Set Rs = Nothing
    Set Conn = Nothing
    %>
    </body>
    Thanks,

  • How to get the number of pages in a PDF file with AcroPDF ActiveX control

    Hi,
    I am using the AcroPDF ActiveX control provided by Acrobat Reader and Professionals(version 9). I just wonder if I using LoadFile to load a PDF document, how can I know the number of pages in that PDF? I do not find any properites or methods that can do that.
    Thanks
    Alan

    Hi unk2,
    There's no functionality in the Acrobat.com online services to do a character count. But, you could use ExportPDF to convert your PDF file to Word format, and then do your character count in Word.
    Please let us know if you need additional assistance.
    Best,
    Sara

  • How to access the ms access database in the JApplet?

    I am New here.
    Please help me.
    I am create one java file to access MS access the database in the JApplet.
    It say "Access denied".
    How to access the ms access database in the JApplet?
    Message was edited by:
    SVPRM

    Hi,
    First of all, were u successfull in creating the connection with the .mdb file.Like settting the DSN and configuring the .mdb file path in control panel.
    If yes then one option might be that the file ur trying to access is in Read-only mode.
    regards

  • How to save the bean area content to the database

    DB version:10g
    forms version:10g
    Hi Guys,
    I have used text editor PJC/java bean in my screen where i have attched it to "bean area" field.Iam able to do all the changes to the to the text entered in this "bean area" but when i save this in the database it says no changes to save.in my table the column type is Varchar2.
    any ideas of how to save the changes of a bean area to the database???
    regards

    @François Degrelle -Ya frank i have already checked Get_Custom_Property() but the problem is this is returning the HTML code like
    html>
    <head>
    </head>
    <body>
    This is a <b>styled</b> (<i><u>HTML</u></i>) text<br><b><font color="#0066FF" face="Arial">
    displayed</font></b> and <b><font color="#008000" face="Arial">edited</font></b><br>
    in an <b><font color="#FF0000" face="Arial">Oracle Forms</font></b> application
    </body>
    </html>
    but want the data to be in the formatted so that i can store the data in the column and retrieve formatted text into the text field so that user can see only the formatted text that is lets say
    shdjshdsjdsdsdlas -original text
    shdjshdsjdsdsdlas -formatted text
    now i want to strore shdjshdsjdsdsdlas this text into teh database so that when i retrieve shdjshdsjdsdsdlas this data should be shown.
    regards
    Edited by: user123 on May 27, 2011 4:22 PM

  • How to save the string from JTextFied to database?

    can i know how to save the data from JTextFied to databse. Is it using update?

    The most straightforward way would be something like:
    String myKey=myKeyField.getText();
    String foo=fooField.getText();
    String sql="update mytable set foo='"+foo+"' where mykey='"+myKey+"'";
    connection.createStatement().executeUpdate(sql);
    This example assumes that the input fields cannot possibly contain quotes or the string won't be built correctly. Which by the way brings up a question I'd be interested in hearing others answer: What do you do about this? Sometimes I use PreparedStatement which handles that problem, other times I write my own little function to escape the string properly.
    You can also read the record into a ResultSet and use ResultSet.update(). I'm mostly using mySql and I found that in mySql ResultSet.update just creates a SQL update statement like I did above and executes it, so the only real advantage would be if you find the syntax more convenient. Perhaps other database drivers do something different that would give other pros and cons.

  • How to save the data on the database

    Please tells me how to save the data on the database as soon as posible.
    Thank!!
    Michael

    Michael,
    What database? Citadel, or something that has an SQL?
    If the latter, use the SQL toolkit. You can get it from NI.
    Please elaborate if this is not your situation.
    Thank you

  • How to save the  selected rows from Advance table into database

    Hi
    I have requirement like..
    In custom page , Manager Search the Candidates and selects the candidate ROWS from advance table.
    The reqt is how to save the selected multiple rows into the database.

    hi Reetesh,
    In Custom page
    Supoose the Recruiter Search is for Position Finance Mangager , it retrieves 100 rows , out of which Recruiter select 10 rows .
    So in Such scenario how to save this 10 rows against Recruiter
    , i mean , Is i need to create custom table, to save Recruiter , these selected 10 rows.
    I hope u understand my question

  • How to display the data from database(MS access) to a textbox

    anyone know ?

    how to display the data from database(MS access) to a
    textboxThe reply hasn't changed over these years. Read the tuutorial on how to fetch the data. You can display it anywhere you feel like. :)
    http://java.sun.com/docs/books/tutorial/jdbc/

  • The Microsoft Access database engine cannot open or write to the file in Report Builder 3.0

    I am trying to build a report in Report Builder 3.0.  I created the Data Source to point to my Excel file and the Data Set.  I drag a couple of fields on to the canvas and then choose Run.  I get the error:  "The Microsoft Access
    database engine cannot open or write to the file.  It is already opened exclusively by another user".  I am using the Excel driver.  Why am I getting this message?  How can I fix this?

    No, now I am getting the error message again.  It is quite long:
    ERROR [HY000] [Microsoft][ODBC Excel Driver] The Microsoft Access database engine cannot open or write to the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view and write its data.
    ERROR [01S00] [Microsoft][ODBC Excel Driver]Invalid connection string attribute Trusted_Connection
    Please help

  • How To Insert Data into a Access Database from a PDF File

    Hi All,
    Could anyone help me to insert PDF form data to an MS Access database.I am new to this and I would appreciate if anyone can help me at the earliest.
    Thanks,
    Deepti

    You can submit your PDF to a server-side script (ASP/PHP), and store the new record in a MS Access database.
    For more information on how to store your PDF submission in a database, please visit:
    http://www.fdftoolkit.net

  • How to import the data in a .xls or .xlsx file into a oracle database table

    Hi,
    Please tell me how to import the data in a .xls or .xlsx file into a oracle database table in Oracle 10gR2 using Oracle Warehouse Builder 10gR2.

    ....can we do something through Non-Oracle->ODBC?Yes, it is possible, look at this thread
    [SQLServer access from AIX Warehouse builder|http://forums.oracle.com/forums/thread.jspa?messageID=2502982]
    If your server (with target DB and OWB runtime) is on Windows OS this configuration will be simpler - you can use single server.
    And additional link on OWB blog (with 11g transparent gateway)
    [http://blogs.oracle.com/warehousebuilder/2008/01/11g_heterogeneous_agent.html]
    (configuring nonoracle connection with 10g generic connectivity very similar to 11g gateway)
    Also look at
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358
    Regards,
    Oleg

  • How to get the "current date" in the BEx?

    Hi all,
    I need to get the "current date" in my Bex report in order to make a comparison. I know there is a "How to" which shows how to get the current date via a User Exit, but I didn't find it. Could you please help me?
    Thanks

    1. Create a  New Formula in Key Figures structure
    2. Give tech name and description and Select "New variable" option
    3. Next screen will launch Variable Wizard -> create a new variable with replacement path as processing type
    4. in next screene  select the date characteristic that represents the first date to use in the calculation (From Date)
    5. In the next  screen select Key in the Replace Variable with field. Leave all the other options as they are
    6. In the next Currencies and Units screen select Date as the Dimension ID.
    6. Save variable
    repeate the Above steps to create another variable (To Date)
    and now you can use these two new replacement path variables in your new formula.
    Dev

Maybe you are looking for

  • Encoding from mov to flv  - issues with red frames

    Any ideas how to fix this issue?  Everytime I try to encode this .mov file in the begining of the encode there seems to be some issue where a number of frams turn all red and gets pixelated then it runs smoothly?

  • Suddenly lost all audio???

    Suddenly I can't get any sound out of my iMac 1.83 Ghz Intel.  Any ideas what to do?

  • APO DP - handling of cell specific Notes

    I am using APO DP V5. I have 2 questions regarding the use of Notes for cells in the interactive DP planning table: 1. Can there just be 1 Note per cell? 2. What is the maximum length (number of characters) for a given Note. Thanks, Bob Austin, Atos

  • Oracle database on virtual machine without a license

    Hi, Someone told me earlier that you can install Oracle on a virtual machine without buying a license. Do you know an internet link that could confirm this. Thanks.

  • Save on Close?

    If you exit out of RoboHelp, shouldn't it ask you if you want to save your project, or simply do a "save all" automatically before closing? Seems like such a fundamental thing to be missing. Or am I missing the point of this as some type of "feature"