| The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com! 
| Forum to discuss SalesLogix legacy development including views, scripts, etc.. View the code of conduct for posting guidelines.
 
 |  | 
 
 
 
		You can 
																				subscribe to receive a daily forum digest in your 
																					user profile. View the site code 
																					of conduct for posting guidelines.
			|  |  
			
		 
			|  | 
				
					| use of QueryAddCondition  Posted: 29 Sep 09 8:07 AM
 |  
					| I'm trying to use that QueryAddCondition, but I must not be doint it correctly.  This is essentially the condition I am trying to add: 
 Family <> "ABC"
 
 
 If pType <> "" Then
 QueryAddCondition "dgRelatedProducts" , "Product:Type" , "=" , pType , "String" , ""
 QueryAddCondition "dgRelatedProducts" , "Product:Family" , "<>" , "ABC" , "String" , "AND"
 End If
 DBGridRefresh "dgRelatedProducts"
 
 
 |  
					|  |  |  
			|  | 
				
					| Re: use of QueryAddCondition  Posted: 29 Sep 09 9:59 AM
 |  
					| QueryAddCondition "dgRelatedProducts" , "Product:Type" , "=" , " '" & pType & "' " , "String" , "" 
 QueryAddCondition "dgRelatedProducts" , "Product:Family" , "<>" , "'ABC'" , "String" , "AND"
 
 I think....it has been awhile.
 |  
					|  |  |  
			|  |  |  
			|  |  
 
 
	
		| |  Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity! | 
 |  |  
 |  |