Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a new record in a grid with filtered recs
Message
 
 
To
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:
00723025
Views:
9
Thanks Cetin! Just what I was looking for!
Max

>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
MS Foxpro MVP, MCP
Welcome to FoxyClasses
Türkçe bir Foxpro sitesi Fox4um
Previous
Reply
Map
View

Click here to load this message in the networking platform