Bill, as I have mentioned in previous posts as well, I cannot help you without a good sample. I don't want to have to piece all of this together in hopes that I reproducing your problem. I would rather have a sample in my hands that reproduces your problem so that I can help you. I downloaded your sample, reproduced the error, made it work and reposted it. If that was not your problem, then please post another sample that does accurately reproduce the issue. Going back and forth will not get your problem resolved otherwise it would have happened already.
I have already shown you how to reproduce the error. You can reproduce the error even with your updated sample project. It's easy to reproduce. I am unable to provide you more than that.
That was exactly my point, Bill!!!!!
YOU MUST either pull back a value from the server as a column that represents the custom property you are trying to pull (ItemsCount) or perform some type of calculationo with the data that you did pull back...using your query YOU DO NOT HAVE A COLUMN named ItemsCount that can be accessed from the CUrrentRow of the BO!!!!!
I don't think I see your point. What point are you referencing? Do you see my point? I do not want the custom property referenced in the grid. Why should I even reference it in my query? If the custom property has to be reference in every query, then to fill the BO "Select * from MyTable" should never work. I should always get an eval error along the way somewhere.
Here's another piece of the puzzle...remove the grid and throw text boxes onto the form to reference the same three fields. Open the form, navigate to a few records, then close the form. NO ERROR!!! So, something is up with the grid via the BBS. I should be able to add a grid, connect it to the same BO through a BBS, show the same three fields in the grid and it should work. It doesn't. Closing the form generates an error.
That is what I am looking for an explanation on. If the BBS somehow forces the custom property to be evaluated, then how do I turn that off on an instance by instance basis? On some forms, I want that custom property to show on a grid...on others, like this one, I do not.