Dear David,
>Which specific line gives you the error?
In Form.Init, the line that sets the RowSource :-
>> THISFORM.cboProductList.RowSource = lcProduct+'.Name,Contents,Product_ID'
This is also done in cboProductList.Init. Here it works OK and we get the desired records into the list.
If I set it againg in Form.Init, the Syntax Error occurs. Well, just to see if it goes on, I Ignored. The rest of the program works fine, but the cbo is empty (no list).
This problem only happens if I run the EXE version. If I Run Form from within VFP, everything's perfect, including all the records in the cbo.
David, this looks like a difficult one. I think we just put it down here, and I find other ways (perhaps use the AddListItem approah) to get it done.
Thanks a lot David,
Kenneth.
Kenneth.