空中-Opera3.0手机浏览器免费下载
诺基亚5220扩展功能设置攻略(手绘版)
8501
ppc数字智能手机i-mate 8501免费送 最新手机电影
发新话题
打印

[编程] 大家有谁使用pol编程的吗?帮帮我!

大家有谁使用pol编程的吗?帮帮我!

我想查找一数据库的所有记录,取出某个字段的值 与某个值比较,问题是我怎么用pol取出某个字段的值比较!没看见有什么函数? 先谢谢了! Boolean COrderForm::HasThisCity(int station_id,DmOpenRef m_Database) { UInt16 i; int id; UInt16 numOfRecords; CString m_strText; MemHandle rH; numOfRecords = DmNumRecords(m_Database); if (numOfRecords == 0) return false; for (i = 0; i >m_strText; if (!m_strText) return false; memcpy((int)&id, m_strText, sizeof(m_strText)); MemHandleUnlock(rH); 上面几行该怎么写,我找了pol的例子,对怎么取出字段还是一头雾水啊 谁帮帮我? if (id==station_id) return true; } return false; } 等待中!
混在深圳
发新话题