Enol lactones such as 4-hydroxy-6-methyl-2H-pyran-2-one (triacetic acid lactone, TAL) and 4-hydroxycoumarin when treated with 2-amino-3-formylchromone under basic conditions afforded 3-acetoacetyl benzopyranopyridones and benzopyranopyridines, respectively. A series of pyrazole derivatives was prepared by the reaction of 3-acetoacetyl benzopyranopyridones with different hydrazines. All compounds were characterised on the basis of spectral data and their antibacterial activity evaluated.