I need help

A

antonov

here I am again..
I have this form in which I can input data... I have a cbobox in which some
data appears. On "on not on list" another form appears in edit mode and I
can insert some new data... but I cannot save the data.... can somebody
please tell me why?
 
D

Douglas J Steele

What do you mean by "cannot save the data"? Do you get an error? If you open
the form on its own (i.e.: not from within the NotOnList event), can you
save data?
 
D

Douglas J Steele

And do you get an error when you open it through the NotOnList event? If so,
what's the error?
 
A

antonov

The error is:
"The text you entere isn't an item in the list.
select an item from the list, or enter text that matches one of the listed
items."
 
D

Douglas J Steele

Sounds as though you've forgotten to include the line of code

Response = acDataErrAdded

in your NotInList event after the data has been added by the form
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
A

antonov

ehmmm...
I've created a macro ("add") which opens the form (edit mode) if the name is
not in the combo...
I've linked this macro to the cbobox if NotOnList... where do I add the code
you wrote?
 
Top