Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Refresh in VFP6 SP5
Message
From
15/12/2001 04:30:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00594545
Message ID:
00594773
Views:
18
>Hi All,
>
>I have a grid that displays child records controlled by a table buffered parameterized view. The parent information is displayed above the grid. There are buttons to add, edit, or delete the child record. When I click on Delete, and affirm the delete request, I expect the selected record to vanish -- it doesn't.
>
>What am I doing wrong?
>
>The Code (after the confirmation message):
>
>lcChildTable = This.Parent.grdChldRecs.RecordSource
>
>DELETE IN (lcChildTable)
>
>This.Parent.grdChldRecs.Refresh()
>
>
>
>Thanks for any help or insight.
>
>
>Robert

Robert,
-Move off the deleted record
-Be sure another alias is selected (ie: parent)
-Refresh
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
Previous
Reply
Map
View

Click here to load this message in the networking platform