>>The lostfocus won't be the problem in this case. Make sure table1 is open before the listbox instantiates.
>
>This prob still plagues me:
>In the form's init I have:
>sele 10
>use trans excl
>zap
>In the lostbox rowsource I have:
>select price,quantity,noun,detail from trans INTO CURS PTEMP
>and the rowsource type=3
>and still "Cannot access selected table"
Close the table after zapping. Also, it is safer to select 0, instead of 10: this will select a free area. Also, don't abbreviate too much, since this makes your code difficult to read.
select 0
use trans exclusive
zap
use
Saludos, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)