Ok, I think I've figured out what is going on. I still have a couple of more
tests I need to run though.
In your article you mention setting a rule on the Form Options. I didn't do
this because it was returning all the records. My database is large and I
didn't want to do that. But by not setting this if you opened up my form and
selected New Record you received an error message regarding the validation
even if you entered all the fields correctly. I'm guessing this really is in
reference to a record not being available to clone and not the data
validation I setup for my fields. Just a guess.
This is why I think it has something to do with a record not being available
to clone. I set up the form options as follows so only 1 record is returned
when the form is opened.
1. Setup a second data connection called default_record. Edited the SQL
statement to return the max id - max(id).
2. Next I set the field value of the query field id to the value returned
from step 1.
3. Finally, I did the step outlined in your article - Query using the Main
Connection.
This returns just one record. As soon as I did this I stopped receiving the
error message when I selected New Record when no records had yet been
retrieved.
Currently, I have all my validation code for the New Record setup in my code
- because based on the error message I was receiving I thought this was the
problem. So I'm going to play around with it some more. I'll get back to you
with what I figure out. Thanks for the help!