Got it to work the way I wanted.

Had to change my variable vTmpWhere clause to use literal  (‘Where Column1 = ‘ 
+ Ctxt(.ve1))   instead of my original which used dotted variable in where 
clause (‘Where Column1 = .ve1’).
My original changed the listview when ve1 changed!.  The new one does not 
change until I put in a new where clause.

Rbase was doing exactly what I told it to!

Thank you all for your help.
Lena

From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen
Sent: Monday, January 17, 2011 12:28 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Variable ListView control behavior

Lena,

Then the next thing to do is SET TRACE ON and watch very carefully to see what 
happens and when.

Jan



-----Original Message-----
From: Lena Dammstrom <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Mon, 17 Jan 2011 12:20:10 -0600
Subject: [RBASE-L] - Re: Variable ListView control behavior
Jan,
This form was created totally from scratch (no copy/paste).  I even tried 
deleting the listview control and creating control over again.
I guess recreating this form is not so bad for the few controls I have, but if 
it were a more complex form….

Lena
From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen
Sent: Monday, January 17, 2011 12:13 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Variable ListView control behavior

Lena,

Sometimes I've had weirdness with the ListView control.
When it just totally doesn't do what is expected - recreate the form.
Don't copy the listview from somewhere else.

Jan




-----Original Message-----
From: Lena Dammstrom <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Mon, 17 Jan 2011 11:44:14 -0600
Subject: [RBASE-L] - Variable ListView control behavior
Good day.

I have a simple form that has:
2 variable edit controls - ve1 and ve2
1 var lookup ListView
1 Bit Button – which calls a Form_Action  - which creates where clause and sets 
property for ListView
    vTmp = Where Column 1 = .ve1 and Column2 = .ve2
    Property ListView LookupWhereClause = .vtmp
    Property ListView RefreshList ‘True’

My intent is to allow user to enter data into BOTH ve1 and ve2, push the bit 
button to get results int o ListView.

What is happening after the first initial request is, any change to either  ve1 
or ve2;  is trigging the ListView to refresh without pushing the button.
I have no eeps for either ve1 or ve2.  I’ve tried setting Property ListView 
RefreshList ‘FALSE’

What I am missing to avoid the listview from refreshing before the button is 
pressed to say ‘Get Results’?


Thank you in advance for any clues/tips….

Regards,
Lena
X1037

Reply via email to