Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

grid seek, next prev

38 views
Skip to first unread message

beta

unread,
May 5, 2010, 6:47:48 AM5/5/10
to
Hello,

i have form used grid for appears any data example:
-----------------------------
| No| kode | name |
-----------------------------
| 1. | ba | abate |
| 2. | aa | akina |
| 3. | aab | kirna |
| 4. | ca | kkkkkk |
-----------------------------

i want search kode=aa with my programming: seek ba and find this kode.
but cursor/pointer in grid exist at no=1, kode=ba.
att. i used condition thisform.pageframe1.cari.grid1.allowcellselection = .t.

please help solve my problem for cursor/pointer in grid at no=2, kode=aa and
press button next cursor in grid moved at no=3, kode=aab ?

thank's a lot.
beta

tom knauf

unread,
May 5, 2010, 9:45:31 AM5/5/10
to
Hello,

sorry, not sure to understand your problem.

You can find a value by setting an index to it (Index on kode tag kode) and
seeking (Seek "aa") or have a look on LOCATE in the help. Have a look on set
exact, set near , too.
For next/previous its skip/skip-1

HTH
Tom


"beta" <be...@domain-xyz.in> schrieb im Newsbeitrag
news:1_6dnVF42vp...@giganews.com...

0 new messages