Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » SmartField problem
SmartField problem [message #1409264] Sun, 17 August 2014 16:09 Go to next message
Marin Marin is currently offline Marin MarinFriend
Messages: 1
Registered: August 2014
Junior Member
Hi,

I am using SmartField to show data from my personTypes Table. I have created
Lookup Call: "SELECT IDUSER, USERTYPE FROM PERSONTYPES" +
"WHERE 1=1 " +
"<key></key> " +
"<text></text> " +
"<all></all>";
and when I launch app, SmatrField is showing values from table. However, when i get values from db and fill FormData:
CallFormData formData = service.selectInterventionTable(callId);//get values from db
importFormData(formData);

SmartField is not showing value, other Fields work just fine.

What am I doing wrong?





Re: SmartField problem [message #1409686 is a reply to message #1409264] Mon, 18 August 2014 18:33 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Moving this to the Scout forum.
Re: SmartField problem [message #1410723 is a reply to message #1409686] Thu, 21 August 2014 13:13 Go to previous message
Dennis Geesen is currently offline Dennis GeesenFriend
Messages: 46
Registered: June 2014
Member
Do you have any exceptions?
If you used exactly the above SQL, you will have an error because a whitespace is missing at the first linebreak:
... "SELECT IDUSER, USERTYPE FROM PERSONTYPES" +
"WHERE 1=1 "...

becomes
 "SELECT IDUSER, USERTYPE FROM PERSONTYPESWHERE 1=1 "


And: do you use the same lookup service for table and form?
Previous Topic:Validating a Form when not using OK-Button
Next Topic:Client - Server timeout?
Goto Forum:
  


Current Time: Thu Mar 28 12:19:29 GMT 2024

Powered by FUDForum. Page generated in 0.02063 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top