Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Expert One-on-One Access Application Development
This is the forum to discuss the Wrox book Expert One-on-One Microsoft Access Application Development by Helen Feddema; ISBN: 9780764559044
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One Access Application Development 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 June 13th, 2004, 09:12 PM
Registered User
 
Join Date: Jun 2004
Location: Chewelah, WA, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default LNC Add-in object reference problem

I'm having a reference problem with the LNC Add-in. Attempting to use it pops up a box saying "Can't find project or library".

References checked are:
Visual Basic for Application
Microsoft Access 9.0 Object Library
OLE Automation
Design Schemes

Attempts to check DAO 3.6 or LNC Renaming Code fail.

In the code, the debugger highlights in Yellow the section of code from Public to Integer
Public Function ControlCS(ctl As Control, _
strPrefix As String, fTag As Integer) As Integer
'Called from RenameFormControls and RenameReportControls in this module
'Does group renaming of all controls with control sources
'on a form or report
'Created by Helen Feddema 10-15-97
'Last modified 5-2-99

On Error GoTo ControlCSError

Highlighted in Blue and shown first by the debugger is the word "left" in:
If left(strOldCtlName, 3) = strPrefix And left(strOldCtlName, 6) _
      <> "Option" And left(strOldCtlName, 3) = strPrefix And _
      left(strOldCtlName, 5) <> "Frame" Then
      Exit Function

Any ideas on what to do next? I'm using Access 2000 in Windows 98. If there is time, I will try it tomorrow at work with Access 2002 on Windows 2000.

Sue


Sue
 
Old July 8th, 2004, 07:28 PM
Authorized User
 
Join Date: May 2004
Location: Kerhonkson, NY, USA.
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Check your references in the Tools|References dialog, and see if any are marked MISSING. If so, uncheck them and check the version of that library on your computer. Also, note that you need the Replace library (Find and Replace). A trial version of this add-in is included in the zip file.

Helen Feddema
Kerhonkson, NY
hfeddema@hvc.rr.com
http://www.helenfeddema.com
Read Woody's Access Watch
http://www.woodyswatch.com/waw/
 
Old July 8th, 2004, 09:59 PM
Registered User
 
Join Date: Jun 2004
Location: Chewelah, WA, USA.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It was the Replace file. Looks like it didn't make the download at work and bring home to load on my home computer process.

Thank you.

Sue

Sue




Similar Threads
Thread Thread Starter Forum Replies Last Post
Compile Error when running LNC Rename Add-in Dhanick Access 1 December 1st, 2008 08:55 AM
LNC Rename control Add-in error jbage BOOK: Expert One-on-One Access Application Development 7 March 22nd, 2007 08:41 AM
Where is the LNC Rename Add in? billblackett BOOK: Expert One-on-One Access Application Development 2 February 14th, 2007 02:10 PM
vector.add(); -- Reference or Object? Firedawn Servlets 2 February 23rd, 2005 01:04 AM
Object Reference Problem shaileshmark General .NET 3 July 22nd, 2004 04:13 PM





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