Newbies Liquidgenius Posted May 14, 2004 Newbies Posted May 14, 2004 I am trying to do a search and display records that have a certain field empty. Here is my code, when I search, I get the error code that says no records match. $DataQuery->AddDBParam('assignDate', '', 'eq'); As you can see I am looking at assignDate and checking to see if it is equal to nothing. Any help would be greatly appreciated. I have only 1 record that is ID=1, receiveDate=5/14/2004, assignDate=, resolveDate= So it should work? <?php include_once($HTTP_SERVER_VARS['DOCUMENT_ROOT'] . "/FX/FX.php"); include_once($HTTP_SERVER_VARS['DOCUMENT_ROOT'] . "/FX/server_data.php"); $DataQuery = new FX($serverIP, $webCompanionPort); $DataQuery->SetDBData("webtest.fp5"); $DataQuery->AddDBParam('assignDate', '', 'eq'); $DataResults = $DataQuery-> FMFind(); print_r($DataResults); ?>
Recommended Posts
This topic is 7568 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now