Results 1 to 3 of 3

Thread: Data-linked textboxes causing problems

  1. #1

    Thread Starter
    Addicted Member P.S.W.'s Avatar
    Join Date
    Aug 2000
    Posts
    146

    Unhappy

    I have a form with several textboxes tied to an ADO Data Control and .mdb recordset.

    If I type in a txtbox, then delete what I just typed in, so as to leave the txtbox empty, then try to to delete the current record, I get the following error:

    "Multiple step operation generated errors. Check each status value".

    I'm not sure what this means. I designed a work-around this problem by checking each txtbox, and if it is empty, adding thru code the number "0" into it, and then doing the .delete. When I do it this way, no error occurs. Surely there must be a better solution to this. Can anyone give me an idea? Responses gratefully received!



  2. #2
    Guest
    Hi, i may not be able to provide the perfect solution, infact i am not suggesting a solution here but i just had a hunch. Please check to see if the field you have binded the textbox to allows null values and the error message may mean that firstly it has to update the table and at the same time you are trying to delete the record. When u r trying to update the table it will try for exclusive lock on the record in question and then even for a delete it again has to obtain an exclusive lock. Might be it has got something to do with this...Sorry if it doesnt help you...All the best...vijay

  3. #3
    Lively Member
    Join Date
    Aug 2000
    Posts
    125
    set the AllowZeroLength Property to true

    see help on AllowZeroLength

    you will have to use a TableDef object to write to this field property

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width