Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert at mygrid
Message
De
18/04/2005 03:26:14
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
 
 
À
18/04/2005 02:36:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Divers
Thread ID:
01005415
Message ID:
01005682
Vues:
25
Is this the code that adds the record to Grid2? If so its because the table used as the record source still has the fist record in it you need to clear down the temp table before adding the new record.
with thisform.Grid1
* before the appen blank delete everything in the temp table
SELECT temp
DELETE ALL
APPEN BLANK
REPLACE temp.typ WITH THISFORM.GRID2.column1.text1.VALUE
.Recordsource = .Recordsource
ENDWITH
GO top
thisform.grid1.refresh



>hi,
>thank you for reply,
>i try but still same,
>the problem as under...
>
>i see at mygrid as ex. this item have
>io2
>io3
>io4
>io5
>if i choice io2 i see at another grid io2 ,ok
>but if i choise io3,i see io2 and io3,
>i need to insert just i03 at another grid,whay it take 2 items
>
>
>this is the code
>
>set exact on
> set near off
>select 3
>
>with thisform.Grid1
>APPEN BLANK
>REPLACE temp.typ WITH THISFORM.GRID2.column1.text1.VALUE
>.Recordsource = .Recordsource
>ENDWITH
>GO top
>thisform.grid1.refresh
>
>
>
>thanks
>>try
>>
>> set exact on
>> set near off
>>
>>before your code
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform