I wouldn't use borax. It's not as safe around pets/kids as diatomaceous earth. There are people who question how safe it is, but there's an agreement that is still toxic. However, diatomaceous earth is completely non-toxic.
Boric acid will kill flea eggs, DE will not. Nematodes will kill larveas. You may have to use a combination of the above to achieve your goal.