Is it possible to determine if the WhereCondition was provided when the form was opened? What I'm wanting is that if I just open the form (no WhereCondition provided) it would go to a new record, but if the form was opened to a specific record (a WhereCondition was provided) then it would go to that record. Normally, I would put a DoCmd.GoToRecor d Record:=acNew in the form's OnLoad event to do the first option, but I think that would cancel any attempt to go to a specified record if one was provided. This is why I want to test if a WhereCondition was provided.
Right after I submitted the question an idea struck me. I can test for the Filter property on the Load event to see if it is blank or not to know if the WhereCondition was provided.
Right after I submitted the question an idea struck me. I can test for the Filter property on the Load event to see if it is blank or not to know if the WhereCondition was provided.
Comment