473,785 Members | 2,851 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Why these codes can not run under Access 2002 and Windows XP

ET
Dear All, I have once made a mdb file using access 2000 under Windows
2000. I didn't use it for long. Today I tried but some codes just
didn't work. I am using Access 2002 and Windows XP. I have absolutely
no idea what's going on. These are the problematic codes, thank you
very much for your kind suggestion and help. Paul From Bratislava,
Slovakia

-------------------------------------------

If Forms![f1]![subf1].Form.Recordset Clone.RecordCou nt = 0 Then
MsgBox "Please fill the......"
Else
DoCmd.DoMenuIte m acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70
DoCmd.OpenForm "f2", , , "[FakturaID] = Forms![f3]!
[FakturaID]"
DoCmd.GoToRecor d acDataForm, "f2", acNewRec
End If

Jul 5 '07 #1
6 1733
On Jul 5, 7:38 am, ET <PaulTY...@gmai l.comwrote:
Dear All, I have once made a mdb file using access 2000 under Windows
2000. I didn't use it for long. Today I tried but some codes just
didn't work. I am using Access 2002 and Windows XP. I have absolutely
no idea what's going on. These are the problematic codes, thank you
very much for your kind suggestion and help. Paul From Bratislava,
Slovakia

-------------------------------------------

If Forms![f1]![subf1].Form.Recordset Clone.RecordCou nt = 0 Then
MsgBox "Please fill the......"
Else
DoCmd.DoMenuIte m acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70
DoCmd.OpenForm "f2", , , "[FakturaID] = Forms![f3]!
[FakturaID]"
DoCmd.GoToRecor d acDataForm, "f2", acNewRec
End If
What error message do you get?

Bruce

Jul 5 '07 #2
On 7 5 , 9 52 , Bruce <deluxeinformat ...@gmail.comwr ote:
On Jul 5, 7:38 am, ET <PaulTY...@gmai l.comwrote:
Dear All, I have once made a mdb file using access 2000 under Windows
2000. I didn't use it for long. Today I tried but some codes just
didn't work. I am using Access 2002 and Windows XP. I have absolutely
no idea what's going on. These are the problematic codes, thank you
very much for your kind suggestion and help. Paul From Bratislava,
Slovakia
-------------------------------------------
If Forms![f1]![subf1].Form.Recordset Clone.RecordCou nt = 0 Then
MsgBox "Please fill the......"
Else
DoCmd.DoMenuIte m acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70
DoCmd.OpenForm "f2", , , "[FakturaID] = Forms![f3]!
[FakturaID]"
DoCmd.GoToRecor d acDataForm, "f2", acNewRec
End If

What error message do you get?

Bruce
Thank you, Bruce!

The error message I get is something like this: "RecordsetClone " has
failed to function on the subform. (translation)
I tried the old mdb yesterday on Access 2000 it runs happily. So I
think it has something to do with MS's upgrade to Access 2002, which I
really have no idea what shoul I do. Thank you again for your care.

Paul

Jul 6 '07 #3
On Fri, 06 Jul 2007 07:05:22 -0000, Ti***********@g mail.com wrote:
>On 7 5 , 9 52 , Bruce <deluxeinformat ...@gmail.comwr ote:
>On Jul 5, 7:38 am, ET <PaulTY...@gmai l.comwrote:
Dear All, I have once made a mdb file using access 2000 under Windows
2000. I didn't use it for long. Today I tried but some codes just
didn't work. I am using Access 2002 and Windows XP. I have absolutely
no idea what's going on. These are the problematic codes, thank you
very much for your kind suggestion and help. Paul From Bratislava,
Slovakia
-------------------------------------------
If Forms![f1]![subf1].Form.Recordset Clone.RecordCou nt = 0 Then
MsgBox "Please fill the......"
Else
DoCmd.DoMenuIte m acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70
DoCmd.OpenForm "f2", , , "[FakturaID] = Forms![f3]!
[FakturaID]"
DoCmd.GoToRecor d acDataForm, "f2", acNewRec
End If

What error message do you get?

Bruce

Thank you, Bruce!

The error message I get is something like this: "RecordsetClone " has
failed to function on the subform. (translation)
I tried the old mdb yesterday on Access 2000 it runs happily. So I
think it has something to do with MS's upgrade to Access 2002, which I
really have no idea what shoul I do. Thank you again for your care.

Paul
I wonder if this might be the result of a missing reference? You
might try going to Tools->References to see if there is a reference
checked in your Access 2000 that is not in Access 2002.
Jul 6 '07 #4
On Jul 6, 2:05 am, Tieniu.P.Y...@g mail.com wrote:
On 7 5 , 9 52 , Bruce <deluxeinformat ...@gmail.comwr ote:


