SynopsisSearch for a string in a given column. Prototype#include "emfdb.h" int dbSearchStr(int did, char_t* table, char_t* column, char_t* value, int flags); Parameters
DescriptionThe row id returned by this function can be used by the various dbRead and dbWrite functions. Return ValuedbSearchStr returns the row id of the found record if successful, or -1 if an error. Exampleint nCheck = dbSearchStr(0, T("USERS"), T("USER"), T("misterripley"), 0); See AlsodbReadStr(), dbWriteStr() |