Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jamie Osborn
  Where is Jamie Osborn?
 Melbourne
 Australia
 Jamie Osborn
 To: CF
  Where is CF?
 Colmar
 Pennsylvania - Poland
 CF
 Tags
Subject: RE: list contol in a grid
Thread ID: 22292 Message ID: 22336 # Views: 1 # Ratings: 0
Version: Visual FoxPro 7 Category: Grids
Date: Wednesday, April 16, 2003 1:42:17 AM         
   


> > > Hi all,
> > >
> > > I put a list inside a column of my grid and I can choose form the list but when I change the row or column the value is cleared out. I set the row source as a cursor and the controlsource as a temp table.
> > >
> > > Any advice?
> > >
> > > Thanks,
> >
> > Do you mean that the controlsource is a field in the temp table ? It should be.
> > When you change rows, browse the temp table and see what value has been stored in the controlsource field.
> >
> > Cheers,
> > Jamie
> > jamie.osborn@foxite.com
>
> Do you know if the list box will display the original value from the temp table if it has not yet been touched?

I'm not quite sure what you mean. The listbox contains a list of items that come from the rowsource. The controlsource is the field in the table that you want to be updated with the value from the listbox (ie. the field in the temp table). The value of the listbox is determined by the boundcolumn value.

IF that doesn't help - can you list the makeup of the two tables and which field you want to be updated in the temp table ?

Cheers,
Jamie
jamie.osborn@foxite.com

COMPLETE THREAD

list contol in a grid Posted by bleech67 toms @ 4/14/2003 10:20:51 PM
RE: list contol in a grid Posted by Jamie Osborn @ 4/15/2003 12:11:08 PM
RE: list contol in a grid Posted by bleech67 toms @ 4/15/2003 5:01:13 PM
RE: list contol in a grid Posted by Jamie Osborn @ 4/16/2003 1:42:17 AM