AudiTT @ Mci
|
| Posted: 03/01/2002, 9:50 AM |
|
That was a tad confusing..
Here goes. I have a form, and on this form, I have 2 fields. 1 is Deleted, and the other is ActionItem. Deleted is a check box, so 0 or 1 and ActionItem is a text box.
In the After Insert Staement, I want the field ActionItem to equal "Updated", Deleted is not checked, and "Deleted" if it is. Please help.
I tried this and other things without any luck.
fldActionItem = IF (getparam("Deleted")) = "1" THEN
"Deleted"
else
"Updated"
end if
|
|
|
 |
SamM @ Somewhere.gov
|
| Posted: 03/01/2002, 8:05 PM |
|
Looks like a problem with your syntax.
Below is your code the way it stands:
fldActionItem = IF (getparam("Deleted")) = "1" THEN
"Deleted"
else
"Updated"
end if
Here is the first thing I would try:
If getparam("deleted")="1" then
fldActionItem = "Deleted"
end if
If getparam("deleted")<>"1" then
fldActionItem = "Updated"
end if
I hope I'm not over looking the obvious, but that should work.
If not let me know.
Best Regards,
Sam Moses
Web Guy
|
|
|
 |
|