Re: Making a simple form work !!!

From: Matt B. <mcb_at_ds.znet.com>
Date: Thu, 14 Dec 2000 06:49:49 -0800
Message-ID: <t3hndht2if4r01_at_corp.supernews.com>


"P B" <pbeliveau_at_avcorp.com> wrote in message news:3a38d72b.772110055_at_nntp.uunet.ca...
> OK, that I can figure out. This is not my problem.
>
> When I'm executing a form, I have to push the ENTER_QUERY button, them
> enter a value and them push the EXECUTE_QUERY button for the form to
> retreive the data of the row.
>
> What I want, it's to do that automatiquely, meaning, when I click on
> the field where I enter a primary key, I want to be in ENTER_QUERY
> "mode" automatiquely and when I'm pressing ENTER to move to the next
> field, I want the EXECUTE_QUERY to also be done automatiquely
>
> Thanks

Put the primary key field in a separate non-database block and it'll be the only field in the block. Make sure your block properties are set to "change block" for navigation style. Make the next block your actual database block and on when-new-block-instance, set your default where clause of your database block to be equal to the value in your non-database block, and then programmatically do an execute_query.

-Matt Received on Thu Dec 14 2000 - 15:49:49 CET

Original text of this message