Search a Record [message #87712] |
Thu, 03 February 2005 02:13 |
JOHN
Messages: 182 Registered: April 1998
|
Senior Member |
|
|
Hi!
I have a master block(say EMP) and a control block. My master block is showing all records (order by primary key,say EMPNO) and when I place my cursor on a record that particular record details are showing in control block. I have thousands of records. If I want to search a record from the master block by just key in starting few letters, how can I move my cursor to the partcular record.
For eg, I have the EMP records with EMPNO from 1000 to 5000. I want to see from EMPNO 2200 onwards. So I want to key in just 22, and I should get the records from 2200 onwards.
Right now I created a temp item(EMPNO) and a button(View). But I don't know using code how to move my cursor to master block when I key in something and press View button. For some reasons I don't want to change the DEFAULT_WHERE condition.
Can anybody help me?
Thanks in advance.
John
|
|
|