I'm using Access 2000 and want to validate the entry of a new value against those values already in an existing table. One approach I was considering was to query the table (using DoCmd.RunSQL) and load the results into an array, then compare the new value by looping through the array looking for a match. The new value is entered from a sub-form that pops up after a button click. Am I on the right track using this approach? And how do I load the results of an SQL query into an array?
Thanks for any help!
Thanks for any help!