dstichbury Posted February 24, 2005 Share Posted February 24, 2005 Hi there, Is there anyway I can use the 'unique' validation idea, but dependent on a combination of two fields, for example, say I've got two fields, ' Title' and Language' I will need to create a new record for each new title, and it's corresponding language, but I want to make sure that I cannot create two records with the same title and language. Would i need to write a script in order to do this? Many thanks Link to comment Share on other sites More sharing options...
aaa Posted February 24, 2005 Share Posted February 24, 2005 Try to create calculation field Title_Language=Titli&"_"&Language. Then create self relation by this field let his name is Self. Then your validation will be like this Count(Self::Title)<1. Link to comment Share on other sites More sharing options...
dstichbury Posted February 24, 2005 Author Share Posted February 24, 2005 Thanks - I understand the principal, would you mind briefly going over the second part, creating a self-relation and how I'd go about this? Many thanks Dominic Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6607 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now