Can an Objects attribute (Shortcut) point to a query?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
tazzmaxx
Posts: 125
Joined: Tue Sep 02, 2008 2:13 pm

Post by tazzmaxx »

Hi Tom and AS thanks for the assistance. I tried your rule Tom and I am still continuing to have errors. I will try creating a new BSV and try the rule again. It still gives me the same error. :o(
tazzmaxx
Posts: 125
Joined: Tue Sep 02, 2008 2:13 pm

Post by tazzmaxx »

I tried a brand new bsv and encountered the same problem. It now allows me to add a single MAIN record to each Person but not multiple address records.
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Tazz,

I'm 100% why the other rule does not work, but try this:

If Address IS NEW AND EXISTS Address WHERE (Address.Main='Yes' AND Address.Person=ThisAddress.Person AND Address.ID<>ThisAddress.ID) AND Address.Main='Yes' Then
REPORT ERROR 'Only one main Address can exist'

Tom
tazzmaxx
Posts: 125
Joined: Tue Sep 02, 2008 2:13 pm

Post by tazzmaxx »

THAT'S IT!!!!!!!!!!!!

Way to go Tom!!! When you are ready to start the Aware IM for Dummies book please let me know. That was very helpful!

Thanks again
Post Reply