473,565 Members | 2,770 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tracing Links Problem and Conversion Errors

JamesDC
66 New Member
Hey all,

I have two problems with trying to upgrade an access file, not written by myself.

This first is that I'm trying to change the items on a dropbox list, and they are linked with the following code:

SELECT DISTINCTROW [Processing Data].[ID], [Processing Data].[Number], [Processing Data].[Products] FROM [Processing Data];

My problem is that I cannot find any table called Processing Data. Are there other places that I could look to try to find this? Or is there a way to open the link from inside the properties box for the dropbox?

My second question is concerning these conversion errors that appeared in the Table menu when the database was converted from Access 200 to Access 2002. They seem to each contain a small error comment, and I'm not sure if I should delete them.

Thanks in advance for any help you can provide,

James
Feb 23 '07 #1
29 2629
ADezii
8,834 Recognized Expert Expert
Hey all,

I have two problems with trying to upgrade an access file, not written by myself.

This first is that I'm trying to change the items on a dropbox list, and they are linked with the following code:

SELECT DISTINCTROW [Processing Data].[ID], [Processing Data].[Number], [Processing Data].[Products] FROM [Processing Data];

My problem is that I cannot find any table called Processing Data. Are there other places that I could look to try to find this? Or is there a way to open the link from inside the properties box for the dropbox?

My second question is concerning these conversion errors that appeared in the Table menu when the database was converted from Access 200 to Access 2002. They seem to each contain a small error comment, and I'm not sure if I should delete them.

Thanks in advance for any help you can provide,

James
__1 This Table may have been intentionally Hidden. Tools ==> Options ==> View ==> Hidden objects ==> Yes
__2 You can Delete the Conversion Errors Table with no ill effect whatsoever. It is just a helpfull tool to let the User know what Errors were encountered during a conversion.
Feb 23 '07 #2
MMcCarthy
14,534 Recognized Expert Moderator MVP
Hey all,

I have two problems with trying to upgrade an access file, not written by myself.

This first is that I'm trying to change the items on a dropbox list, and they are linked with the following code:

SELECT DISTINCTROW [Processing Data].[ID], [Processing Data].[Number], [Processing Data].[Products] FROM [Processing Data];

My problem is that I cannot find any table called Processing Data. Are there other places that I could look to try to find this? Or is there a way to open the link from inside the properties box for the dropbox?
Hi James,

[Processing Data] could be a query. To find it...in the properties window of the combobox in the row source click in the value box (where the select statement is written) and a button with dots will show on the right. Click this will open the query window representing this query.

My second question is concerning these conversion errors that appeared in the Table menu when the database was converted from Access 200 to Access 2002. They seem to each contain a small error comment, and I'm not sure if I should delete them.
I wouldn't delete them unless you are sure that all issues have been dealt with.

Did you compile the database from the VBA editor after converting it?

Mary
Feb 23 '07 #3
JamesDC
66 New Member
Thanks to both of you,

It was indeed a hidden Table, I should've thought of that :S.

I'm just going to leave the errors there now since they don't affect anything. As far as how I converted it... I'm not really sure. It was done my Access when I first opened the file with Access 2002 after my company upgraded.

Thanks again,

