That depends. You won't be able to assign or link a check to a vendor bill if the check has been created from the Checks screen first. To link these records, you must create a vendor bill payment first and then write a check for it. You can have the related vendor bill number show up in the check memo for reference automatically if you set this option in Settings > Accounting.