Jump to content

This topic is 7568 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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);

?>

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.