# Re: 资料库问题

Posted by stone on November 29, 1999 at 16:14:32:

In Reply to: 资料库问题 posted by stone on November 25, 1999 at 11:15:22:

: 我得资料库中至少有 sec=071402 and landid=10 其中 year 分别为 86 and 88 此二笔资料
: 但以 data1.recordsource ="select * from taxsub where sec = '071402' and landid = '10'" 其中datagrid只选出year为86这笔,
: 若要选出86,88这二笔须下以下指令 "select * from taxsub where sec = '071402' and landid like '10'"为何会如此？

因资料库中（VD）有唯一索引tax1，而文中 UINDX = tax1 设错了，误为tax2

Follow Ups: