S
Samantha
I am using MsAccess 2K as the front end and MySQL as the backend.
I have a combo box in a Datasheet form which is bound to a table so that new
data can be added and updated. The combo's rowsource is from a query and
it's Limit To List property is set to No so that the user can have the option
to choose from the list or just type new items. Everything works fine if the
user selects an item from the list. I have added some DLookUp statements to
the AfterUpdate event of the combo box.
But where it goes wrong is when the user types in something NOT on the
list. In this case, I can type a new item, but once the user moves out of the
new record, all the fields have "#DELETED" values, even if I press on the
Save button. But if I close the form and re-open it, the values display fine
and the "#DELETED" are gone.
Is there any properties that I'm not setting correctly?
Any pointers are very much appreciated. Thanks in advance.
I have a combo box in a Datasheet form which is bound to a table so that new
data can be added and updated. The combo's rowsource is from a query and
it's Limit To List property is set to No so that the user can have the option
to choose from the list or just type new items. Everything works fine if the
user selects an item from the list. I have added some DLookUp statements to
the AfterUpdate event of the combo box.
But where it goes wrong is when the user types in something NOT on the
list. In this case, I can type a new item, but once the user moves out of the
new record, all the fields have "#DELETED" values, even if I press on the
Save button. But if I close the form and re-open it, the values display fine
and the "#DELETED" are gone.
Is there any properties that I'm not setting correctly?
Any pointers are very much appreciated. Thanks in advance.