Hi!
Thanks! I have seen that thread, but it was for VFP7 (that I'm currently do not have), so I did not even tried to think about it much. Now it gets even more interesting...
>Vlad,
>
>Also have a look at thread#
561359 as it mentions a similar problem. Unfortunately, no one ever replied to that one.
>
>Jim
>
>>Hi!
>>
>>SET DREAMING ON
>>If I could to look at it to see this!
>>SET DREAMING OFF
>>
>>Can you send it to me? I will try to look at it and figure out where is a problem. Maybe this is a bug? If this is a case, it is a good reason to send a bug-report to MS...
>>
>>>>Hi!
>>>>
>>>>>Grid is just sub-classed from base classes
>>>>
>>>>Maybe it comes from the base classes? What if your base classes at some moment do something that adds a column? Or just they contain a one column already? I did met a lot of problems when grid has a column in the base classes. Check if ColumnCount property contains default value in all classes for grids and their parents.
>>>
>>>The grids are sub-classed from the VFP _Base.vcx and the default ColumnCount = -1 in _Base.vcx. I don't have any code in my sub-classed grids that add a column. I've even hard-coded the column count in my grids. It's very strange, I've never used the data environment with persistent relationships before.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.