Jose,
>I changed aDataEnv.prg and everything is working fine now. Just one problem, when you include 2 new records in a row, the grid is not refreshed after the insertion of the second one.>
I will check this out and get back to you.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com