Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add record in grid
Message
De
22/08/1999 12:39:03
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/08/1999 03:40:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00256366
Message ID:
00256403
Vues:
21
>First of all, thanks a lot of your response !
>
>the controlsource of grid is table, and buffer mode=5, I would like
>to the grid can automatic add blank record while the user press entry
>in last grid column.
>
>
>>>How to add record when the cursor lost focus in last column?
>>
>>More information please...
>>
>>Is the record source of the grid a table, a view, or a cursor ??? Is the record source updatable, and is it still selected ???
>>
>>Regards,
An easy way of doing it :
-Set grid.allowaddnew = .t.
-Lostfocus of last column.control
go bottom in (this.parent.parent.recordsource)
keyboard "{DNARROW}"

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform