Saving a form via button

M

Mikeval

I have a test case form users complete. I have a button at the bottom users
can click to save the form with a filename using a date/time stamp but it's
failing.

In the datasource I have a field called filename. In the button properties,
rule 1 assignsn Filename (after selecting via the gui) a resulting value of:
Set a field's value:Filename=concat(now(), ".xml"). Rule 2 performs the
submit. I receive an error stating "some rules not applied". A value in the
form may be used to specify the filename.. if you know the value resubmit
yada yada. Odd thing is this works in another db.. and I set it up the same
way but I'm missing something and not sure what.... If anyone has done this
and can offer insight, I'd appreciate it. I have removed the button and
rec-created but get same result.
 
A

Adam Harding

Might it be as when you specify Now() it has a space in it. So when you
specify the .xml on the end the name cannot be resolved.

Don't categorically know this is an issue but hope this may help.

Cheers Adam
 

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

Top