Wrox Programmer Forums
|
BOOK: Access 2010 VBA Programmer's Reference
This is the forum to discuss the Wrox book Access 2010 Programmer's Reference by Teresa Hennig, Rob Cooper, Geoffrey L. Griffith, Jerry Dennison; ISBN: 978-0-470-59166-6
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Access 2010 VBA Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 26th, 2012, 03:19 PM
Authorized User
 
Join Date: Jun 2006
Posts: 73
Thanks: 1
Thanked 1 Time in 1 Post
Unhappy Page 411 - Adding files as an attached field ? ?

I used the code on page 411 ( very slightly modified ), and managed to load a file to an attachment field. I think the problem is around the line(s) after 'Pass "" to match all files - which is exactly what I want to do i.e E:\FolderName\*.* for example. I get ( even after deleting attachment field and recreating it ) in destination table, a duplication error. Any thoughts ? Thanks.
Should the file name automatically change in the inner loop i.e
Code:
Do While Len(strFile) > 0
?





Similar Threads
Thread Thread Starter Forum Replies Last Post
adding value to field rajuru MySQL 2 November 8th, 2006 09:22 AM
Adding the records into Field F1 while importing a [email protected] VB Databases Basics 0 August 6th, 2004 01:43 PM
Adding a date to a memo field mikericc Access VBA 2 November 25th, 2003 10:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.