On Jul 5, 7:38 am, ET <PaulTY...@gmai l.comwrote:
Dear All, I have once made a mdb file using access 2000 under Windows
2000. I didn't use it for long. Today I tried but some codes just
didn't work. I am using Access 2002 and Windows XP. I have absolutely
no idea what's going on. These are the problematic codes, thank you
very much for your kind suggestion and help. Paul From Bratislava,
Slovakia
-------------------------------------------
If Forms![f1]![subf1].Form.Recordset Clone.RecordCou nt = 0 Then
MsgBox "Please fill the......"
Else
DoCmd.DoMenuIte m acFormBar, acRecordsMenu, acSaveRecord, ,
acMenuVer70
DoCmd.OpenForm "f2", , , "[FakturaID] = Forms![f3]!
[FakturaID]"
DoCmd.GoToRecor d acDataForm, "f2", acNewRec
End If
What error message do you get?
Bruce

Thank you, Bruce!

The error message I get is something like this: "RecordsetClone " has
failed to function on the subform. (translation)
I tried the old mdb yesterday on Access 2000 it runs happily. So I
think it has something to do with MS's upgrade to Access 2002, which I
really have no idea what shoul I do. Thank you again for your care.

Paul- Hide quoted text -

- Show quoted text -
It may be result of a broken reference as Arch stated below. Also
make sure you have all updates for Access 2002 installed (check this
at http://officeupdate.microsoft.com)
You may also want to try decompiling and recompiling the application
in Access 2002. Follow the instructions under "workaround " at
http://support.microsoft.com/kb/819780/en-us, close the database,
reopen the database, compile your code, and compact and repair (from
the Access menu, select Tools, Database Utilities, Compact and
Repair).

Bruce

Jul 10 '07 #5
ET
Thank you all who tried help. I was away for a while.

Thank you Arch very much, but I found no missing reference.

Thank you Bruce very good suggestion, I will go to have a look whether
I have all updates for Access 2002.

Paul from Slovakia

Jul 20 '07 #6
ET
Thank you all who tried help. I was away for some days. Back to my
computer just now.
THank you Arch, but I didn't find any missing reference. It is weird.
THank you Bruce, I will check out the upgrade, that is probably the
problem.
Thank you.

Paul from Slovakia

Jul 20 '07 #7

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

Similar topics

20
4646
by: John | last post by:
Hi, I've recently upgraded from Access 97 to Access 2002 & the performance basically stinks. I have tried the following items listed below but it has only had a minor impact: 1) Upgraded Jet 4 to Service Pack 7 2) Set Subdatasheet Name to from 3) Shortened the file name of the .MDB file 4) Made sure the Track name AutoCorrect info is off
7
2183
by: Sean Howard | last post by:
This is not a question, but I need a bit of advice. I need to create a software solution for users in various countries. Normally I would use Access 2000 and simply deliver the databases for use. Unfortunately some of the users will not have Access installed on their machines, and will not purchase it simply to use this software. In the (bad) old days of using Access97, I would have simply sent the databases together with the runtime...
13
2653
by: Noesis Strategy | last post by:
When I ordered my new laptop, Sony didn't offer Access 2003 in its bundles. Recently, I have begun to design Access databases using an copy of Access 2002 from my previous laptop. It works fine, but I would like to have all the office apps on the same version. So I have a few questions: 1) Is the file format the same as 2002? Can 2002 users read 2003 files? 2) What are the major reasons for upgrading to 2002 ?
3
2125
by: Scott | last post by:
Hi, If we want to compile an Access 2002 database and distribute it to others, will the compiled software run on any PC, like Windows 98, Windows 2000, etc. Also, you don't have to have Access 2002 in order to run it do you? Thanks!
3
2502
by: Colin Chudyk | last post by:
Hi, Here is my situation. Can anyone provide insight? I have developed a database in Access 2002. I am planning to distribute it as a split MDE (front) / MDB (back) to be used by the Access runtime and also full-version. Some of the client workstations will have Access 2002 installed. Most of them will have the runtime installed. However, I can't find the Office 2002 Developer Edition anywhere! Nobody has
4
2084
by: Paul T. RONG | last post by:
Dear All, I add two new tables to the database and then the disable shift key codes don't work. These two new tables are actually created by two queries, and only these two are in the front end, I didn't manage to move them to the back end. I work with Access 2k under Win XP. these are the codes that don't work (it worked for more than a year very well):
52
9984
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 2005, and, since he already has licenses for Office Pro 2002, he wants to upgrade to that. I've been saying that we need to upgrade to Access 2003, not 2002, even if Office is kept at 2002. We are also looking to do a fair amount of...
2
6256
by: Frav | last post by:
The Reps team have been experiencing that Access 2002 unexpectedly quits while working and also lots of Corruption Failures and "Record lock can not update" messages since the upgrade from Windows 2000 and Access 200 to Windows XP and Access 2002 (XP) was done. Now, they are working and at anytime in anywhere of the application access unexpectedly quits with no error messages and the info that was being entered
0
2757
by: Sebastian | last post by:
Hello I develop my applications in Access 2002. My development system is running Windows XP SP2 and I have Microsoft Office XP Developer. Microsoft Office XP is at SP3. I used Inno Setup (great product) to install my applications. When the Access Runtime was needed on the system I simply ran 'accessrt.msi' from Microsoft Office Developer discs. When another version of Access (other than Access 2002) was on the system then I simply...
0
10329
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10152
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10092
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9950
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8974
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7500
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5381
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2880
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.