Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a new record in a grid with filtered recs
Message
From
08/11/2002 13:40:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00720430
Message ID:
00720437
Views:
10
>Good day!
>I have a grid inside a form that pulls in only records that match the date in a text box (that is also on the form). I use "Set Key To Range" to accomplish this and I would like the user to be able to add a new record to the grid and have it refresh so they can enter in the data.
>
>When I use 'append blank' and on the next line 'ThisFrom.Grid1.refresh' there is a new record inserted into the table but the grid does not show this record because it's a blank record and thus no date for it to be pulled into the grid.
>
>Can anyone please help me with the proper syntax to get it to work?
>Thank you!
>Max

Set key to
or:
Insert .... (datefield) values (filtereddate)

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
Next
Reply
Map
View

Click here to load this message in the networking platform