James
Feb 23 '07 #4
NeoPa
32,564 Recognized Expert Moderator MVP
In that case it is worth your while going through the errors and making sure all issues have been dealt with. Any issues not dealt with are very likely to bite you on the 4rse later on :(
To be sure that it is in a reliable state I would also recommend compiling the database completely before continuing. This will highlight any errors in the code that it discovers can't work. This is a very handy tool for finding and fixing errors.

Good luck with the task.
My nether regions are currently a little sore as I just discovered some more problems related to a database upgrade I did recently to A2K (And I did compile and test etc before releasing it).
Feb 26 '07 #5
JamesDC
66 New Member
Hey all,

I went through the errors in my database, and in total there were 63 error tables created, named Conversion Errors 1-63.

The early tables have only one error:

Module: There were compilation errors during the conversion or enabling of this database.

There is only one module in this database and it's the code for determining a leap year:
Expand|Select|Wrap|Line Numbers
  1.  
  2. Option Compare Database
  3. Option Explicit
  4. Public Function LongMonth(Month As Integer)
  5. LongMonth = Choose(Month, "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December")
  6. End Function
  7.  
  8. Public Function Lastday(Month As Integer, Year As Integer)
  9. If Year Mod 4 = 0 Then
  10.     Lastday = Choose(Month, "1/31/", "2/29/", "3/31/", "4/30/", "5/31/", "6/30/", "7/31/", "8/31/", "9/30/", "10/31/", "1/30/", "12/31/")
  11. Else
  12.     Lastday = Choose(Month, "1/31/", "2/28/", "3/31/", "4/30/", "5/31/", "6/30/", "7/31/", "8/31/", "9/30/", "10/31/", "1/30/", "12/31/")
  13. End If
  14. End Function
  15.  
So I don't know why I keep getting this error. It is present in all of the conversion error tables.

ABout halfway through and continuing to the end the following two errors occur:
Table: Object Name: MSysObjects: -1611: The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time.

this one makes me believe that everytime more than one person tries to access the database this error is generated.

The third error is:
Table: Object Name: MSysObjects: Error Description
-1611: The Microsoft Jet database engine could not find the object 'MSysCompactErr or'. Make sure the object exists and that you spell its name and the path name correctly.

And I don't have a clue on this one :(.

Could anyone please provide some clarity for me on this issues,

Thanks,

James
Feb 27 '07 #6
NeoPa
32,564 Recognized Expert Moderator MVP
If you have compilation errors you need to compile it explicitly (Debug / Compile Project from your VBA window).
If you can't figure out any particular problem post the code of the module it flags as well as the line it highlights and the error message and we'll see if we can make any sense of it.
Feb 27 '07 #7
MMcCarthy
14,534 Recognized Expert Moderator MVP
Hi James

The module looks fine but in this case it may be referring to a form module which is the code behind the form. In the VBA editor window go to Debug - Compile "DatabaseNa me". This will highlight any errors in the code.

Mary
Feb 27 '07 #8
NeoPa
32,564 Recognized Expert Moderator MVP
Snap!
:D
Feb 27 '07 #9
JamesDC
66 New Member
When I run the debug I get this error:
Compile Error: Invalid Use of Property

It brings up the following section of code:

Expand|Select|Wrap|Line Numbers
  1. Option Compare Database
  2. Option Explicit
  3.  
  4. Private Sub Report_Open(Cancel As Integer)
  5. Dim iOEE As Integer
  6. Dim iOldOEE As Integer
  7.  
  8. If [test].[Line #] = 1 Then
  9.     iOEE = [OEE] + iOEE
  10. End If
  11.  
  12. Report [test].txtOEE.Text = iOEE
  13. End Sub
  14.  
With the word Report highlighted in the 2nd last line, is this a coding issue? I also have no idea what this section of code is for. The person who put this database together was very sloppy, there are unused tables and forms everywhere, so I suspect this is just a leftover testing code. But that's just how I feel.
Feb 27 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

0
313
by: Peter Otten | last post by:
QOTW: "With only one historian, there are no errors, everything written becomes fact." - Raymond Hettinger about Brett Cannon as the author of the python-dev summary "ode runs in the scope it was *defined* in, not the scope it is invoked in." - Jp Calderone Dan Bishop posts a string-to-date conversion oneliner for Martin Bless....
3
1705
by: Serge Rielau | last post by:
Hi SQL Procedure developers, As threatened in earlier posts the SQL PL Tracing facility is finally oot-and-aboot. SQL procedure tracing: Analyzing SQL procedure flow This article describes an API that allows for transparent tracing of SQL procedures as well as explicit tracing of non-SQL procedures in DB2 Universal Database (UDB) V8.2...
4
6475
by: Nikhil Patel | last post by:
Hi all, I am a VB6 programmer and learning C#. I am currently reading a chapter on types. I have question regarding enums. Why do we need to convert enum members to the value that they represent? Thanks in advance... -Nikhil
5
3181
by: Stig | last post by:
I would like to output the sequence of method calls from a running c# applcaition, but I don't want to add Debug.trace calls at the entry and exit points in each an every methods. Does there exist a c# profiler which can profile and then log the sequence of function calls automatically? regards Stig Nielsson
6
1655
by: serge calderara | last post by:
Dear all, I have an applicatin that generate a querry to an SQL server, then display results on a second webform. I try to see how tracing works, then I have notice that as soon as I implement tracing on the page, when I click on the BACK button of explorer I get a warning message that information of the page needs to be resend to be...
2
1751
by: deepukutty | last post by:
Hi all, I know tht we can do tracing in two ways.one in application level and the other is at Page level. I am able to see the details of trace either on the page itself or .../trace.axd page. I want to use maximum out of the available trace details . or let me put it like this.... tell me the actual scenario's where these trace details...
0
1358
by: cnys | last post by:
We have an ASP.NET 2.0 (C#) app and we're trying to add tracing into it. The tracing functionality within .NET is great, but when we output this to a file, it's kind of sparse. So, we're looking for ideas on how to get more tracing info. output to our log file than what's currently output by calling the Write methods. Here are some...
1
1735
by: Carlos Martinez | last post by:
Hi all: I want to know how can I trace an address. I don't need the conversion from an integral type to string. Suppose I have an "asString" function that do that conversion. My main problem is that code must compile for 2 compilers and 2 Operating Systems. I cannot assume the size of pointers to have 4, 8, ... bytes.
3
3964
by: prakashwadhwani | last post by:
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...
0
7666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
6260
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...
1
5484
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...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
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...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2083
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 we have to send another system
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
925
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...

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.