Skip to Content
author's profile photo Former Member
Former Member

error out on duplicated project name

Hello All:

I have a customer that want to use project extensively in SBO. They will self increment for project code. But put something meaningful on the project name. But because there are mulitple of people that couldn't enter project, they want to make sure that they don't duplicate the project.

I tried to use the SP_transactionnotification but because project doesn't have objtype it doesn't work. Then I tried to use a formatted search :

 Select case when (select count(*) from oprj where prjname = $[OPRJ.prjname]) >0 then 'Invalid' else $[OPRJ.prjname] end 

But I can't do auto FS on project name. it only allow you do auto on column changes that's is not the field you in right now.

Does anyone have any similar problems and have a nice solution that give those red error messages at the button. I know that with SDK this is easily down. (but customer does not want anymore add-ons) Back in the early 2005 it was possible using a separate field and put invalid value in that field. But non of which are working for me in 2007.

Can anyone help please? appreciate it!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 23, 2008 at 11:22 AM

    Hi Bo

    Have you tried using the "When field changes" option as this does expose both code and name.

    Kind regards

    Peter Juby

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.