  | 
        
  | 
   
 
    
        
      
          | 
  
  
  
    
    
        
	  | 
	Menu | 
	  | 
 
 
    
     
     
     
      
       
       
        
         
         
          
           
						 |  
						 Home |  
 |   |  
						 |  
						 Discussions |  
 |   |  
						 |  
						 Tools |  
 |   |  
						 |  
						 Affiliates |  
 |   |  
						 |  
						 Content |  
 |   |  
						 |  
						 Info |  
 |   |    | 
            
          
         | 
       
     
    | 
    
   
   | 
   
 
 | 
   
 
  
    
    
        
	  | 
	User Info | 
	  | 
 
 
    
     
     
     
      
       
       
        
         
         
          
             Membership: 
  Latest: MichaelSnaRe 
  New Today: 0 
  New Yesterday: 0 
  Overall: 9144 
 
  People Online:
 
  Visitors: 79 
  Members: 0 
  Total: 79 
 | 
            
          
         | 
       
     
    | 
    
   
   | 
   
 
 | 
   
 
  
    
    
        
	  | 
	Full disclosure | 
	  | 
 
 
    
 | 
   
 
 | 
  
    
        
	  | 
	 | 
	  | 
 
 
    
        
          
              
                
                    
                      
                          
                            
                            
	
	
		  | 
		 | 
	 
	
		  | 
		IT Security and Insecurity Portal | 
	 
	 
	 | 
 
 
 
	  | 
	Whats wrong | 
	  | 
 
 
	
	
		 Posted: Wed Jun 27, 2007 12:25 am | 
		      | 
	   | 
 
	
	
		
		
			
			
				
				| oxygenne |  
				| Advanced user |  
				 
   |  
				 |  
				| Joined: Apr 13, 2005 |  
				| Posts: 52 |  
				 |  
				  | 
			 
			 
 
  | 
			  | 
		 
		
			  | 
			  | 
		 
		 
 
  | 
		
		
			Whats wrong with the following code
 
 
Query1->Close();
 
Query1->SQL->Clear();
 
Query1->SQL->Add("select number from calls where number like :test ");
 
Query1->Params->Items[0]->AsInteger=StrToInt(Edit1->Text);
 
Query1->Prepare();
 
Query1->ExecSQL();
 
 
I tried also with ParamByName("test")->AsString=Edit1->Text but nothing seems to work
 
Basiclly i wanna get a value(integer) from edit box find all like values in table and display the results | 
		 
		  | 
	 
	
		 | 
	 
	  | 
 
	 | 
 
 
	
	
		 Posted: Sat May 31, 2008 12:41 pm | 
		      | 
	   | 
 
	
	
		
		
			
			
				
				| Snoop1990 |  
				| Advanced user |  
				 
   |  
				 |  
				| Joined: May 22, 2008 |  
				| Posts: 65 |  
				 |  
				  | 
			 
			 
 
  | 
			  | 
		 
		
			  | 
			  | 
		 
		 
 
  | 
		
		
			Hey, 
 
I am not that familiar with delphi (also I have to learn it at school). But I found http://www.delphibasics.co.uk/ which is quite a nice side for delphi users. 
 
 
Regrades Snoop1990 | 
		 
		  | 
	 
	
		
		
			 _________________ http://snoop1990.co.cc
 
 
"I don't hack, I only surf the web to search for security holes ! To prevent my clients and me  from being hacked !" | 
		 
		  | 
	 
	  | 
 
	 | 
 
 
	
	www.waraxe.us Forum Index -> Borland Delphi and Pascal 
	
	
		
			You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum 
		 | 
		
			All times are GMT 
			Page 1 of 1
			 
			
		 | 
	 
	 
	 | 
 
	| 
	 | 
 
 
  
Powered by phpBB © 2001-2008 phpBB Group
 
  
 
 
 | 
                           
                         
                         | 
                     
                    | 
               
              | 
         
       
       | 
   
  | 
 
 
 |