Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

PeopleCode

Posted on 2006-04-07
4
Medium Priority
?
360 Views
Last Modified: 2008-03-17
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.  
0
Comment
Question by:andalu123
3 Comments
 
LVL 11

Expert Comment

by:WelkinMaze
ID: 16403744
Isn't there something like null (or nul) to use instead of ""?
0
 

Author Comment

by:andalu123
ID: 16403896
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
 

Accepted Solution

by:
GranMod earned 0 total points
ID: 16624371
PAQed with points refunded (250)

GranMod
Community Support Moderator
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to implement Singleton Design Pattern in Java.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses
Course of the Month21 days, 5 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question