General information
Category:
Coding, syntax & commands
>>>>>
>>>>>Are you sure it's not the grid reconstruction problem?
>>>>
>>>>I'm not sure of anything at this point. Unfortunately, what I'm most not sure of is what to look for!
>>>
>>>Do you re-assign RecourdSource of the grid at some point? This causes the grid reconstruction problem.
>>
>>Yes, I do.
>>
>>Each time I refresh the grid I set the recordsource and then assign columnCount, columnN.controlSource, and columnN.Header1.Caption.
>>
>>Safe Select techniques (at least the one's I'm aware of) won't work because the structure of the data changes each time.
>>
>>If there are no properties I could control, I could probably remove and add the grid. I'll try that and see it it works. If you can think of something better!!!!!!!!!!
>
>Can you bind header's click after each re-assign? Unbind before re-assign and then bind.
Same problem. First time it runs properly (bound code runs). After that the code doesn't fire.
I tried RemoveObject and NewObject and it worked just fine.
I still don't know why the original version wouldn't function "properly" but I've got something that works without a visible slowdown in the program so it's on to the next task on the list.
Thanks for your help...........Rich
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only