Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. MrStar

    Change references to VBA code libs

    Hi MajP Actually I haven't the code you suggested because it is written to Access databases, and I don't think it will do for Excel VBA references. The way the Access code is doing the reference is though what I was searching for but for Excel. Have you tried this in Excel ?
  2. MrStar

    Change references to VBA code libs

    Thanks for the tip, but it dosn't solve my problem
  3. MrStar

    Change references to VBA code libs

    Hi I have about 80 Excel workbooks which all uses the same Excel addin with shared vba code. So each of the workbooks has a reference to this x.xlam library. The workbooks are used by employes during the day, and therefore I can't change anything in those or in the code library. I need to have...
  4. MrStar

    How to add only spaces to a memo field

    Normally there is no meaning i storing spaces, but in this case I'm coding agains a mainframe system, where spaces also has a special meaning. Therefore I need to store spaces. I can store spaces as "¤" or some other special character, and then convert it to spaceds before uploading to...
  5. MrStar

    How to add only spaces to a memo field

    But in my application I need to store sometimes 5 spaces or 10 spaces. I want the user to key in the spaces thru a form.
  6. MrStar

    How to add only spaces to a memo field

    I have a table with several memo fields. All defined with required = No and AllowZeroLength = Yes I can add 10 spaces to a memo field thru VBA, but if I then try to change the same field thru a form by adding one more space, I end up with a field containing Null. Can anybody tell me how I can...
  7. MrStar

    How to get sqlcode from ODBC call to IBM host

    I have tried to link the db2 tables directly in Access. The result was that Access started to download tabels into local tables. This is huge tables ( I stopped linking with 89 mb for the first of 25 tables). But perhaps I have done it wrong. I'm not so familier with linking through ODBC.
  8. MrStar

    How to get sqlcode from ODBC call to IBM host

    I'm sending a sql to IBM host DB2 from MS Access through ODBC. If I made an error in this SQL, I only got an error message 3146 from ODBC telling that ODBC call has failed. Is it possible to get the correct sqlcode from Host DB2 ? I have tried to use API call GetLastError, but it allways...
  9. MrStar

    How to get sqlcode from ODBC call to IBM host

    Thanks, I will try this forum instead.
  10. MrStar

    How to get sqlcode from ODBC call to IBM host

    I have tried the errors collection, but it dosn't give me anything.
  11. MrStar

    How to get sqlcode from ODBC call to IBM host

    This is part opf the code I use for sending my query to Host DB2. Set QueCV = dbs.CreateQueryDef("") With QueCV .Connect = "ODBC;DATABASE=" & f_DB2System & ";UID=" & _ f_UserId & ";PWD=" & _ f_Psword & ";DSN=" & f_DB2System .SQL = strSql .ODBCTimeout = 0...
  12. MrStar

    How to get sqlcode from ODBC call to IBM host

    Yes it is DB2 It is not any particular sql. I mean in genereal - how to retrieve sqlcode. If I have a date in wrong format I would like to get -181
  13. MrStar

    How to get sqlcode from ODBC call to IBM host

    I'm sending a sql to IBM host from MS Access through ODBC. If I made an error in this SQL, I only got at message telling that ODBC call has failed. (error number 3146) Is it possible to retrieve the sqlcode from Host ? I have tried to use API call GetLastError, but it allways gives me a zero...
  14. MrStar

    Call PComm (host) from Excel. Cant exit correctly

    Im trying to write some VBA code in Excel. It shall use an existing connection to host through IBM Personal Communication. I can get access to host, and I can send commands to host session. but when I close Excel, the program pcsvc.exe starts using 100% cpu. I cant figure out what the problem...
  15. MrStar

    How to pass password with " to FTP

    I will do that. Thanks
  16. MrStar

    How to pass password with " to FTP

    The same
  17. MrStar

    How to pass password with " to FTP

    No. I use ftp -s:filename (the file with commandlines) I got the messages : Connected to www.xxxxx User name okay, need password
  18. MrStar

    How to pass password with " to FTP

    That is what I have tried, and it dos'nt work. I think I need some translating of the value "
  19. MrStar

    How to pass password with " to FTP

    Meaning ?
  20. MrStar

    How to pass password with " to FTP

    I think I have the code that calls ftp and send the command file, but it is the commandfilethat is the problem. I have the following commandfile: open www.mywebsite.dk user userid 1qaz"WSX dir cd test put "C:\Documents and Settings\lk\Skrivebord\ftp\rep.txt" dir get rep.txt "C:\Documents and...

Part and Inventory Search

Back
Top