View Full Version : Track Unvalid Data

02-27-2012, 04:57 AM
Hi there!

At the moment I stuck at a problem. When I importing Data to my actual map, some of the data is unvalid so the info dialog appears that some data isnt valid. My Question now is: "Is it possible to save that unvalid data into a file?". If yes, where can I find the fault data?

I hope somebody can help me !

b.r. xonji

02-28-2012, 02:02 AM
Ok I got a solution!

Its not that fast, but it work!

Since the importData() Methods return value is a dataset, I create a Recordset and call QueryAllRecords() Method at the Dataset, then I iterate through the Recordset and check whether each record .isMatched == false, if so I print out the fields from that record in a .txt file!

b.r. xonji

02-28-2012, 08:06 AM
Yes that will do it. Should be pretty quick though. Do you have a huge amount of data, or perhaps your loop is inefficient?