FIND mode not working
Syed Shahul Hameed Mustaffa
sshahulgm at gmail.com
Thu Jul 21 03:47:46 CDT 2005
Dear Joe,
I cannot remove the existing FIND procedure. There are application
logic built into it.
I am explaining the scenario in a better fashion underneath. I'm
trying as much not to confuse. If u still require the code (which is
simple), I'll post it.
In the original code, the FIND procedure calls an internal procedure
called GETPARAMS.
This procedure contains the REQUEST statements. Based on what I enter
on the REQUEST fields, a temporary variable called TCOMPUTER is set to
a value.
With this code, when i execute the screen and try to select FIND mode,
it does not work. However when, I moved the GETPARAMS procedure to the
PATH procedure, I can get the screen in select mode. I can enter the
parameters and everything seems to be ok. But the problem starts when
I hit the ENTER Key to initiate the data retrieval. The TCOMPUTER
value set by the PATH procedure gets lost (reset to 0) when the
control reaches the FIND procedure. In the find procedure, I have a
GET statement that uses this TCOMPUTER to search for records. I tried
hardcoding the TCOMPUTER value that I lose on the transit, and the
search works fine. I searced in vain for any intermediate code that
resets the value of TCOMPUTER.
Pls. give me some insight about what happens between PATH and FIND
procedure calls.
Thankyou somuch.
Syed
On 7/20/05, Joe Boyle <atla38 at dsl.pipex.com> wrote:
> Hi Syed,
>
> You don't give any details of the access syntax you have coded against the
> table so it is difficult to suggest much.
>
> Try clicking on the path icon to create one; incidentally why do you think
> that there isn't one and have you coded your own find procedure ?
>
> As for the 'list detail' equivalent, you have to turn (or it is easier if
> you turn on) 'keep temp files' in the build profile. You then add syntax
> like ' set list sql list transaction detail procedures' into the set
> statement of the screens identity tab. You then commit the repository and
> then recompile the screen. I believe that the procedural code will then be
> found in the .qkr file in the build location.
>
> Regards, Joe.
>
>
> -----Original Message-----
> From: powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com
> [mailto:powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com] On Behalf Of
> Syed Shahul Hameed Mustaffa
> Sent: 20 July 2005 15:37
> To: Joe Boyle
> Cc: powerh-l at lists.sowder.com
> Subject: FIND mode not working
>
> Dear Joe,
>
> In a screen I have a FIND procedure. However the FIND mode is not working.
> I found that there is no PATH procedure. Have you encountered such a
> scenario?
>
> Dear Gurus,
>
> If there is anyone who has encountered this scenario, pls help.
>
> Regards,
> SYED.
>
> --
> = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Mailing list: powerh-l at lists.sowder.com
> Subscribe: "subscribe" in message body to powerh-l-request at lists.sowder.com
> Unsubscribe: "unsubscribe <password>" in message body to
> powerh-l-request at lists.sowder.com
> http://lists.sowder.com/mailman/listinfo/powerh-l
> This list is closed, thus to post to the list you must be a subscriber.
>
>
More information about the powerh-l
mailing list