PC Review


Reply
Thread Tools Rate Thread

Access 97 Calendar error after Access 2000 conversion

 
 
LLively2
Guest
Posts: n/a
 
      3rd Apr 2006
EAXMPLE 1

Option Compare Database
Option Explicit
Public RiderCode, Back, Destination, Initials, RMunicipality As String
Public Go As Date
Public Unit As Long

Private Sub ActiveXCtlCalendar_Click()
'Assigns the date clicked on the calendar
'to the appointment date
'then sets the focus to TimeGo control before hiding the calendar.

>>>>>>>>>>>[DateAppt].Value = ActiveXCtlCalendar.Value<<<<<<<<<<<<<<

TimeGo.SetFocus
ActiveXCtlCalendar.Visible = False

Cannot jump to 'DateAppt' because it is in a library
'C:\....\....\....' which is not currently referenced.

EXAMPLE 2

Option Compare Database
Option Explicit

Private Sub axcCalendar_Click()

TxtBeginningDate.Value = axcCalendar.Value
End Sub

Private Sub Form_Current()
>>>>>>>>>>>>>>>axcCalendar.Value = TxtToday.Value<<<<<<<<<<<<<

TxtBeginningDate.Value = axcCalendar.Value

End Sub

Cannot jump to 'axcCalendar' because it is in a library
'C:\....\....\....' which is not currently referenced.

What should be done to convert this database properly?

Thanks in advance,

Lynn

 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      3rd Apr 2006
The calendar control will break your application when you convert from one
version to another, or move the database from machine to machine.

If the target version happens to have the correct version of the Calendar
control installed, you can open a code window, choose References from the
Tools menu, uncheck the box beside the wrong version, check the box for the
right version, and test if it worked.

Or, you could dump the problem control, and just use a simple Access form
that does not break your application. There are several around, such as this
one:
http://allenbrowne.com/ser-51.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"LLively2" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> EAXMPLE 1
>
> Option Compare Database
> Option Explicit
> Public RiderCode, Back, Destination, Initials, RMunicipality As String
> Public Go As Date
> Public Unit As Long
>
> Private Sub ActiveXCtlCalendar_Click()
> 'Assigns the date clicked on the calendar
> 'to the appointment date
> 'then sets the focus to TimeGo control before hiding the calendar.
>
>>>>>>>>>>>>[DateAppt].Value = ActiveXCtlCalendar.Value<<<<<<<<<<<<<<

> TimeGo.SetFocus
> ActiveXCtlCalendar.Visible = False
>
> Cannot jump to 'DateAppt' because it is in a library
> 'C:\....\....\....' which is not currently referenced.
>
> EXAMPLE 2
>
> Option Compare Database
> Option Explicit
>
> Private Sub axcCalendar_Click()
>
> TxtBeginningDate.Value = axcCalendar.Value
> End Sub
>
> Private Sub Form_Current()
>>>>>>>>>>>>>>>>axcCalendar.Value = TxtToday.Value<<<<<<<<<<<<<

> TxtBeginningDate.Value = axcCalendar.Value
>
> End Sub
>
> Cannot jump to 'axcCalendar' because it is in a library
> 'C:\....\....\....' which is not currently referenced.
>
> What should be done to convert this database properly?
>
> Thanks in advance,
>
> Lynn



 
Reply With Quote
 
LLively2
Guest
Posts: n/a
 
      5th Apr 2006
Just to let you know...I looked at what you recommended above about the
references and could not make sense of what needed to be re-referenced.
I took the Access 97 database home to my lab and ran it through Access
2003 (which I did not have at the clients) and it converted it to
Access 2000 when first opened and everything worked perfectly without
having to do anything else to it.

Thanks for your response Allen

 
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
Conversion from Access 2000 to Access 2007 Tigerchat Microsoft Access 7 10th Jun 2008 03:41 AM
Error in Conversion Access 2000 to 2003 Alvaro Samagaio Microsoft Access 1 15th Nov 2005 11:46 AM
Mass Conversion of Access 97 files to Access 2000 Philip Yeo Microsoft Access 5 24th May 2005 04:36 PM
Conversion from Access 2000 to Access 2002 =?Utf-8?B?TG91?= Microsoft Access VBA Modules 1 19th Jan 2005 05:49 PM
Access 2000 type conversion error Barb Microsoft Access External Data 0 11th Aug 2003 03:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:03 PM.