I have a hyper link. In its OnClick event, I want to find the record in the form that I just clicked on and find out if a certain field is populated. If it is, then I will open form 1. If not, then I will open form 2. I see two ways to do this.
1. Open a recordset, use the .FindFirst method to go to the required record and then test for the !FieldName value and compare it to ""
2. Use DLookup to get the value out of the field for the record I clicked and compare it to ""
Which way uses less system resources when there could be thousands of records?
1. Open a recordset, use the .FindFirst method to go to the required record and then test for the !FieldName value and compare it to ""
2. Use DLookup to get the value out of the field for the record I clicked and compare it to ""
Which way uses less system resources when there could be thousands of records?
Comment