Hey all..
in VFP6.0, i'm using a combobox with an SQL statement as rowsource and i'm putting the results into a cursor (SELECT ... FROM ... INTO CURSOR curlevels ORDER BY ckey). then i'm setting a relation from the cursor into a table (select curlevels; set relation to curlevels.ckey into scores). i have that relation set in the combobox.init(), but as soon as that event is done, the relation disappears! then i reset it elsewhere, but as soon as i requery the combobox, the relation disappears again. it's to the point that the only way i can keep the relation is to reset it after the requery.
is this just what i have to do? is there some strange cursor or combobox behavior that i don't know about (probably)? any help would be appreciated.
thanks,
-- thatguy~
in VFP6.0, i'm using a combobox with an SQL statement as rowsource and i'm putting the results into a cursor (SELECT ... FROM ... INTO CURSOR curlevels ORDER BY ckey). then i'm setting a relation from the cursor into a table (select curlevels; set relation to curlevels.ckey into scores). i have that relation set in the combobox.init(), but as soon as that event is done, the relation disappears! then i reset it elsewhere, but as soon as i requery the combobox, the relation disappears again. it's to the point that the only way i can keep the relation is to reset it after the requery.
is this just what i have to do? is there some strange cursor or combobox behavior that i don't know about (probably)? any help would be appreciated.
thanks,
-- thatguy~