Microsoft
Software
Hardware
Network
Question : Force TransferSpreadsheet to fail on key violation
Right now when I import a spreadsheet using the TransferSpreadsheet function a pop up will appear asking me if I wish to continue in the case of key violations. I do not want to give the user the option of continuing. How can I just show an error message instead of having the prompt appear?
I have tried trapping the error, but this doesn't seem to throw an error unless you choose no on the prompt.
Answer : Force TransferSpreadsheet to fail on key violation
AFAIK you can't ... if you need finer control, you should automate the import (i.e. automate Excel) and examine the data before you import.
Random Solutions
Why can't I see my vertical scrollbars in Access 2007 Form?
How do I clean up my Terminal Server Licensing
SSIS error
Access 2007 - Field List & Property Sheet Display
"The Active Directory Services Installaion Wizard is not supported on this SKU"
HELP! Windows Server 2003 stuck in install loop!
Printer Server Shares
Loop through and delete an item from a combo box
How to create a domain-wide slideshow screensaver GPO by using pictures on each local machine ?
OLE registration error occurred