求助!!怎么将_RecordsetPtr记录集指针的记录存入结构并返回
ctdzz 2018-02-27 11:02:29 现在有一个struct结构用来保存一条记录
用select * from 表 查询到记录后取得了recordest记录集
怎么在函数中返回一个struct显示查询到的所有记录
struct _a {
};
_a fo(){
_a b;
while(!Prec->adoeof){
a.**=***
}
return b;
}
怎么取出记录集的所有记录存入b中,并返回给调用的主程序