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
timedate.cpl command line options
How do i block port 25 on my vista laptop?
How to update an entire field in MS Access on a regular basis
How change display in query sql statement
Create a WCF object on client side
location of windows application error log
Microsoft SQL 2005
Send MS Access Appointments to Outlook Calendar - Detertmine Changes in Access to Outlook
Receiving error when submitting data to SQL Server through asp.net vb
Report Writer in Microsoft Dynamics GP