Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Editing in a grid
Message
From
28/02/2007 13:01:36
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01199463
Message ID:
01199689
Views:
15
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform