Solved

Solution--IDSQL32.DLL and Access Violations

Posted on 1998-04-17
1
938 Views
Last Modified: 2012-06-27
Since there seems to be alot of people having this problem I am posting the answer here so that in all our roamings we can all replay with a solution till Borland fixes this bug in their BDE.  The bug occurs and is reproducable by just setting one DefaultExpression on any DataSet.  If you do this you will get an Access Violation with IDSQL32.DLL.  

Solution:
Assign a CustomConstraint on the DataSet that you want a DefaultExpression in and this will fix the problem.  Make the CustomConstraint global for the entire DataSet and not just for the field(s) you want to set a DefaultExpression to since the local CustomConstraint for the specific field will only fix the DefaultExpression for the field alone and still give you the AV for any other DefaultExpressions.  I normally use a CustomConstraint like "FIELD IS NOT NULL" to fix the problem.

Pass this info along to all who have problems.

This ANSWER is free and will remain free here.  Someone "Answer" this question so that it will be packed and kept.

Scott
0
Comment
Question by:millerw
1 Comment
 
LVL 5

Accepted Solution

by:
julio011597 earned 0 total points
ID: 1334893
Here it is, and thanks for the infos.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sending Gmail through Delphi 3 108
Delphi XE10 Round Image 2 128
how to update exe applicatio from internet ? 6 78
Unique identifier on a terminal server (rdp) 4 54
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question