Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert at mygrid
Message
From
18/04/2005 03:26:14
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
 
 
To
18/04/2005 02:36:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01005415
Message ID:
01005682
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform