The L function finds the length of a string when used as L(string) or it finds 
the index of a string within a string when used as L(firststring,stringtofind). 
 If your /FAXNO variable contains a string it is looking for the index of that 
string.

-- 

Bill Palmer
Financial Coordinator, Information Sys
Mid-Columbia Medical Center
The Dalles, OR 97058
541-296-7417

>>> On 3/13/2007 at 9:01 am, in message
<[EMAIL PROTECTED] 
net>, "Wegenast, Steve" <[EMAIL PROTECTED]> wrote:
> Hi L'ers,
> I created a report to find a text string (dial string. mnemonic or
> company) in the MIS recipient dictionary.  I'm using the Locator
> function in a computed field as a select as follows:
>  
>  
> xx.sel
>  
> DAT=INT
> JFY=R
> LEN=1
> VAL=IF{L(@mnemonic,/FAXNO)'=L(@mnemonic) 1;
> VAL=L(@company,/FAXNO)'=L(@company) 1;
> VAL=L(@dial.string,/FAXNO)'=L(@dial.string) 1;""}
>  
> The problem is that it's inconsistent in what it returns.  For example,
> I'll enter part of a mnemonic that I know is in the dict but it won't
> find anything. But I can enter another partial string of a dictionary
> record and it will find that.
> Would anyone see anything wrong with the attribute above or know why
> this would be inconsistent?
>  
> Thanks,  Steve
>  
>  
>  
> Steve Wegenast <><
> Systems Analyst - Mcp, Net+, A+
> Saint Francis Medical Center
> Grand Island, NE
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
> 308-398-5576
> I love technology, always and forever...
>  
> Jesus Christ is life. The rest is just details!
>  
>  


=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
To subscribe or unsubscribe to the meditech-l, visit MTUsers.COM.

To check the status of the meditech-l, visit MTUsers.NET.

For help, email [EMAIL PROTECTED]
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to