Solved

Solution--IDSQL32.DLL and Access Violations

Posted on 1998-04-17
1
912 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 Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now