Which FormDataSource method to use to determine that the record is not saved yet?
i.e.

I mean when my grid line is in this situation I want my mennuItemButton to throw the error.
Thanks...
You can check the RecId == 0, but in your case it would be simpler to set the NeedsRecord attribute of the menu item. This will disable the button if there is no active record.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With