# Re: 那请问用一个datacontrol起动两个table的资料可以吗??

Posted by steve on February 10, 1999 at 01:11:35:

In Reply to: 不可能 posted by 小吴 on February 09, 1999 at 17:39:58:

因我在王国荣的书中看,但我觉得他有错~

private sub data1_reposition()
dim sql as string
sql="Select *From[table1] Where [samefield] ="
sql= sql & data1.recordset("samefields")
data2.recordsource = sql
data2.refresh
end sub
其中data2的recorsourvce系属性里是没有选择的
其他,照原本的做,
请问那里有错呢????可否帮我改改

Follow Ups: