473,657 Members | 2,545 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Wy do these 2 SQL statements corrupt both form and crash my Appl.?

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;
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #1
0 1233

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

Similar topics

0
278
by: Pola | last post by:
Please Help I am using VC++ in win 2000 In my appl (Win32 project) I want to control the close operation of the apl (for example if somebody will try to close appl from the "Windows Task Manager") I want to know in my appl what message to expect from "Task Manager", when user will try to close my appl from the "Windows Task Manager". what message should I get in my appl thank you Pola
0
2410
by: richardshen | last post by:
My DB2 V8 SP5 WSE crash on Windows 2003 with the following msg in db2diag.log. Any idea? Looks like I need set stackreserver, what is the suggested value for that? 2004-03-05-12.20.46.299000 Instance:DB2 Node:000 PID:3800(db2syscs.exe) TID:3864 Appid:*LOCAL.DB2.01F2C5171908 oper system services sqloEDUExceptionFilter Probe:55 Database:TDV8 ADM0501C A stack overflow exception has occurred. The DB2 instance has
2
5558
by: Mike | last post by:
Greetings, Having a major problem here. running version 8.2 on win2003 server. The problem I am having is backing up a database seems to get to the last part of the backup and then fails. This brings the whole instance down and it has to be restarted. In addition the job seems to be stuck in the TOOLSDB as if I try to delete the backup job I get "The task is currently running". So I went to the command line and tried "db2 backup database...
5
3873
by: NG | last post by:
Hi, We are having DB2-V7.2 DB on AIX 5.2 machine. Recently we upgraded our system to fixpack 13 and activated activate AIX asynchronous IO function. Our DB is going to crash recovery with this error 0xFFFFF707. I have attached the related details. Any suggestions is much appreciated.
14
3556
by: Jurgen Haan | last post by:
Hey all, at the company where I work we had a strange situation yesterday. Our DB2 database locked up, or as it later seemed, the DBM, or some connection manager. We couldn't open new connections to the database, but existing connections remained. So the instances were working fine. Also, I couldn't connect using IPC, so I was unable to shut the database
0
1291
by: John Phelan | last post by:
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...
2
8255
by: speralta | last post by:
My tired old eyes may be failing me, but the following insert statements look correct to me, but I can't seem to get a clean insert from a fairly large text file database into mysql. I was wondering if maybe I'm hitting a limit on character length per line on some insert statements that I'm trying. Here's the error messages: execute failed: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server...
6
5565
by: nmehring | last post by:
I have an MFC app with 2000 users. I have one user that experiences a crash in our software anywhere from 1 to 5 times a week when opening a particular module. No other users have reported this particular crash so I don't think anyone else is experiencing it but I know other users are doing exactly what she is doing because it is our most popular module. I have analyzed the dmp files from several of this user's crashes using windbg...
1
1428
by: ramprat | last post by:
I am using a Dlookup to pull a value from my traffic table for a record prior to moving that record to a traffic_history table. I want to take the value and store it in a variable and then populate a new record in the traffic table with that value based on a unique PCID. This code is triggered by the click event of a button on my form after someone enters a new traffic count into my continuous form. The code takes the old count and puts it into...
0
8392
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
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
8732
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
8503
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
8605
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
7324
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
6163
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
5632
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...

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.