你的表A中是否有Name_ID这个字段?是不是写错了,而且
RepForm1.quGZFF.open; 
最好改为:
RepForm1.quGZFF.active := True;
因为你是要得到数据集。