Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid refresh
Message
 
 
To
20/09/1999 09:07:27
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00266667
Message ID:
00266766
Views:
20
Try to look at the controlsource of each column in the grid. I would suggest you to use fields as your controlsource.

>Hello:
>
> >I have a form with a grid that is populated from input
> >from another form.
> >
> >When I'm adding records on my form my grid displays
> >2 of the fields of the record correctly in the grid but displays
> >the last record that was input in the other 3 fields
> >which are using variables as the record source. So all 3 records
> >I have input have 2 unique fields but 3 fields with the same value
> >(name, address and phone number)
> >
> >I have placed this code in the interactivechange method
> >in the text of each column in the grid.
> >
> >This.parent.grid1.column.refresh
> >
> >But still not refreshing properly,
> >
> >The three variables are the control source for three
> >of the fields on my input form. when they are filled on
> >this form I do a replace statement to update the table
> >
> >replace client.surname with csurname
> >replace client.firstname with cfirstname
> >replace client.cphone with cphone
> >
> I am doing this in the valid of the textboxes on the form.
> >Any idea why these three variables are displaying the last record input for
> all records?
> >Any help would be appreciated. Thanks
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Reply
Map
View

Click here to load this message in the networking platform