Solved

Solution--IDSQL32.DLL and Access Violations

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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