09-20-2006 11:08 AM - edited 09-20-2006 11:08 AM

Message Edited by David Crawford on 09-20-2006 05:09 PM
09-20-2006 04:42 PM
09-21-2006 01:32 PM
09-21-2006 03:00 PM
I have to admit I didn't see that when I run that example with Access 2003. Perhaps its something you can switch off in the Options of MS Access.
David
09-21-2006 03:17 PM
David,
Unfortunately it is not something I can switch off w/o creating digital signature and distributing to all users.
I've been attempting to utilize the technique in the attached vi. This one is setting up a connection and uses a ";Persist Security Info=False" string to bypass the security prompt. Take a look and see if you think there would be a way to shutdown the security prompt prior to opening and exporting the file. I'll welcome any ideas
Thanks
09-21-2006 06:11 PM
I honestly don't know. What does the security dialog look like? Can you post an image?
I would need an example .mdb to let see what you are seeing and then we could try and see if there is a work around.
I won't be around after Fri for another week so if you could post before then I might get a chance to help you out.
How did you get on with the table export VI? Did it work for you?
David
09-22-2006 08:49 AM
David,
Table export worked great. Security message is caused by access security settings being set to Med or High or there is no digital signature associated with the database.
I've found some information at Microsoft that provides a method to disable this warning but I don't know how to apply this method in LabView. Maybe you could take a look.
http://office.microsoft.com/en-au/assistance/HP010379431033.aspx
view the last warning " security warning interrupts .....automated scripts"
Thanks
If you don't get to it this week, I'll still be here when you return
09-22-2006 01:36 PM
09-29-2006 11:02 AM
David,
NI support team helped with the security setting in access. I needed to add a property node and set auto security to 1 (Low). vi attached.
Now I have another issue with the text transfer. The number fields in the data are transferring with two decimal place percision. The database contains up to 6. I'd like to be able to open the database, convert all fields to text, perform TransferText and close the database w/o saving the changes. I think I should be able to perform this with the DoCmd but don't have any idea how to use the different methods. I've tried manually exporting the data as spreadsheet, but it only exports 65K lines (Excel limitation). I've been searching for reference documentation on the method and property commands, but don't know where to look on the internet. Do you have a good source of ActiveX commands available to use in access?
Any help is appreciated.
Dave