REQUERY not working - help needed

D

David

My listbox allows deletions. I trap the detele key in an
ON KEYDOWN event. After I process a delete, the
code does a requery to refresh the listbox. The requery
statement causes an error "you must save the current field
before you run the requery action". What does this mean
and how do I fix it?
When the delete key is pressed, I loop thru the list box
entries to validate the deletion. And I do change the
setting of Listindex, could this cause the problem? This
event handler worked fine before I added my extra code.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top