Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
>>Sorry if I am bringing up a subject that has been dealt with before, but search didn't reveal anything. Googling hasn't revealed any solutions either.
>>
>>I have a grid, and in the RightClick of Header1 of Column1 I have an Append Blank to add a new record to the grid. I need to SetFocus to the Column1.Text1, so the user can enter new info. I can see the new record pop into the grid, as it has a checkbox in one column, but no matter what I do, the cell/row will not 'get focus'. Any help will be most appreciated!
>>
>>Thank you!
>
>John,
>
>I am with numerous others, grids are no good to append and edit data. People tend to believe vfp grids are same like Excel sheets, but nothing like that at all.
>
>Now if you do want to make use of a grid and also would like to append / edit the data, the very best solution is to construct a grid with above (Excel like) or underneath textboxes which the enduser can use to edit/append data.
>
>There are several examples how to do this in the vfp solution samples but if you are still uncomfortable than I would suggest to upload here your cursor/table rowsource for your grid and I could produce a working example for you.
>
>Regards,
>Koen
So I am an odd man out BUT I have apps that have been running for in excess of 20 years and they include a successful implementation of grids as input forms. I grant it was not easy but to simply say DO NOT DO IT is wrong. Better to say difficult but doable.
Ken
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement