on 2009 Jan 29 2:20 PM
Hello,
I am using http post to post document to DataExchangeInterface. Everythink works good except:
If (for example) MIDDLE_NAME or EMAIL_ADDRESS of the user doesn't have specified name it is displayed on the iGrid '-'. When I tried to change it through http post, but I can't. It is still '-'.
If user have specified MIDDLE NAME or EMAIL_ADDRESS I can change/update it.
Regards,
Mateusz.
Request clarification before answering.
This is coming from NULLS in the DB, so get them to be a blank string instead of a null and you should be OK.
I typically would use CASE in my SQL statement for this something like:
(CASE WHEN MIDDLE_NAME is null THEN '' ELSE MIDDLE_NAME END) AS MIDDLE_NAMERegards,
Jeremy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I build somethink like this:
DISPLAY PART:
SQL QUERY -> iGrid displayed with users (columns: fname, lname, email, password...)
On the WEB PAGE I create form when I read values from iGrid (into text fields) where I can change it, for example Name, email etc. When I press UPDATE button I am passing values to transaction with http post.
HTTP POST posts document to the DataExchangeInterface in order to change/update users name, email...
When I update iGrid I see changes except fields that had '---'. I am not able to change it in above described way.
Edited by: Mateusz Tarkowski on Jan 29, 2009 4:19 PM
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.