Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Editing in a grid
Message
De
28/02/2007 13:01:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01199463
Message ID:
01199689
Vues:
16
>>What, you mean to test for a new ly added rec?
>
>Yes, in buffered mode new records have negative recno().

Yes, I knew that. What I've done here (for now anyway) is set thisform.lNewGridRec = .T. when the add button is pressed, then (intend to) test for this at BRCC(). But when press Edit button, (intend to) sets thisform.lEditGridRecs and tat will allow grid nav. When save grid both flags are cleared.

SO that's for tomorrow now, it's home time for me.

>
>A while ago I implemented editing in grid in one of my applications. I think it was a bit tricky and I also implemented some validations. I had a special grid textbox class and a special grid class...


Hmmm, I may just have to go that way - we'll see.
- 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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform