Subject | Re: [IBO] How to access fields from the current row of a tib_query |
---|---|
Author | Helen Borrie |
Post date | 2004-04-27T08:38:28Z |
At 09:53 AM 27/04/2004 +1000, I wrote:
function MyDM.AccountExists(inputstring: string): Boolean;
...
>function MyDM.AccountExists(inputstring: string): string;Duh.
function MyDM.AccountExists(inputstring: string): Boolean;
...
>with sqCheckAccount doHB
>begin
> if not prepared then prepare;
> Params[0].AsString := MyVariable;
> Execute;
> Result := Fields[0].AsBoolean;
>end;