Not sure, but you may not have delimited the search criteria properly.
Can't promise this will work, but you could try replacing
Rst.Open "SELECT CompanyName FROM Customers WHERE CustomerID = " & _
chr(39) & Document.All.Item("CustomerID").Value & chr(39), Con
with
Rst.Open "SELECT...