SQLEXEC(Ras2Conn, "SELECT ENV_NO, ENV_TOTL ; FROM Ras2_envelope where env_no < 10 ", "test") with thisform.List1 .RowSourceType= 3 .RowSource="select * from test into curs tmpcrs" ... *or *with thisform.List1 * .RowsourceType=2 * .Rowsource="test" *...>I am trying to connect a VFP list box with a SQL database. When I run the program, it tries to open a dbf file. Additional info: