Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert at mygrid
Message
De
18/04/2005 04:13:19
 
 
À
18/04/2005 04:03:53
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
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:
01005694
Vues:
20
hi,
thank you for reply,
if you have a time.
can i sent what i want via your email,as attachment.
thanks.
>You said - "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"
>
>but you also say - "but i want to insert many items,no need for delete operation"
>
>I dont understand what you want to do?
>
>If you have grid1 and select a record it goes into grid2?
>
>Please explain again.
>
>
>
>
>>hi,
>>thank you for reply,
>>still, the code insert 2 items at my grid ,but the first 1 marked to delete,
>>but i want to insert many items,no need for delete operation,
>>thank you
>>
>>>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