Please start any new threads on our new 
    site at https://forums.sqlteam.com.  We've got lots of great SQL Server
    experts to answer whatever question you can come up with.
    
        
            
                
                    
                        
                            
                                | Author | 
                                
                                 Topic  | 
                             
                            
                                    | 
                                         sql4us 
                                        Starting Member 
                                         
                                        
                                        24 Posts  | 
                                        
                                        
                                            
                                            
                                             Posted - 2013-03-13 : 15:32:11
                                            
  | 
                                             
                                            
                                            | My table:City  Population  	Age    Total_popA	40	 	15yr	57B	32	 	24yr	97C	54 		65yr	84D	35	 	44yr	39E	20 		70yr	47I want to pull the columns and show as pop-up/display message likeCity: A15yr_Population : 40Total_pop: 57City: B24yr_Population: 32Total_Pop: 97Any syntax for column "Population" to show based on "Age" column in sql stored procedure? | 
                                             
                                         
                                     | 
                             
       
                            
                       
                          
                            
                                    | 
                                     webfred 
                                    Master Smack Fu Yak Hacker 
                                     
                                    
                                    8781 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-13 : 15:46:56
                                          
  | 
                                         
                                        
                                          that should be done in the front end if possible Too old to Rock'n'Roll too young to die.  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     jackv 
                                    Master Smack Fu Yak Hacker 
                                     
                                    
                                    2179 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-14 : 09:59:12
                                          
  | 
                                         
                                        
                                          | one returning data to front end recordset , iterate through the recordset , interacting with front end display objectsJack Vamvas--------------------http://www.sqlserver-dba.com  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     sql4us 
                                    Starting Member 
                                     
                                    
                                    24 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-14 : 13:16:36
                                          
  | 
                                         
                                        
                                          Thanks webfred and Jack. I did coded in the front end and it works :)Thank you both :)quote: Originally posted by jackv one returning data to front end recordset , iterate through the recordset , interacting with front end display objectsJack Vamvas--------------------http://www.sqlserver-dba.com
    | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                       
                          
                            
                                    | 
                                     jackv 
                                    Master Smack Fu Yak Hacker 
                                     
                                    
                                    2179 Posts  | 
                                    
                                      
                                        
                                          
                                           
                                            Posted - 2013-03-15 : 05:24:20
                                          
  | 
                                         
                                        
                                          | Your welcomeJack Vamvas--------------------http://www.sqlserver-dba.com  | 
                                         
                                        
                                            | 
                                         
                                       
                                     | 
                                   
                            
                            
                                | 
                                    
                                      
                                     
                                    
                                 | 
                             
                         
                     | 
                 
             
         |