Recent content by DevAccess

  1. D

    Vba for Mac os

    It is excel vba on apple MAC os. Sorry to mention that
  2. D

    Vba for Mac os

    Hello I would like to have vba for Mac access which would have one button on click of that button the file open dialogue button would display wherein I can select multiple folders and can zip it. I don't have Mac os if someone can help me on this. Thanks
  3. D

    ODBC and string Data, right truncation error

    Let me check on this, will it be problem if I execute multiple insert statment once because they are in loop ?
  4. D

    ODBC and string Data, right truncation error

    it gives error on execute line, also I was wondering will this kind of one execution would work if there are numerous files in the folder?
  5. D

    ODBC and string Data, right truncation error

    I have below code, wherein I am getting error "String Data, right truncation" at line adoCmd.Execute. I have also table datatype as attached. Actually I am trying to move attachment from local drive to sql in binary format. Can anyone please guide what is wrong here. the destination file is...
  6. D

    AppendParameter and type mismatch value

    adoCmd.Parameters.Append .CreateParameter("UniqueKey", adVarChar, adParamInput, 20, keyaudit) above worked as I had defined size of data type to 20 in sql and that was cause of it. Thanks
  7. D

    AppendParameter and type mismatch value

    Here is the attached error.
  8. D

    AppendParameter and type mismatch value

    it is string
  9. D

    AppendParameter and type mismatch value

    Hello I have below code With adoCmd adoStream.Type = adTypeBinary adoStream.Open adoStream.LoadFromFile strDir + file 'It fails if file is open .CommandText = "INSERT INTO VendorFiles VALUES (?,?,?)" ' Query .CommandType = adCmdText...
  10. D

    upload Attachments to SQL server 2014

    I did not get you, shall I remove first one? if i do so it says it is in use can not remove
  11. D

    upload Attachments to SQL server 2014

    it is already there, please see attached file.
  12. D

    upload Attachments to SQL server 2014

    thanks but now it gives same error on .CommandType = adCmdText Dim adoStream As Object Dim adoCmd As Object Dim strFilePath As String Dim adoCon As Object Const strDB As String =...
  13. D

    aduserclient and vba

    I am getting below error 3001 "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another" on line number adoCon.CursorLocation = adUseClient I am using excel vba. Sub SaveAsBinary() Dim adoStream As Object Dim adoCmd As Object Dim strFilePath As String...
  14. D

    upload Attachments to SQL server 2014

    I am getting below error 3001 "Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another" on line number adoCon.CursorLocation = adUseClient I am using excel vba. Sub SaveAsBinary() Dim adoStream As Object Dim adoCmd...
  15. D

    upload Attachments to SQL server 2014

    Let me try this.
Top Bottom