Haven't tried the sand thing,.... Tho haven't had a problem with fungus gnats either


Diatomaceous earth might work too. And as an added benefit, it adds silica which helps strengthen stems if added early.