Problems with variables in Power Objects

From: Gordon E. Hooker <gordonh_at_acslink.net.au>
Date: 1996/03/10
Message-ID: <314221e0.1697017_at_nntp.peg.apc.org>#1/1


rpd_at_stud.hibo.no (Roy Viggo Pedersen) wrote:

Are you declaring the variable as global, DIM var in the Declarations Method of the Application.

>Hi,
>
>We are doing a school project in Oracle Power Objects, and we use
>Personal 7 database. We're having problems with variables in
>conditions.
>
>What we want is to select a particular record (for that specific user)
>when we load a form. We read in the username from a file into a
>variable (global) in the applications 'Onload' property, and use this
>variable in the form to select the users record with a call to
>QueryWhere in the OpenWindow property. But, no matter how and where we
>use it, it doesn't work... it only selects the first record. If we
>substitute the variable with a string in the query, it works fine.
>What are we doing wrong? Anybody got a solution?
>
>Roy
>
>
>
>Roy Viggo Pedersen <rpd_at_sn.no> The Speaker Building Page:
>http://web.hibo.no/~rpd/ http://web.hibo.no/~rpd/Speaker/
>

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Gordon E. Hooker MACS PCP
25 Clarke Street Ripley Queensland Australia Phone 61-7-32940555
Email gordonh_at_acslink.net.au
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ We are just two lost souls living in a fish bowl Year after year

Pink Floyd Received on Sun Mar 10 1996 - 00:00:00 CET

Original text of this message