So, t'was not a bug,
as first we'd mused,
and spoke with the "ughh";
but, records were not used.
In Help, F1, MSDN Search or whereever one is able,
One cannot find a mention;
Of empty Recorsources or blank tables,
This knowledge needs retention.
Who will store this in their head,
And keep 'til they're old;
Not me, I'm tired, and sick, and going to bed;
To try and get over this nasty cold.
>I know now what did cause it;
>you're right, an empty table.
>But a blank new row won't fix-it
>(in the framework I'm not able)
>So I swapped out all my combo controls,
>for listboxes (they work well).
>All in all, and truth be told,
>y'all's help has been exceptional.
>
>>A combo with empty rowsource
>>Behaves badly - you might say 'of course'
>>If Reccount() is Zero
>>Just add a blank new row
>>I hope this will help without force
>>
>>
>>
>>>I wish it were that clear,
>>>but this problem would always appear
>>>when I requeried the source view
>>>and refreshed the form anew.
>>>The code was really simple, it set the controls Enabled
>>>When editing it was true, otherwise disabled.
>>>No pointer was moved or alias called.
>>>(In fact it was so simple, I was appalled!)
>>>It has something to do when the requery was done
>>>and the source view reccount when from some to none.
>>>Beyond that I have not a useful clue
>>>I've changed the behavior, what else to do?
>>>
>>>
>>>
>>>
>>>
>>>>It sounds like such a waste --
>>>>To have to cut and paste.
>>>>Are you sure that it's true
>>>>And that it's not just you?
>>>>Did you overlook something in haste?
>>>>
>>>>:-)
>>>>
>>>>>I have a combo instance, based on a simple class.
>>>>>It bombs out of Refresh(), a real pain in the ass.
>>>>>The instance code is fine, it's DODEFAULT that crashed.
>>>>>No record pointer is moved, no cursors are trashed.
>>>>>I figured out it was internal;
>>>>>some table oriented crap: infernal.
>>>>>When I moved the class code to the 'box,
>>>>>No longer was I crashing the Fox.
>>>>>I hated coding what is a workaround hack,
>>>>>But I needed to get my productivity back.
Best,
DD
A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.