Question on using ARSPerl to determine if an entry exists in a form

2007-10-03 Thread Nyall McCavitt
Hi, I can use ARSPerl to create new entries in various forms but I can't seem to easily find a way to determine if a particular entry exists in a form. For example, I need to determine if a given user exists in the form SHR:People. I can use the ars_LoadQualifier call to input the query

Re: Question on using ARSPerl to determine if an entry exists in a form

2007-10-03 Thread Misi Mladoniczky
Hi Nyall, The ars_GetListEntry() should supply the answer for you. %entrylist = ars_GetListEntry() if keys %entrylist 0 { ... } Hi, I can use ARSPerl to create new entries in various forms but I can't seem to easily find a way to determine if a particular entry exists in a form. For

Re: Question on using ARSPerl to determine if an entry exists in a form

2007-10-03 Thread Thomas Worth
Nyall, The next call would be: %entryList = ars_GetListEntry($ctrl, SHR:People, $qualifier, 0, 0); If (%entryList) { # The person record is found } Else { # person is not found } HTH, Thomas Worth IT Prophets, LLC [EMAIL PROTECTED] -Original Message- From: Action

Re: Question on using ARSPerl to determine if an entry exists in a form

2007-10-03 Thread Nyall McCavitt
Hi, Thanks. This has solved it for me. Nyall Thomas Worth wrote: Nyall, The next call would be: %entryList = ars_GetListEntry($ctrl, SHR:People, $qualifier, 0, 0); If (%entryList) { # The person record is found } Else { # person is not found } HTH, Thomas Worth IT