Post your calc so we can troubleshoot more easily.
I'm assuming that db1 has a field for "quantity" and that db2 has a field for "calories per <something>" (something = serving? kg? lb? ...)
Then the calc in db1 would be all about translating the quantity selected into the fraction of the <something> in db2.