Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid: Some records shouldn't be selected
Message
From
25/10/2006 04:56:19
 
 
To
25/10/2006 04:22:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01164272
Message ID:
01164279
Views:
13
>I have data in a table like this.
>
>-------------------------------------
>|AC_NO   |   AC_TITLE      |AC_LEVEL|
>-------------------------------------
>|1       |ASSET            | 1      |
>|1-01    |CURRENT ASSET    | 2      |
>|1-01-001|SOME OHTER A/C   | 3      |
>|1-02    |NON-CURRENT ASSET| 2      |
>|1-02-001|SOME OHTER A/C   | 3      |
>
>
>I have this data in a Grid.
>Here i want the only AC_LEVEL = 3 be selected by mouse of by keyboard.
>If I select AC_LEVEL = 1 or 2, the cursor should automatically move to next or previous available record (which is AC_LEVEL = 3).
>
>Please help me on this.

Seek (or Locate, if no index on AC_LEVEL) the next record in the cursor/table, when the level is selected, and grdYourGrid.Refresh()
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform