The likely cause is trying to click the button on a record that is in ADD mode where the Record ID# does not yet exists.
If you want to default in certain field values, then you should use form rules when in Add mode.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.commark.shnier@gmail.com
------------------------------