Search results

  1. Babycat

    Solved Move a control to other section with vba

    I have a standalone form with buttons on footer section. I would like to use it as subform too. So when it plays role of subform, these buttons will be move up to its header. it becauses the mainform already has some buttons at bottom of screen while I dont want many button at screen bottom. I...
  2. Babycat

    Solved Move a control to other section with vba

    Dear all Can anyone help to move control Txt_ID from Header to Footer section with VBA code of button Btn_MoveCtrl? I tried with Move method but it is only moving within a section Private Sub Btn_MoveCtrl_Click() Txt_ID.Move End Sub Thank you
  3. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    Yeah, you're right. We were on wrong debugging direction with that given weird error msg.
  4. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    Hi Majp. Thank for your valuable time of debugging. At first, the problem is solved. We found the issue on post #19 Yeah, my vendorID is random number, I dont want increament number as if someone see that they can estimate how many vendor/customer I have in system. The local language...
  5. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    Yeah, I already changed my query like that, so there is no potential issue if we add new field on TBLVENDOR in future. Howeverm abit concern, if a table on network db has many fields, getting TBLVENDOR.* might slow down performance while i just need few fields. Right? In fact, my project has...
  6. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    I did not say it is Access's error. Post #20, @Josef P. has mentioned it too, developer makes a wrong SQL on filter string, however Access does not notice error when applying filter but it only noitice when we change current record on subform. It makes we not think the problem comes from...
  7. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    yeah, it's easy to reprocuded it. Ms Access does not handle this error properly i think
  8. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    Yeah, as no-experience access user, I am always scared this scenerio, code error cause forms/local tables coruption without knowing. I am not so clear what difference btw compact and decompile. I usually do Cmpact & Close before copy my accdb as a backup. Let me learn to use decompile as...
  9. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    A side-question, In your modified code: Private Sub User_MainProductShowDetail() Dim rs As DAO.Recordset Set rs = Me.Form.Parent.Form.Recordset rs.FindFirst "[VendorID] = " & Txt_ID If rs.NoMatch Then MsgBox "Unknow Error - No Vendor Name " & Txt_QField1 & " !" End...
  10. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    Dear all. Solved. With your advices, i followed and found that the subform record source was not table TBLVendor but from query Q_QinfoVendor_Source. And in Q_QinfoVendor_Source, there are no field names: Country and ROCNumber. Access introduces no meaningful msg in that case: Error '3709'...
  11. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    I was guesting same then I build forms from scratch but same error. Please build the form at your side. Hope you can re-use my data, i suppect the local language characters might make filter work improperly... if so it is my nightmare
  12. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    Sorry about that, it costs nothing with sapce before "OR"... but this is cut-down version I did not have must time to make it clearer
  13. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    Hi MajP. The attached db is already fresh-build. I thought my form was corrupt but rebuid it did not help. May you please digout further from clue that the error does not happen with short-criteria filter string?
  14. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    wildcardstr = " like '*" & str & "*') " The wildcardstr is with a SPACE at its end, so it is OK
  15. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    Oh, sorry the attached file was with "short-criteria fillter string". That is why no error. I have re-attached the correct DB file . Please help to take a look again
  16. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    Yes, I tried it. I found that assigning bookmark on mainform causes subform's on-current event fires. That's why I said it is very strange/weird behavior. A question is, why does it not happen when reducing filter criteria string...?
  17. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    Please apply type "ABC" in the search box first, then you click on #2, #3 record of filtered result.
  18. Babycat

    Solved Very weird behavior- Error '3709': The search key not found in any record

    Dear everyone I have been struggling for 3 days to debug but only narrow down some clues... I have a mainform and a continous subform, they act like split form. Main form has button to filter out records on subform, and when user click on a record in subform the main form will show current...
  19. Babycat

    Replace (Ctrl + H) with Newline character in VBE

    Appreciated so much for your suggestions, I just simply dont know about Application.SetOption "Error Trapping". It seems to be what I need. Let me try it out.
  20. Babycat

    Replace (Ctrl + H) with Newline character in VBE

    Yes Yes, like ebs17's comment, I want Access stop at every error code so that I can jump into it and investigate in detail. My Error handler mostly consists of "Resume Next", thus I disable error trapping to try catching all unforeseeable errors.
Back
Top Bottom