Linda,
>I'm working on the screen that allows the user to select a store number and invoice number to create a dataset that is displayed in a data grid. You helped me a couple of months ago to get that going. I decide to use a tabbed page so I cut all my objects from the form, added a tabbed page and then pasted the objects back on the page and added some labels and text boxes and labels on the 2nd page. Now, when I select the invoice number, I get the error: "Index was out of range. Must be non-negative and less than the size of the collection.
>Parameter name: index"
>
>If I remove the text boxes from the tab, the form runs correctly. I don't have any code on the 2nd page except for a refresh when the 2nd tab is clicked. Do I need to do something else to get the text boxes to pick up the value for the currently selected item from the data set?
I recommend rechecking your binding properties...other than that, can you post the stack trace here?
Best 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