Saving a Record with only default values

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Please help me understand when a the data in a form can be saved via a macro
and the Command - Save Record.
Sometimes this command works and other times, I receive a message "No
Current Record"
Can a record that contains only default values or values set by the Set
Value command be saved, or must there be some user input?

Thanks for any help you can give.
 
There must be some input.

One possibility would be to dirty the record with the SetValue action in
your macro. For example, if you have a field named InvoiceDate, you could
SetValue of InvoiceDate to InvoiceDate. That doesn't change anything, but it
does dirty the record.

After that you should be able to save the record with the RunCommand action,
and the SaveRecord argument.
 
Back
Top