05-25-2013 12:01 PM
I think this is an extremely simple database, and I did not use any USER Privelage
And I think also there is no problem in the connection because the Select vi works well 🙂
05-25-2013 12:34 PM
Abodorra,
do what I wrote. You have functions, that try to insert data, and the error out Output just goes into a case structure, this results in:
the error autohandling does not report this error !!
Get there some error handling VI to see what your error is !!
Excuse me, but how can you have time to produce fancy front panels and in the same time have so messy block diagram ? The code is really hard to follow or read...
05-25-2013 02:03 PM
I just have a few comments.
Where are you having the mdb file stored when you are runing the exe file of the program?
And what are the operation system on that pc?
On the code:
I also have a hard time following the code. Part of the is because you use a non english alphabet, and this makes reading the buttons hard.
But you should realy think about taking some of the tutorial and courses from NI. You know, if you have a valid SSP you can take the courses online?
You need to look at design patterns, to structure your code better.
05-26-2013 04:45 AM
the mdb is in the same folder of the exe file
the operating system is windows 7
05-26-2013 04:57 AM
what course do you recommend me to take ....
05-26-2013 05:28 AM
If the mdb and exe files are stored in a folder under program files in windows 7, then the program don't have permission from windows to change the file. It can read the file, but not write to it.
Move the mdb to another location, like the program data folder, were the program is allowed to write to a file.
You can use the "Get System Directory.vi" from the File I/O->File Constants palet to dynamicly get the program data folder.
I would start with Core 1 course, if I was you.
And also get one book: LabVIEW Style book, by Peter A. Blume.
http://www.amazon.com/LabVIEW-Style-Book-Peter-Blume/dp/0131458353
I know it is some years old, but it still applies for doing good LabVIEw programming.
05-26-2013 05:34 AM
You can try to move the whole program directory to different disk (not the system one) in order not to modify the existing code.
05-26-2013 07:21 AM
Tahnk you all very much I tried it and it works fine I really appreciate your efforts and your kind advices also
I changed the installation directory and every thing is great 🙂
Thank you all
05-26-2013 12:20 PM
I've tried the get system directory vi and I select my documents, but now, how can I insert this file into my documents during installation.
05-26-2013 02:02 PM
I've tried the get system directory vi and I select my documents, but now, how can I insert this file into my documents during installation.