juergenkemeter
Programmer
Hello,
I have three fields in my form:
- REPOMEN (VARCHAR)
- REENTDAT (DATE)
- REENTMEN (VARCHAR)
I want a SQL Statement which does the following:
If in REENTDAT is a Value, then I want to copy the value of REPOMEN into the field [REENTMEN] on the form.
Unfortunately my Statement gives back the following Message:
"Token = was not valid. Valid Tokens: +- AS <IDENTIFIER>"
SELECT
REENTDAT,
REPOMEN,
'REENTMEN' =
CASE
WHEN REENTDAT IS NULL
THEN ''
ELSE REPOMEN
END
Thanks for any help,
Juergen
I have three fields in my form:
- REPOMEN (VARCHAR)
- REENTDAT (DATE)
- REENTMEN (VARCHAR)
I want a SQL Statement which does the following:
If in REENTDAT is a Value, then I want to copy the value of REPOMEN into the field [REENTMEN] on the form.
Unfortunately my Statement gives back the following Message:
"Token = was not valid. Valid Tokens: +- AS <IDENTIFIER>"
SELECT
REENTDAT,
REPOMEN,
'REENTMEN' =
CASE
WHEN REENTDAT IS NULL
THEN ''
ELSE REPOMEN
END
Thanks for any help,
Juergen