// SF_lib.js


function SF_GetSQLString(value,type)
{
 
 var retstr="";
 switch(type)
 {
  case "text":
  case "char":
  case "string":
  case "date":
  case "time":
  case "datetime":
  case "varchar":retstr =  "'" + value.toString() + "'";break;
  default:retstr =  value.toString();
 }
 return retstr;
}

