Scott,
What you are asking for is the behavior that we're seeing!
It sounds as if Requery() is running on the parent BizObj after returning from the cListObjEditForm. Put a set step in that method and check your call stack when the debugger comes up. That should give you some insight into what's happening.
Hope that helps,
---J
>Greetings ALL!
>
>I have a bizobj form with two grids on it (clistobjedit). One is a parent, the other is a child. Whenever my user clicks on Add and adds a new parent record, after the Edit form closes and returns control to the bizobj form the first record becomes the selected record in the grid. I want the newly added record to be the highlighted record in the grid so the user can immediately go to the other grid and add child records immediately (if they want to, which is very likely).
>
>Right now I have this code on the parent grid ADD.Click button:
>
>DODEFAULT()
>ThisForm.vehiclemodellist1.Requery() *!* Requery the Child View
>
>ThisForm.clistobjedit2.Refresh() *!* Refresh the Child Grid
>
>I do notice that the grid flashed when it comes back for a short, short time on the added record, but then highlights the FIRST record in the grid. It almost seems like this should be normal behavior, what I am asking that is.
>
>What code would I need and where would the code go to accomplish this?
>
>Thanks!!!