![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 6 of 6 total |
![]() |
Mon, Dec 17 2007 3:09 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | Does anyone have an example of a working External modules - functions or procedures to supplement the information in the manual?
Roy Lambert |
Mon, Dec 17 2007 3:24 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | PS I mean in a dll, not an sql one
Roy Lambert |
Mon, Dec 17 2007 4:29 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | Playing around I created
function SpacelessCompare(const StrIn, StrComp:string):boolean; begin showmessage(StrIn+' ... '+StrComp); end; The problem is it just shows StrIn for the first record in the table, for the number of times there are rows in the table. I'm passing values to this function usingSpacelessCompare( Params[0].AsString, Params[1].AsString); help... Roy Lambert |
Mon, Dec 17 2007 6:03 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | I think I have it sused apart from the fact that it doesn't work. What's being passed in as Params.FindParam('Phone').AsString is always record 1
function SpacelessCompare(const StrFld, StrComp: string): boolean; begin Result := StringReplace(StrFld, ' ', '', [rfReplaceAll]) = StringReplace(StrComp, ' ', '', [rfReplaceAll]); end; procedure TEDBExternalModule1.EDBExternalModuleRoutine( const RoutineName: string); begin if LowerCase(RoutineName) = 'spacelesscompare' then Params.FindParam('Result').AsBoolean := SpacelessCompare(Params.FindParam('Phone').AsString, Params.FindParam('TestAgainst').AsString); end; Roy Lambert |
Mon, Dec 17 2007 3:48 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Roy,
<< I think I have it sused apart from the fact that it doesn't work. What's being passed in as Params.FindParam('Phone').AsString is always record 1 >> See here: http://www.elevatesoft.com/scripts/newsgrp.dll?action=openmsg&group=16&msg=3469&page=1#msg3469 -- Tim Young Elevate Software www.elevatesoft.com |
Tue, Dec 18 2007 3:48 AM | Permanent Link |
Roy Lambert NLH Associates ![]() | Tim
Roll on 1.07 Roy Lambert |
This web page was last updated on Wednesday, August 14, 2024 at 03:12 PM | Privacy Policy![]() © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |