Search results

  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.
  16. D

    upload Attachments to SQL server 2014

    Hi I have few files on my local folders, now i would like to move these files to sql server 2014 tables ( data type of destination table could be blob, nvarchar(max), varibinary(max), I am not sure what shall i opt in this case ). is there anyway that VBA from Access or SQL could do this ? If...
  17. D

    relationship of tables and field size

    No Colin, it does not look like it is working, I removed all the relationship with which was refering to the question table, compacted and close all the objects. I am getting error message as attached in picture. Please advise. [please note that this is 2003 database (.mdb) and I am working it...
  18. D

    relationship of tables and field size

    Hello I have one table field which was having foreign key relationship with other tables and I wanted to field size I removed relationship which it had with other tables in the database. Still it does not allow me to change the field size. even after deleting relationship with other table...
  19. D

    table foreign key ambiguity

    Hello Please see attached diagram, and I am getting some ambiguity while migrating this tables to sql server, even though there are primary key is there still it is giving error explained in attached picture. Please advise.
  20. D

    error message while migrating from access to sql (access 2010 upsize tool)

    Hello I am getting below error while I am using access 2010 upsizing functionality for migrating ms access 2010 tables to sql server database. 1st error: Relationship or Constraint Failed to Upsize: Server Error 8136: [ODBC Driver 11 for SQL Server][SQL Server]Duplicate columns specified in...
Top Bottom