restricting adding records based on existence of releated record

Chris Sheffield cm_sheffield at yahoo.com
Thu Jun 10 11:49:39 CDT 2004


I hope this makes sense.

I'm wondering if there is an internal way of
restricting the adding of records in one table based
on the existence (or non-existence) of a related
record in another table.

For example, in Table1 I have several fields of data. 
In Table2 I have fields ObjectPtrToTable1 and Data. 
Is there internal way to restrict adding a record to
Table2 if there is not a related record in Table1, or
am I pretty much just stuck with doing this in my own
code?

It seems as though there should be another option for
an ObjectPtr field like "Restrict of related record
doesn't exist", or something like that.  :-)

Any ideas would be appreciated.

Thanks,


=====
Chris Sheffield
Read Naturally
www.readnaturally.com


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


More information about the Valentina mailing list