I created a DB with the "DB Browser for SQLite" software. At the picture attached you can see two tables with their primary keys fields.
If I insert a new register, the ID primary key field keeps empty
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
			
			If I insert a new register, the ID primary key field keeps empty
			
				B4X:
			
		
		
		SQL1.ExecNonQuery2("INSERT INTO referencia VALUES(null,?,?,?)", Array As Object(txtREFERENCIA.Text, txtMAQUINA.text, txtPUESTO.Text))
For i =0 To lstMOVIMIENTOS.Size - 1
SQL1.ExecNonQuery2("INSERT INTO movimientos VALUES(null,?,?,?)", Array As Object(1,  lstMOVIMIENTOS.GetItem(i), lstTMTP.GetItem(i)))
Next 
				 
			 
 
		 
 
		 
 
		