473,398 Members | 2,393 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Developing in Access 2003 for Access 97 users

I know you can convert a database from Access 2003 to 97 easily but is
there anything that I should avoid doing in Access 2003 that might make
my database incompatible with Access 97?

Many thanks, Dean...

Dec 20 '05 #1
5 1801
DeanL wrote:
I know you can convert a database from Access 2003 to 97 easily but is
there anything that I should avoid doing in Access 2003 that might make
my database incompatible with Access 97?


Starting.

Dec 21 '05 #2
Dean, if you have Access 97 as well as 2003, I would agree with Lyle that it
would be better to use 97 to develop this database. I actually did a small
one earlier this year using 2003 and converting back at the end: if I had
that time again, I would do the whole thing in A97.

It kinda depends what functionality you use, but avoid stuff like:
- Conditional Formatting
- the Undo event of the form.
- OpenArgs for OpenReport.
- VBA functions such as Replace() and Split().
- ADO-specific code (especially DDL)

If you do convert back, decompile first. Avoid any references other than
VBA, Access and DAO. After conversion to A97, you will still need to change
your DAO reference to 3.51. (A2003 doesn't make that change for you.)

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

"Lyle Fairfield" <ly***********@aim.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
DeanL wrote:
I know you can convert a database from Access 2003 to 97 easily but is
there anything that I should avoid doing in Access 2003 that might make
my database incompatible with Access 97?


Starting.

Dec 21 '05 #3
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in
news:43***********************@per-qv1-newsreader-01.iinet.net.au:
Dean, if you have Access 97 as well as 2003, I would agree with
Lyle that it would be better to use 97 to develop this database. I
actually did a small one earlier this year using 2003 and
converting back at the end: if I had that time again, I would do
the whole thing in A97.

It kinda depends what functionality you use, but avoid stuff like:
- Conditional Formatting
- the Undo event of the form.
Me.Undo exists in A97. But the OnDirty event does not exist.
- OpenArgs for OpenReport.
- VBA functions such as Replace() and Split().
One could easily port that code for A97.
- ADO-specific code (especially DDL)
Much of it would still work with ADO1.5
If you do convert back, decompile first. . . .
This strikes me as a waste of time, as all the compiled code will be
discarded, anyway, during the conversion.
. . . Avoid any references other than
VBA, Access and DAO. After conversion to A97, you will still need
to change your DAO reference to 3.51. (A2003 doesn't make that
change for you.)


A2K did.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 21 '05 #4
In line.

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

"David W. Fenton" <XX*******@dfenton.com.invalid> wrote in message
news:Xn**********************************@127.0.0. 1...
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in
news:43***********************@per-qv1-newsreader-01.iinet.net.au:
... avoid stuff like:
- Conditional Formatting
- the Undo event of the form.


Me.Undo exists in A97. But the OnDirty event does not exist.


Not the Undo METHOD (so you can undo the record), but the Undo EVENT of the
Form (i.e. where Access notifies you that the record has been reset.)

There was a KB article on how to simulate an undo event for the form, but it
did not work reliably. A2000 introduced a true Form_Undo event that works.

- OpenArgs for OpenReport.
- VBA functions such as Replace() and Split().


One could easily port that code for A97.


Yes, if one is aware of the issue.
- ADO-specific code (especially DDL)


Much of it would still work with ADO1.5


Yes, I did not word that clearly. I was thinking of the new JET 4 features
that don't work in the query interface or in DAO in later versions of
Access, so have to be executed via ADO.
If you do convert back, decompile first. . . .


This strikes me as a waste of time, as all the compiled code will be
discarded, anyway, during the conversion.


You may be right: I don't recall getting caught when converting back to 97.
But I have been caught several times with a database I edited in A2003 and
the user is using A2000. The silent discard is not reliable, and actually
does corrupt the database and introduce bloating and hard-to-trace bugs. The
suggestion is to force the discard before converting back to any previous
version, but I have no evidence that this would be productive for a
conversion back to 97.
. . . Avoid any references other than
VBA, Access and DAO. After conversion to A97, you will still need
to change your DAO reference to 3.51. (A2003 doesn't make that
change for you.)


A2K did.


Yes, that's the way I remember it also, so I was surprised that A2003 did
not.
Dec 22 '05 #5
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in
news:43***********************@per-qv1-newsreader-01.iinet.net.au:
"David W. Fenton" <XX*******@dfenton.com.invalid> wrote in message
news:Xn**********************************@127.0.0. 1...
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in
news:43***********************@per-qv1-newsreader-01.iinet.net.au:
... avoid stuff like:
- Conditional Formatting
- the Undo event of the form.


Me.Undo exists in A97. But the OnDirty event does not exist.


Not the Undo METHOD (so you can undo the record), but the Undo
EVENT of the Form (i.e. where Access notifies you that the record
has been reset.)


You're right -- you did say EVENT.

[]
- ADO-specific code (especially DDL)


Much of it would still work with ADO1.5


Yes, I did not word that clearly. I was thinking of the new JET 4
features that don't work in the query interface or in DAO in later
versions of Access, so have to be executed via ADO.


I know of a grand total of ONE thing that has to be done in ADO, and
that's UserRoster. What else is there?

Certainly, items that are specific to Jet 4 couldn't be back ported
to A97, anyway, so those are rather irrelevant to the basic ADO
question.
If you do convert back, decompile first. . . .


This strikes me as a waste of time, as all the compiled code will
be discarded, anyway, during the conversion.


You may be right: I don't recall getting caught when converting
back to 97. But I have been caught several times with a database I
edited in A2003 and the user is using A2000. The silent discard is
not reliable, and actually does corrupt the database and introduce
bloating and hard-to-trace bugs. The suggestion is to force the
discard before converting back to any previous version, but I have
no evidence that this would be productive for a conversion back to
97.


I decompile enough during regular development that I don't think it
necessary when converting to a new version, but I don't use any MDB
version after 2000.

In any event, converting to A97 would definitely have to discard all
the code, as everything is different, and I believe that was the
scenario this thread is about.
. . . Avoid any references other than
VBA, Access and DAO. After conversion to A97, you will still
need to change your DAO reference to 3.51. (A2003 doesn't make
that change for you.)


A2K did.


Yes, that's the way I remember it also, so I was surprised that
A2003 did not.


Two steps forward, one back, it seems.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Dec 22 '05 #6

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

Similar topics

11
by: Mark G. King | last post by:
I have an Access 97 runtime database in use with over 300 users scattered around the country. I'm planing on an upgrade to the front end in the next 2-3 months. I'd like to use Access 2003 and...
0
by: Steve | last post by:
Greetings, I'm having problems with the use of an Access 2003 Add-In on Windows XP Pro. Administrative-level users have no problems running the Add-In, but those users with restricted rights on...
1
by: Mike | last post by:
Hi Hi We are currently upgrading from access 97 to office 2003 on site. We would like to upgrade our access databases to Access 2003 but we wish to remove Microsoft access software from our end...
7
by: Ian Davies | last post by:
Is the runtime version of Access for distribution, that is available with the developer extensions a fully functional version of Access apart from the ability to create, edit and code a database? I...
11
by: Simon | last post by:
Hi all As I'm sure is common knowledge the version of IIS included in XP Pro is limited in that you can only create 1 website in the IIS snap in. As an ASP.net developer this is a pain in the...
4
by: DeanL | last post by:
Hi All, Having a problem developing an Access 97 database in Access 2003. The database needs to go out to a number of staff who will review it and recommend any changes but when I convert the...
52
by: Neil | last post by:
We are running an Access 2000 MDB with a SQL 7 back end. Our network guy is upgrading to Windows Server 2003 and wants to upgrade Office and SQL Server at the same time. We're moving to SQL Server...
1
by: Jeff | last post by:
Hey IDE: VS .NET 2005 #1 I want to start developing web parts in visual studio 2005 and are wondering where is the latest version of the web part templates. I did find this download (the...
49
by: Mell via AccessMonster.com | last post by:
I created databases on Access 2003 and I want to deploy them to users. My code was also done using 2003. If they have Ms Access 2000 or higher, will they be able to use these dbs with all code,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.