PDA

View Full Version : onAfterFindbyRowId and lookup



Bob Worsley
2-Sep-2007, 08:03 PM
I've created an "external" lookup (vdfAttachedFields) which by itself works
fine, and I need to take an action based on the value that is being returned
from the lookup. The problem is that the only hook I know of is
onAfterFindByRowId and that happens too early -- onAfterFindByRowId happens
before the field is populated with the value from the lookup. Is there
another event that I could use? I have tried an onBlur but I'm not thrilled
with the way that works.
Bob

Harm Wibier
3-Sep-2007, 04:30 AM
Hello Bob,

We haven't got a hook for this situation. Should a onBeforeSelect and a
onAfterSelect on the VdfLookupDialog be the sollution for this problem? You
should also be able to do this by creating the lookup the hard way (by
creating an external asp file).

--
Regards,


Harm Wibier
Data Access Europe B.V.
http://www.dataaccess.nl/


"Bob Worsley" <bworsley@comcast.net> wrote in message
news:JQtM7Xc7HHA.4676@dacmail.dataaccess.com...
> I've created an "external" lookup (vdfAttachedFields) which by itself
> works
> fine, and I need to take an action based on the value that is being
> returned
> from the lookup. The problem is that the only hook I know of is
> onAfterFindByRowId and that happens too early -- onAfterFindByRowId
> happens
> before the field is populated with the value from the lookup. Is there
> another event that I could use? I have tried an onBlur but I'm not
> thrilled
> with the way that works.
> Bob
>
>
>

Bob Worsley
3-Sep-2007, 07:11 AM
Those hooks would be great. That would be similar in VDF to having a
procedure prompt that could be augmented. I will look at the external
version...
Bob

"Harm Wibier" <harm.wibier@dataaccess.nl> wrote in message
news:PyG1%23zg7HHA.752@dacmail.dataaccess.com...
> Hello Bob,
>
> We haven't got a hook for this situation. Should a onBeforeSelect and a
> onAfterSelect on the VdfLookupDialog be the sollution for this problem?
You
> should also be able to do this by creating the lookup the hard way (by
> creating an external asp file).
>
> --
> Regards,
>
>
> Harm Wibier
> Data Access Europe B.V.
> http://www.dataaccess.nl/
>
>
> "Bob Worsley" <bworsley@comcast.net> wrote in message
> news:JQtM7Xc7HHA.4676@dacmail.dataaccess.com...
> > I've created an "external" lookup (vdfAttachedFields) which by itself
> > works
> > fine, and I need to take an action based on the value that is being
> > returned
> > from the lookup. The problem is that the only hook I know of is
> > onAfterFindByRowId and that happens too early -- onAfterFindByRowId
> > happens
> > before the field is populated with the value from the lookup. Is there
> > another event that I could use? I have tried an onBlur but I'm not
> > thrilled
> > with the way that works.
> > Bob
> >
> >
> >
>
>
>

Per Thomson
13-Sep-2007, 06:59 AM
Yes,
I agree! Any posibility that this can be real in v1.1 ?
Per T.

"Bob Worsley" <bworsley@comcast.net> wrote in message
news:Bz8LcNi7HHA.4676@dacmail.dataaccess.com...
> Those hooks would be great. That would be similar in VDF to having a
> procedure prompt that could be augmented. I will look at the external
> version...
> Bob
>
> "Harm Wibier" <harm.wibier@dataaccess.nl> wrote in message
> news:PyG1%23zg7HHA.752@dacmail.dataaccess.com...
>> Hello Bob,
>>
>> We haven't got a hook for this situation. Should a onBeforeSelect and a
>> onAfterSelect on the VdfLookupDialog be the sollution for this problem?
> You
>> should also be able to do this by creating the lookup the hard way (by
>> creating an external asp file).
>>
>> --
>> Regards,
>>
>>
>> Harm Wibier
>> Data Access Europe B.V.
>> http://www.dataaccess.nl/
>>
>>
>> "Bob Worsley" <bworsley@comcast.net> wrote in message
>> news:JQtM7Xc7HHA.4676@dacmail.dataaccess.com...
>> > I've created an "external" lookup (vdfAttachedFields) which by itself
>> > works
>> > fine, and I need to take an action based on the value that is being
>> > returned
>> > from the lookup. The problem is that the only hook I know of is
>> > onAfterFindByRowId and that happens too early -- onAfterFindByRowId
>> > happens
>> > before the field is populated with the value from the lookup. Is there
>> > another event that I could use? I have tried an onBlur but I'm not
>> > thrilled
>> > with the way that works.
>> > Bob
>> >
>> >
>> >
>>
>>
>>
>
>
>