Have a string variable (strObject, will be a table or a view) that needs to be enclosed in single quotes:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
(In this particular Sub using a parameter SQL will be incovenient.)
Can I do this by putting in the ' character directly, rather than using Chr(39)?
RBS
			
			
			
				B4X:
			
		
		
		strSQL = $"select ObjectType, ObjectName, ColumnName, Affinity, ColumnID
 from SysColumns where ObjectName = ${Chr(39) & strObject & Chr(39)}
 order by ColumnID asc"$(In this particular Sub using a parameter SQL will be incovenient.)
Can I do this by putting in the ' character directly, rather than using Chr(39)?
RBS
 
				 
 
		 
 
		 
 
		