Solved

Solution--IDSQL32.DLL and Access Violations

Posted on 1998-04-17
1
945 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

837 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