error message

2 views
Skip to first unread message

Joaquin Valdez

unread,
Sep 1, 2011, 3:35:32 PM9/1/11
to jmesa...@googlegroups.com
Hello again and again!

In the examples I noticed this error message being displayed when there is a validation problem.

Error: Not saving new record (uniqueValue: -1)

How is that done?

Thanks! I have looked...but can't seem to figure it out.

Joaquin Valdez



Jeff Johnston

unread,
Sep 1, 2011, 4:03:12 PM9/1/11
to jmesa...@googlegroups.com
No problem! Where do you see that message?

Joaquin Valdez

unread,
Sep 1, 2011, 4:05:12 PM9/1/11
to jmesa...@googlegroups.com
Thanks Jeff!

Here:


This is sure cool stuff!

Joaquin

Joaquin Valdez



Jeff Johnston

unread,
Sep 1, 2011, 5:56:29 PM9/1/11
to jmesa...@googlegroups.com
We get that message because I am not doing a check to make sure that there are no errors before saving (worksheet.hasErrors())...which I should be!

As you look through the examples you will see that there is both client side and server side validation. They can be used separately, or together, but neither will keep you from saving something incorrectly if you do not ask it :).

-Jeff

Joaquin Valdez

unread,
Sep 1, 2011, 6:00:57 PM9/1/11
to jmesa...@googlegroups.com
I see .... thanks!
Joaquin Valdez



Reply all
Reply to author
Forward
0 new messages