Search results

  1. A

    error 1004 application defined object defined error

    Hi, I have some code that set up a logo in Excel thu VBA code in Access all of a sudden, I am getting the 1004 error ...... at the .filename = .... Dim strLogo As String strLogo = DLookup("path_logo", "parametre_general") Debug.Print strLogo 'bypass insert logo if...
  2. A

    run time error 5 on Name Function

    Found the solution, does not like the : in the file name Thanks
  3. A

    run time error 5 on Name Function

    Hi to all, I am usinh the mane function to move a file from 1 folder to another one but now I am getting the error 5 invalid procedure call or argument , wsa working before but no anymore does anyone had this problem before ? this is how my code is strName =...
  4. A

    error 13 type mismatch with Dir()

    Many thanks, working
  5. A

    error 13 type mismatch with Dir()

    Sorry for the delay, was cought up in an emergency all day. the line of code that generate the error is If Dir(strName) Then the variable display the following: R:\ED\DEV\Entrepot*.accde I just canmnot figure this one out Thanks
  6. A

    error 13 type mismatch with Dir()

    Hi, i want to check if a file alerady exist but when I run my code I get the Type mismatch error I cannot figure this on out, my strname display the proper path and there is a file there, the wildcard is there because the number attached to the file name varies strName = "" &...
  7. A

    sudden db problems 2

    can you elaborate a little more on what you mean about version ? not sure of what you mean Thanks
  8. A

    sudden db problems 2

    Hi to all, I have a very strange situation here and I hope someone can really help shed some light on this. I have a db that is currently working just fine. the problem is when I create the .accde file, the end user is not able to open it. I am getting 2 different msg dependin on how the db is...
  9. A

    Sudden database problems

    I have checked with the admins and they claims that nothing changed. I always backup my work once a week, friday PM, Yesterday, I needed to make some small changed , half dozen line of code to add validation, complile make .accde and problems. I decide to test something else, I copied my last...
  10. A

    Sudden database problems

    RanMan256, these is no on else using the db, no lock file open at all, already check it out before posting
  11. A

    Sudden database problems

    Hi, our backend is on a SQL server and yes, I have check the user permission and she has them, so that is not the problem for sure
  12. A

    Sudden database problems

    Hi to all, I have been working on a db for a couple of weeks now, on my side, everything is working the way it should be. We have different proces to test and approve db changes (meaning different folders with different users for testing like QA, PPROD. I just deployed a version with minor...
  13. A

    Syntax error

    Hi, I am not sur eif this is the right section or not, I have a small syntax problem and after trying all possible syntax I cannot solve this one I need to update a table with a replace function in it but I always get the synbtax error, this is the code I use right now: strFind =...
  14. A

    Unable to requery a listbox

    Many thanks for the help averyone, I just manage to make it work, the solution is for me to hardcode the listbox rowsource everytime I need to make change and requery it instead of passing the SQL string thru variables, now it is working fine Regards
  15. A

    Unable to requery a listbox

    Sorry about the confusion, when the form is open it pick up the rowsource from the listbox control Private Sub Form_Open(CANCEL As Integer) 'set default rowsource from choix_document strOri = Me.CHOIX_DOCUMENT.RowSource 'pick original val for later process intYr =...
  16. A

    Unable to requery a listbox

    this is the SQL of the rowsource of the list box SELECT LISTE_CONFORMITE_DETAIL.VALID_DE, LISTE_CONFORMITE_DETAIL.VALID_A, LISTE_CONFORMITE_DETAIL.ID, CONFORMITE.NOM AS CONFORMITÉ, LISTE_CONFORMITE_DETAIL.DESTINATAIRE, LISTE_CONFORMITE_DETAIL.RESPONSABLE, LISTE_CONFORMITE_DETAIL.DOCUMENT_CODE...
  17. A

    Unable to requery a listbox

    Does this where clause make any sense ? I think that might be the problem, rusty on Access queries WHERE 3/31/2015 BETWEEN CDate(LISTE_CONFORMITE_DETAIL.VALID_DE) And CDate(LISTE_CONFORMITE_DETAIL.VALID_A)
  18. A

    Unable to requery a listbox

    Hi, already done and my strOri is set at the form_open() Private Sub Form_Open(CANCEL As Integer) 'set default rowsource from choix_document strOri = Me.CHOIX_DOCUMENT.RowSource 'pick original val for later process intYr = Me.CHOIX_ANNEE.Value intPer =...
  19. A

    Unable to requery a listbox

    yes, both and no results
  20. A

    Unable to requery a listbox

    the if statement and the .oldValue works as expected, the real problem is when I need to refresh the listbox after the listbox rowsource is set back to it's original SQL string
Top Bottom