sprintf(queryString, "SELECT (IPType) FROM tblURLIP WHERE IP = '%s'",ipSrc);
sprintf(queryString, "SELECT (IPType) FROM tblURLIP WHERE IP = '%s'",NULL == ipSrc?"0":ipSrc);
Randor
Select COALESCE(IPType,0) From WHERE IP = '%s'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)