![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
How are people handling multi-row viewing and editing these days? Browse, grid, something else? I need to have full validation. I expect that I will use the dbc for the validation, but would like the option to not have to 9as I might have some use that does not use database tables). If VFP version makes a difference, please specify that. I am using VFP 6 SP 5. Sincerely, Gene Wirchenko Computerese Irregular Verb Conjugation: I have preferences. You have biases. He/She has prejudices. |
#3
| |||
| |||
|
|
I use the grid which has a VALID method available for each column's input control. I also find myself using AfterRowColChange at the grid level to detect movement from one record to another and to take any necessary action such as updating controls that are not being displayed in the grid itself. |
#4
| |||
| |||
|
|
How are people handling multi-row viewing and editing these days? Browse, grid, something else? I need to have full validation. |
#5
| |||
| |||
|
|
"Gene Wirchenko" <genew (AT) mail (DOT) ocis.net> wrote in message news:0311g0dq2dtag4v06fdgr4g7hrv29jblp2 (AT) 4ax (DOT) com... How are people handling multi-row viewing and editing these days? Browse, grid, something else? I need to have full validation. Forget the BROWSE, it is there more for backward compatibility than anything else - you are better off using the grid. But I'm of the opinion that while grids are fine for viewing multiple records, they are a poor interface for editing. [When you're editing, prior or subsequent records should generally not be part of your focus]. Instead, I use a read only grid and individual (read/write) controls to echo (and edit) the currently selected record. |
|
Others prefer to edit directly in the grid, but validation becomes more complex. |
|
You might check the FoxPro Wiki (as well as various framework sites) for more discussion on this - it is a recurring topic. |
#6
| |||
| |||
|
|
"Jeff Grippe" <jgrippe (AT) hilldun (DOT) com> wrote: I use the grid which has a VALID method available for each column's input control. I also find myself using AfterRowColChange at the grid level to detect movement from one record to another and to take any necessary action such as updating controls that are not being displayed in the grid itself. How do you enforce row-level validation? |
| If you want to prevent moving the pointer / active row, try |
#7
| |||
| |||
|
|
"Gene Wirchenko" <genew (AT) mail (DOT) ocis.net> wrote in message news:0311g0dq2dtag4v06fdgr4g7hrv29jblp2 (AT) 4ax (DOT) com... How are people handling multi-row viewing and editing these days? Browse, grid, something else? I need to have full validation. Forget the BROWSE, it is there more for backward compatibility than anything else - you are better off using the grid. But I'm of the opinion that while grids are fine for viewing multiple records, they are a poor interface for editing. [When you're editing, prior or subsequent records should generally not be part of your focus]. Instead, I use a read only grid and individual (read/write) controls to echo (and edit) the currently selected record. Others prefer to edit directly in the grid, but validation becomes more complex. You might check the FoxPro Wiki (as well as various framework sites) for more discussion on this - it is a recurring topic. - Rush |
![]() |
| Thread Tools | |
| Display Modes | |
| |