PeopleCode

Does anyone know how to set a field to blank date using peoplecode.

I am trying to set DOB = "";
this doesn't work because left side is the date type and right side is string type.  
andalu123Asked:
Who is Participating?
 
GranModCommented:
PAQed with points refunded (250)

GranMod
Community Support Moderator
0
 
WelkinMazeCommented:
Isn't there something like null (or nul) to use instead of ""?
0
 
andalu123Author Commented:
nope. It won't allow to use null because null is an object type and DBO is date type.   Match error.  

To solve the problem I created a local date variable and assigned it to DOB when appropriate.

Local Date &dummyDate;

DOB = &dummyDate;

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.