Newbie and I have teething problems with save

Hell all,

I apologise if this is a really silly post but im struggling to save any changes made on a form.

This is notes client based!

Basically on one of my forms i have an embedded view. When i open an entry on the view, if i make any changes like e.g.

If i need to add additional comments in the ‘Comments’ field which is a text and editable field…

then to do this i select the edit button, enter the changes in the field and then select the save and close button which has this formula: -

@Command([FileSave]);

@Command([FileCloseWindow]).

When i re-open the same entry (that i made the changes too) from the embedded view, the changes dont appear to have saved?!

Also, if i open an entry from the embedded view, and want to change the status of the entry to ‘Completed’ or ‘Not Completed’, these changes do not appear to save either. The formulas i have used for the action button to change the status is: -

Mark as complete = @Command([EditDocument]);@Command([FileSave]);@SetField(“Status”;“Complete”);

@SetField(“CompletedDate”;@Now);

@Command([ViewRefreshFields])

Mark as Incomplete = @Command([EditDocument]);@SetField(“Status”;“Not Complete”);

@SetField(“CompletedDate”;“”);

@Command([ViewRefreshFields]).

Can anyone help me and explain why the changes i try to make do not appear to change when i re-open the entry that i made the changes too?

Thanking you in advance

Holly

Subject: Newbie and I have teething problems with save

Try these on your button - you have to save the document after you’ve updated the fields.

Mark as complete = @Command([EditDocument]); @SetField(“Status”;“Complete”);

@SetField(“CompletedDate”;@Now); @Command([FileSave]); @Command([FileCloseWindow]);

@Command([ViewRefreshFields])

Mark as complete = @Command([EditDocument]); @SetField(“Status”;“Not Complete”);

@SetField(“CompletedDate”;“”); @Command([FileSave]); @Command([FileCloseWindow]);

@Command([ViewRefreshFields])

Subject: Newbie and I have teething problems with save

I’m not sure if this is related or if it is just a typo. However, this line should not work:

Mark as complete = @Command([EditDocument]);@Command([FileSave]);@SetField(“Status”;“Complete”);

If Mark As Complete is a field on the form the it should be Mark_As_Complete or MarkAsComplete field names do not allow spaces in them. Also if this is an assignment then it should be := rather than just the =.

Subject: RE: Newbie and I have teething problems with save

Hey Bill,

Sorry I was just stating which formula belonged to which option…

Sorry that it may have seemed as if I have declared it as a field variable…

Thanks

Subject: Not a Problem just seemed odd to me.