07-11-2012 12:21 AM - edited 07-11-2012 12:23 AM
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.
07-12-2012 05:28 PM
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.
As far as database applications go there are several examples included in LabVIEW some of which include SQL functions as well.
Regards,
Isaac S.
07-17-2012 03:29 AM
Thanks for your reply, I hope to save the file as .mdb file (access database file)
I simply could not find the module that could possibly do that.
07-17-2012 04:49 AM
Why not just use the normal file operation functions ?
There you can copy your Access file, it just a file.
You can find the copy function in the palette : Programming -> File I/O -> Adv File Funcs -> Copy
07-17-2012 08:52 AM - edited 07-17-2012 08:53 AM
@lksusier wrote:
Thanks for your reply, I hope to save the file as .mdb file (access database file)
I simply could not find the module that could possibly do that.
Why are you creating a new access database for each new iteration???
This defeats the purpose of a database which is used generally used to store multiple sets of data.
07-17-2012 10:51 PM
I figured this out yesterday. I was just stuck with the Database operations and completely forget the most basic functions. 😞
07-17-2012 10:54 PM
Thanks for your reply.
That was a request from a databse programmer, I was told the file created will make it convenient for him to import data to another database.
anyway, just want to get it done so I can move on to more critical tasks.