PC Review


Reply
Thread Tools Rate Thread

Access Conversion / Runtime error 5

 
 
New Member
Join Date: Feb 2011
Posts: 1
 
      3rd Feb 2011
I recently converted from Access 97 to 2007, but cannot open my files... It displays "Run-time error 5" and asks to debug. The underlined line in italics below is where the problem lies.
Any suggestions on how to fix this? I am not very familiar with VB, so treat me as a novice...
Thanks!

For Each ctl In frm.Controls
strTemp = ctl.Name
strTag = Nz(ctl.Tag)
If strTag <> "" And strTag <> "DetachedLabel" Then
strLang = Left$(strTag, 1)
If strLang = "E" Then
intCtlLang = cLangEnglish
strTag = Right$(strTag, Len(strTag) - 1)
ElseIf strLang = "L" Then
intCtlLang = cLangLocal
strTag = Right$(strTag, Len(strTag) - 1)
Else
intCtlLang = langID
End If
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Conversion / Runtime error 5 Invalid procedure call Ed Dolikian Microsoft Access Getting Started 3 3rd Dec 2009 12:13 PM
RunTime error 459 on current with database 2007 & 2002 conversion Lance Microsoft Access VBA Modules 4 20th Jul 2008 04:26 PM
Error 3033 / Conversion from Access 2003 to Access 2007 Roxana Microsoft Access Security 0 26th Nov 2007 05:55 PM
Access 97 Calendar error after Access 2000 conversion LLively2 Microsoft Access VBA Modules 2 5th Apr 2006 06:50 PM
Runtime version of access/VB conversion =?Utf-8?B?QmlsbCBN?= Microsoft Access 1 26th Oct 2005 07:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:14 PM.