Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
  1. #16
    mchadwick is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Posts
    71
    I just verified it. How do you run the function without a macro?

  2. #17
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    You just copy the code wherever you want it, if you've been using a macro on a button click you can change the ON CLICK event of the button from the macro name to "EVENT PROCEDURE" then paste code that happens between the function name and end function or you can call it with

    call csvImport (again using the EVENT PROCEDURE rather than a macro)

    as long as it's a public function

  3. #18
    mchadwick is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Posts
    71
    Okay, I double checked and it was setup correctly. I went in and made the changes based on your suggestion before, but thought perhaps I missed something. I took your db and opened it and added a macro to run it from. The zip code worked fine, but the 2 memo fields did not. Im assuming becuase you only looked at the zip code. which is totally fine, becase one will fix all three. It did work just fine in the directory the other db is in. My only conclusion is that the DB is not connecting to the file properly in the db. I think I may try to recreate that part of it in a seperate db and test it out and then recreate the other more simple steps from there.

  4. #19
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    which fields are your memo fields, a memo field is really just a text field with more room so I'm not sure why an import wouldn't work. Just let me know which ones are the memo fields and I'll give it a go.

  5. #20
    mchadwick is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Posts
    71
    It works fine when I created a new DB. I think I'm just going to add to this one and make it work. Thanks for your help today. Mitch

  6. #21
    mchadwick is offline Advanced Beginner
    Windows 7 64bit Access 2010 64bit
    Join Date
    Sep 2011
    Posts
    71
    THat worked for me by the way. Thank you for your help.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Pasting formatted text into memo field
    By joekuhn in forum Access
    Replies: 0
    Last Post: 07-08-2011, 02:01 PM
  2. Highlight text in memo field
    By silverspr in forum Programming
    Replies: 2
    Last Post: 03-27-2011, 04:58 PM
  3. Need help with Memo field text format
    By sprovoyeur in forum Access
    Replies: 1
    Last Post: 05-14-2010, 08:03 AM
  4. Replies: 9
    Last Post: 07-21-2006, 05:17 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums