| 
 
 | 
						 
							Sergey Kornilov admin 12/22/2005 | 
| 
 
 Hi,  | 
											|
| 
 
 D 
 | 
						 
							dmarre author 12/22/2005 | 
| 
 
 Yes, that works great.   | 
											|
| 
 
 T 
 | 
						 
							Tommy B 12/22/2005 | 
 
Yes, that works great. Is it possible to set the query for the first page (.._list.php) to show records with empty values in the two fields i require instead of having to do an advance search? If there is a way, I will need to also be able to find the records with no empty values in advance search. 
 // make sql "select" string
  | 
											|
| 
 
 D 
 | 
						 
							dmarre author 12/22/2005 | 
| 
 
 Here is the error i get when i add that code.  | 
											|
| 
 
 | 
						 
							Sergey Kornilov admin 12/23/2005 | 
| 
 
 Hi, if(!$action) $strSQL = AddWhere($strSQL,"1=0"); and replace it with: if(!$action) $strSQL = AddWhere($strSQL,"Field1is null and Field2is null"); where Field1and Field2are your actual field names.  | 
											|
| 
 
 D 
 | 
						 
							dmarre author 12/23/2005 | 
| 
 
 No good. It did not show any errors but it did not sort records based on the two fields having null values.  | 
											|
| 
 
 | 
						 
							Sergey Kornilov admin 12/26/2005 | 
| 
 
 Hi,  | 
											|
| 
 
 D 
 | 
						 
							dmarre author 12/27/2005 | 
| 
 
 The files are the same files I sent in for the Date search issue i was having. The file name is ups.zip . If you have deleted the files let me know and i will send you the files again. Thanks.  | 
											|