Help: Simple Filter Question Part 2 
Author Message
 Help: Simple Filter Question Part 2

I have a form with a table showing Department Numbers and Descriptions
on it.  I have a drop down edit box with all the department numbers on
it.  Attached to the Pull down edit box I have this code attached.

method changeValue(var eventInfo ValueEvent)
var
        theFilter DynArray[]anytype
endvar
        theFilter["Dept"] = self.value
        Dept.setGenFilter(theFilter)    
endmethod

On the Table I have the field for Dept labeled Dept.
When I choose a value from the Pull own edit box it doesn't filter the
table, however when I choose a value a second time and tab off the
field the table filters for the value I chose the first time.

Does that make any sense?????

Could someone please tell me what a schmuck I am and also what I'm
doing wrong.

Thanks,



Tue, 07 Jul 1998 03:00:00 GMT
 Help: Simple Filter Question Part 2

: I have a form with a table showing Department Numbers and Descriptions
: on it.  I have a drop down edit box with all the department numbers on
: it.  Attached to the Pull down edit box I have this code attached.

: method changeValue(var eventInfo ValueEvent)
: var
:       theFilter DynArray[]anytype
: endvar
:       theFilter["Dept"] = self.value
:       Dept.setGenFilter(theFilter)    
: endmethod

: On the Table I have the field for Dept labeled Dept.
: When I choose a value from the Pull own edit box it doesn't filter the
: table, however when I choose a value a second time and tab off the
: field the table filters for the value I chose the first time.

: Does that make any sense?????

Yes, perfectly.

What you need to do is instead of changevalue, you need to put this in
the NEWVALUE method.

--
=========================================================================
Kasey K. S. Chang (a guy)             | Paradox for Windows Programmer

URL> http://userwww.sfsu.edu/~kschang | X-COM Guru   General PC expert
--------------------------------------+----------------------------------
Editor of XCOM and XCOM2 UN-official Strategy Guide -- FREE!  (See URL)



Sat, 11 Jul 1998 03:00:00 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. Help: Simple Filter Question

2. Advanced MDX Question: Filter on Member Property Part II

3. Simple Question Part 2

4. Real Simple SQL DateTime question - Part II

5. Very simple question: Filtering out Null values

6. HELP! simple question need simple answer

7. Query Help! (A Simple Filtering Problem)

8. SQL7, SIMPLE SIMPLE SIMPLE question

9. HELP: A Simple VB5 Question :HELP

10. Profile of of a DBA - part System Admn / Part Network Admin / Part Web Admin

11. Master Parts/Sub Parts/Sub-Sub Parts

12. precision parts, bicycle parts, optical parts, electronic components


 
Powered by phpBB® Forum Software