Quantcast
Channel: PTC Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 11539

Duplicate Checking in Trigger

$
0
0

Hello,

 

My item has kind of composit primary key. Combination of 4 fields make my Item unique. Somehow duplicate checking functionality offered by Integrity is not helpful or not working for me.

 

I created Unique Name field, and populated this field via pre-triggers. Now before I commit this item, I would like to check uniqueness of this calculated string but I do not find any direct call to get items based on string value. Neither the query is allowing to dynamically substitute parameter and execute.

 

What would be best suggession or solution in this case for duplicate checking?

 

Thanks for reading my post,

 

Regards

Adhik


Viewing all articles
Browse latest Browse all 11539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>