Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 2 of 2 total |
Another function parameters question |
Sun, May 27 2007 9:53 AM | Permanent Link |
Roy Lambert NLH Associates Team Elevate | What about defaults eg
function TEXTSEARCH(const SearchWords, SearchText: string; CaseSensitive: boolean): boolean; What I'm starting to do is if AnsiCompareText(RoutineName, 'TEXTSEARCH') = 0 then Result := TEXTSEARCH(Params[0], Params[1], Params[2]); and I suddenly thought 90%+ of the time I'm going to want case insensitive so in the SQL can I type TEXTSEARCH('search for this',textfield) and have function TEXTSEARCH(const SearchWords, SearchText: string; CaseSensitive: boolean = True): boolean; I'm guessing the answer is NO. If I don't get an answer by the time I've written my function I might have a go and see what I can blow up Roy Lambert |
Tue, May 29 2007 3:07 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Roy,
<< What about defaults eg >> No, you can't define defaults for parameters at this time in EDB, only variables. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |