|  | 
	
	
		| ShadowsPirate Beginner
 
 
 Joined: 15 Jun 2007
 Posts: 17
 
 
 | 
			
			  |  Posted: Tue Dec 02, 2008 12:46 am 
 Only showing specific line of variable.
 
 |  
				| Is there any way to check just one line of a variable that is a record? I'd like to check to see how many of an item I'll need, and was wondering if I could just do it without having to make a DB or something else. 
 |  | 
	
	  |  | 
	
		|  | 
	
		| Tech GURU
 
  
 Joined: 18 Oct 2000
 Posts: 2733
 Location: Atlanta, USA
 
 | 
			
			  |  Posted: Tue Dec 02, 2008 7:13 am 
 |  
				| Not quite sure what you mean, but from what I can piece together you want to look at one field of a db record.  The %db function may be what you're looking for. 
 |  | 
	
	  | 
		    
			  | _________________ Asati di tempari!
 |   |  | 
	
		|  | 
	
		| Fang Xianfu GURU
 
  
 Joined: 26 Jan 2004
 Posts: 5155
 Location: United Kingdom
 
 | 
			
			  |  Posted: Tue Dec 02, 2008 9:45 am 
 |  
				| Or just using the @var.key syntax. 
 |  | 
	
	  |  | 
	
		|  | 
	
		|  | 
	
		|  |