CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 ODBC error message

Print topic Send  topic

Author Message
dang

Posts: 11
Posted: 11/23/2007, 5:34 PM

Hi

I add in MSAccess a relationship between 2 tables. I do not allow to delete a parent record when this one have some child records.

Is there a way to avoid this message:

[Microsoft][ODBC Microsoft Access Driver] The record cannot be deleted or changed because table 'Transactions' includes related records. (Microsoft OLE DB Provider for ODBC Drivers)

and replace it by a more friendly one.

Regards

_________________
Dan
View profile  Send private message
Oper


Posts: 1195
Posted: 11/23/2007, 7:16 PM

keep the relation just to be safe.

but you will use: on validate function on any field.

and do a ccdlookup("Count(*)",..................

for the records on the other field/database if > 0

then adderror will do the job.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.