Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid not displaying even after the recordsource trick
Message
From
14/09/1999 11:01:26
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
 
 
To
13/09/1999 16:21:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00264196
Message ID:
00264464
Views:
23
>we start off with an empty table and a grid form.
>
>To add a record to the grid, the user hits the 'add/edit' button and this runs a form which lets them add a record and enter the data with the all the space they need and the validation I can put on a form much more easily than in a grid.
>
>However, when the form is closed and we return to the grid form, all we see is a blank record. (so at least it 'knows' that we've added one - it just won't show the values)
>
>The debugger tells me that we have successfully added the record and that its values are as entered.
>
>This despite doing a [jgrid.recordsource='' ] BEFORE running the add/edit form and a
>[jgrid.recordsource="journal" ] and a form refresh, after the add/edit form has done its thing...
>
>so why no show?
>
>Harry

I recently solved a similar problem by making sure to SetFocus away from the grid before refreshing it. As long as Focus was on the grid it wouldn't refresh.
Elyse Pomerantz
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform