>Thanks Marcia.
>
>>Hi Mary-Ann.
>>
>>>> Have a list box that has a field from a view as the source. After adding a record to the view, I want the form to be on the newly added record. How do I force this to happen? <<
>>
>>After the record is added to the view, you have to do a listbox.requery() and then set it's value to the approriate field in the newly added record.
>>
>>Marcia
Just to add: I always use listbox.DisplayValue for this purpose, because .Value and .DisplayValue may be different, and I want to make sure that I set the property which I actually can see in the listbox.
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison