473,480 Members | 4,282 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Access 97 to Access 2003 conversion problem !

I have just been asked to port an Access 97 app from an old Pentium 3
to a new Pentium Core-2-Duo PC.

On the new PC, Office 2003 is installed. On opening the database,
Access provided me with an option to convert the database which I did.

However, there are a couple of small issues. For one, there were a
couple of conversion errors which it stored in a conversion errors
table (saying it could not find the field "description").

Secondly, and this is my main problem ...

When I click on a button in the old Acc97 app it used to work fine,
however in Acc2003 it says "The command or action 'SaveRecord' isn't
available now". Here is the sub where it occurs:

Private Sub Cash_RV_Preview_Click()
On Error GoTo Err_Cash_RV_Preview_Click

[RVHAMT] = [Receipt Voucher Sub Form].[Form]![PAYABLE AMT]
[RVHDIS] = [Receipt Voucher Sub Form].[Form]![TOTAL DISCOUNT]

DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70

Dim stDocName As String

stDocName = "Receipt Voucher Printing Cash"
DoCmd.OpenReport stDocName, acPreview

Exit_Cash_RV_Preview_Click:
Exit Sub

Err_Cash_RV_Preview_Click:
MsgBox Err.Description
Resume Exit_Cash_RV_Preview_Click

End Sub


On checking the Menu Bar I saw the action "Save Record Shift+Enter"
is grayed out & not available in the Acc2003 app. However, when
checking it under Access 97 on the other PC, the option Save Record is
available.

Could someone please throw some light on this & guide me as to how to
proceed further with such errors ?

Thx & Best Rgds,
Prakash

Sep 8 '08 #1
3 3958
If there is no field named 'description', this is a form of corruption. Try
a compact/repair of the old database in Access 97. If that doesn't work, try
creating a new (blank) database, and importing everything.

In place of the SaveRecord line, try:
If Me.Dirty Then Me.Dirty = False
That should work in both versions.
If it doesn't what are RVHAMT and RVHDIS? If they are fields in the form's
RecordSource but not text boxes on the form, create text boxes for them and
see if that solves the problem. (Visible = No if you don't want to see
them.)

--
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.

<pr*************@gmail.comwrote in message
news:89**********************************@k7g2000h sd.googlegroups.com...
>I have just been asked to port an Access 97 app from an old Pentium 3
to a new Pentium Core-2-Duo PC.

On the new PC, Office 2003 is installed. On opening the database,
Access provided me with an option to convert the database which I did.

However, there are a couple of small issues. For one, there were a
couple of conversion errors which it stored in a conversion errors
table (saying it could not find the field "description").

Secondly, and this is my main problem ...

When I click on a button in the old Acc97 app it used to work fine,
however in Acc2003 it says "The command or action 'SaveRecord' isn't
available now". Here is the sub where it occurs:

Private Sub Cash_RV_Preview_Click()
On Error GoTo Err_Cash_RV_Preview_Click

[RVHAMT] = [Receipt Voucher Sub Form].[Form]![PAYABLE AMT]
[RVHDIS] = [Receipt Voucher Sub Form].[Form]![TOTAL DISCOUNT]

DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70

Dim stDocName As String

stDocName = "Receipt Voucher Printing Cash"
DoCmd.OpenReport stDocName, acPreview

Exit_Cash_RV_Preview_Click:
Exit Sub

Err_Cash_RV_Preview_Click:
MsgBox Err.Description
Resume Exit_Cash_RV_Preview_Click

End Sub


On checking the Menu Bar I saw the action "Save Record Shift+Enter"
is grayed out & not available in the Acc2003 app. However, when
checking it under Access 97 on the other PC, the option Save Record is
available.

Could someone please throw some light on this & guide me as to how to
proceed further with such errors ?

Thx & Best Rgds,
Prakash
Sep 8 '08 #2
Hi Allen ! Thx for such a swift response.

1) Your solution: If Me.Dirty Then Me.Dirty = False worked
absolutely fine !!

2) RVHAMT and RVHDIS are hidden controls on the form. The Record
Source of the Form is a Query which is based on 4 tables.

3) The conversion errors table consists of the foll:
----------------- -------------------
-----------------------
Object Type Object Name Error Description
----------------- -------------------
-----------------------
Table MSysObjects -1017: Could not find field
'Description'.
I have checked all the 50 tables & there seems to be no field with the
name "Description". However, there is one table having a field called
"Desc". Perhaps that was renamed by someone along the way ? I guess
you'll have a much better understanding of this.

I hope I'm ok so far, or is there anything else I need to worry
about ?

This app belongs to a Video Library so I'll make this change (Dirty)
in place of the Save Action and see how things progress. If any
further errors crop up beyond my reach, I'll post them here.

In the meanwhile if you feel I need to watch out for anything based on
the information I've given, please do let me know.

Thx & Best Rgds,
Prakash.

On Sep 8, 8:20*pm, "Allen Browne" <AllenBro...@SeeSig.Invalidwrote:
If there is no field named 'description', this is a form of corruption. Try
a compact/repair of the old database in Access 97. If that doesn't work, try
creating a new (blank) database, and importing everything.

In place of the SaveRecord line, try:
* * If Me.Dirty Then Me.Dirty = False
That should work in both versions.
If it doesn't what are RVHAMT and RVHDIS? If they are fields in the form's
RecordSource but not text boxes on the form, create text boxes for them and
see if that solves the problem. (Visible = No if you don't want to see
them.)

--
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.

<prakashwadhw...@gmail.comwrote in message

news:89**********************************@k7g2000h sd.googlegroups.com...
I have just been asked to port an Access 97 app from an old Pentium 3
to a new Pentium Core-2-Duo PC.
On the new PC, Office 2003 is installed. On opening the database,
Access provided me with an option to convert the database which I did.
However, there are a couple of small issues. For one, there were a
couple of conversion errors which it stored in a conversion errors
table (saying it could not find the field "description").
Secondly, and this is my main problem ...
When I click on a button in the old Acc97 app it used to work fine,
however in Acc2003 it says "The command or action 'SaveRecord' isn't
available now". Here is the sub where it occurs:
Private Sub Cash_RV_Preview_Click()
On Error GoTo Err_Cash_RV_Preview_Click
* *[RVHAMT] = [Receipt Voucher Sub Form].[Form]![PAYABLE AMT]
* *[RVHDIS] = [Receipt Voucher Sub Form].[Form]![TOTAL DISCOUNT]
* *DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70
* *Dim stDocName As String
* *stDocName = "Receipt Voucher Printing Cash"
* *DoCmd.OpenReport stDocName, acPreview
Exit_Cash_RV_Preview_Click:
* *Exit Sub
Err_Cash_RV_Preview_Click:
* *MsgBox Err.Description
* *Resume Exit_Cash_RV_Preview_Click
End Sub
On checking the Menu Bar I saw the action "Save Record *Shift+Enter"
is grayed out & not available in the Acc2003 app. However, when
checking it under Access 97 on the other PC, the option Save Record is
available.
Could someone please throw some light on this & guide me as to how to
proceed further with such errors ?
Thx & Best Rgds,
Prakash
Sep 8 '08 #3
Great. You have it sorted.

Can I suggest making sure that Name AutoCorrect is turned off in the new
A2003 database. As for why, see:
Failures caused by Name Auto-Correct
at:
http://allenbrowne.com/bug-03.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.

<pr*************@gmail.comwrote in message
news:3f**********************************@e53g2000 hsa.googlegroups.com...
Hi Allen ! Thx for such a swift response.

1) Your solution: If Me.Dirty Then Me.Dirty = False worked
absolutely fine !!

2) RVHAMT and RVHDIS are hidden controls on the form. The Record
Source of the Form is a Query which is based on 4 tables.

3) The conversion errors table consists of the foll:
----------------- -------------------
-----------------------
Object Type Object Name Error Description
----------------- -------------------
-----------------------
Table MSysObjects -1017: Could not find field
'Description'.
I have checked all the 50 tables & there seems to be no field with the
name "Description". However, there is one table having a field called
"Desc". Perhaps that was renamed by someone along the way ? I guess
you'll have a much better understanding of this.

I hope I'm ok so far, or is there anything else I need to worry
about ?

This app belongs to a Video Library so I'll make this change (Dirty)
in place of the Save Action and see how things progress. If any
further errors crop up beyond my reach, I'll post them here.

In the meanwhile if you feel I need to watch out for anything based on
the information I've given, please do let me know.

Thx & Best Rgds,
Prakash.

Sep 9 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3799
by: tombsy | last post by:
Please can you tell me what version of DAO does access 2002/2003 use ? Access 97/2000 can use DAO3.5 and DAO3.6 Can I compact a 2002/2003 db using DAO 3.6? thanks in advance regs Tombsy
2
1253
by: Blaine Manyluk | last post by:
Greetings... I have what may seem like silly questions, but I need to have the facts before I proceed with my decision. Access 2002 and 2003 can run (and modify) A2K DBs/apps without having...
1
1659
LMHelper
by: LMHelper | last post by:
I am in the process of switching an Access Database that was originally designed in Access 97 and they need it to switch over to Access 2000-2003 Database Version. We have run into errors when...
12
2325
LMHelper
by: LMHelper | last post by:
I am in the process of switching an Access Database that was originally designed in Access 97 and they need it to switch over to Access 2000-2003 Database Version. We have run into errors when moving...
0
1234
meLady
by: meLady | last post by:
Hello, I have a form called feedback which has three columns and each cell in a column has a combo box that holds (Yes/No/Empty), and I want to count each column's value for example let's supposed...
1
1343
by: Airtech | last post by:
I am developing a database in Access 2002/2003 for use in Configuration Management. The application has reach the point where users of my application need to execute scripts in various formats. I...
2
4024
by: =?Utf-8?B?TWFydGluIEFkaGll?= | last post by:
Hi All, Anyone knows where can I get Outlook Web Access (OWA) 2003 look and feel template code in asp.net 2.0? This download for windows based Outlook 2003 look and feel template....
1
1251
by: amrit1123 | last post by:
I m Working on a MS Access 2002-2003 file format.and some problem is create during the creation of adp file .when i insert the form and report data from mdb file into adp file .can any one tell me...
5
3498
by: wassimdaccache | last post by:
Dear All ; I would like to plant my inbox from MS OUTLOOK 2003 into an access form (2003). Any IDEA for doing would be greatly appreciated. Regards
1
2864
by: pascalph20 | last post by:
About 4 years ago I set up a multi-user Access database which I now maintain in Access2007, but which the users still access through 2003. It is a single instance mdb, regularly reorg'ed, low...
0
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
6895
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4770
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4476
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2992
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2977
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1296
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
176
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.