473,568 Members | 2,923 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is causing these 2 forms with SQL statements to corrupt when imported

I had a very large number of query statements that I had converted to
SQL a long time ago aticipating that I would some day upsize my
application. Every now and then when I do an import to a new
application, some of the forms will import corrupted, and crashing the
whole application, though it works fine in the old application.

Today I did some experimenting on the two most recent corrupt form
files. I discovered that even when I duplicate only the SQL code
statements in the new forms "Record Source" (no fields, or anything
in design view), it still crashes.

If nothing has been placed in design view of these forms, and only the
SQL statements place in, "Record Source"; what else can it be but the
SQL statement?

What is in these two statements in these forms that that causes both
the application and MS Access 2003, on an XProSP2 machime with a
Pentium IV and 1gig memory, to crash upon import or merely opening
them directly into design view.

Example Form1:

SELECT DISTINCTROW Registration.Ev entID, Registration.At tendeeID,
[AttendeeLastNam e] & ", " & [AttendeeFirstNa me] AS [Attendee Name],
Attendees.Compa nyName, Registration.Re gistrationFee, [Sum Of Payments
Query].[Total Payments]
FROM Attendees INNER JOIN (Registration LEFT JOIN [Sum Of Payments
Query] ON Registration.Re gistrationID = [Sum Of Payments
Query].RegistrationID ) ON Attendees.Atten deeID =
Registration.At tendeeID
ORDER BY [AttendeeLastNam e] & ", " & [AttendeeFirstNa me];

Example Form2:

SELECT DISTINCTROW Registration.Re gistrationID,
Registration.Re gistrationFee, Events.EventNam e,
Registration.ev entdate, Events.StartDat e, Registration.Sa lesTaxRate,
[Sum Of Payments Query].[Total Payments], Registration.At tendeeID,
Registration.pr ogname, Registration.se rviceclass,
Registration.Re gistrationDate
FROM Events INNER JOIN (Registration LEFT JOIN [Sum Of Payments Query]
ON Registration.Re gistrationID = [Sum Of Payments
Query].RegistrationID ) ON Events.EventID = Registration.Ev entID
ORDER BY Registration.Re gistrationID;
John Phelan
Nov 13 '05 #1
0 1290

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

Similar topics

137
6990
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very pragmatic - 3) I usually move forward when I get the gut feeling I am correct - 4) Most likely because of 1), I usually do not manage to fully explain...
1
5670
by: Thiko | last post by:
Hi I have a corrupt PK index on a table column. It is a unique PK. It needs to be dropped and recreated to cure the corruption. The table is on a backup database which is in replication having records added to it to keep the two databases in sync. Am I correct in think that if I:
7
2662
by: Kenneth_J | last post by:
Hey everyone, I just started doin some work with access and vba, and don't know much about it yet...any help would be much appreciated. My goal is to create a form in word that can be filled out, printed, and have its data be written to an accesss database. One of the sections of this form is for a list of items which are purchased and...
5
4147
by: Jack MacDonald | last post by:
This is very strange and disturbing. Last night I opened the FE of my development version of an A97 database and immediately received a Windows-level error message titled "msaccess.exe Application Error". The message body was along the lines of "... instruction 0x6517daaa referenced memory at 0x00000075" etc. The dialog box has an OK and...
3
11998
by: Bob Darlington | last post by:
Using Access 2002. I have imported one form and two modules from another database, in order to compare code. Having finished the comparison, I cannot delete them. When I press 'Delete', I get a message asking for confirmation 'Do you want to permanently delete etc', I respond 'Yes' but the object remains. No error message is generated. ...
0
1432
by: Ken Ekberg | last post by:
Hello everyone, I am moving an ATL project from VC6 to VS .NET 2003. It builds fine in VC6, but I am having problems with ADO on VS 2003. It appears that if I use the msado15.idl included with VS 2003, I get the error "error C2146: syntax error : missing ';' before identifier 'PositionEnum_Param'" My IDL imports the msado15.idl. In...
13
2655
by: Owen Jenkins | last post by:
Following on from an earlier post... I can reliably corrupt a record by doing the following ... Open two separate but identical front ends on one PC each linking to the same back end. Edit a records in one front end and leave it unsaved. Edit the same record in the other front end and save the change. Save the change in the first front...
6
2254
by: dudeja.rajat | last post by:
Hi, I found on the net that there is something called module initialization. Unfortunately, there is not much information for this. However, small the information I found module initialization can be of use to me in my project. I'm currently messing with a problem where I'm keeping my global variables ( or symbols) in a module and the...
2
2739
by: DavidGeorge | last post by:
In an earlier thread I recounted a problem I was having, but it took a while to reduce the problem to it's basic components and the issue became somewhat confused in reaching that point. I hope you will excuse me for bringing it up again but this issue is very frustrating. I created a new form in a brand new (Access 2003) database. This...
0
7693
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
7916
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. ...
0
8117
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...
1
7660
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...
0
6275
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...
0
3651
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
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2101
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
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.