Knowledge Base
smartDBforms.NET for ASP.NET 2
 
 
Knowledge Base Forum
Search knowledge base:

PRB: MS Access foreign key relations are not utilized
Thursday, 14 June 2007
When using MS Access database, the fields that are foreign keys are not displayed as a drop-down list but as a normal textbox.

SYMPTOMS

When using MS Access database, the fields that are foreign keys are not displayed as a drop-down list but as a normal textbox.

CAUSE

The MS Access system database table  MSysRelationships  stores the meta information for the table relations. smartDBforms.NET uses this table to determine which fields participate in foreign key relations. By default this table is configured as not accessible.

Also only foreign key relations that are marked as "Enforce Referential Integrity" are considered.

RESOLUTION

Make sure the MSysRelationships system database table's security settings allow read access.

Assure that the foreign key relations has the "Enforce Referential Integrity" checkbox selected in the MS Access Relations tool.

See Working with MS Access in the online documentation.

APPLIES TO

  • smartDBforms.NET 1.4 and later( MS Access is not supported in the prevous versions ).
  • MS Access databases


Page Options: format for printing  Format for Printer

How would you rate the quality of this content?
Poor - - Excellent
Comments? 
Overall Rating: No ratings available.
Comments Left:
Left on Saturday, 22 December 2007 by Anonymous
Comments:
No ratings available.
Copyright 2006-2008 Adillis Terms Of Use Feedback Contact Us