I have a form with a subform. In the subform code on a click event of one of the fields, I have code that grabs the ID of that row and then opens a detail form for that record. But when you click on that field, the record selector is still pointing to the first row in the subform so it opens the detail form for the first record. I tried setting focus to the field before using the code to open the detail form for it's id and it said I cannot set focus to that field. However if I click the record selector for the correct row then click on the field, it opens for the correct record.
How do you make sure the when you click on a field in a different row that row becomes the active row?
Thanks!
How do you make sure the when you click on a field in a different row that row becomes the active row?
Thanks!