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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top