Return Function date-time to text
I would like to make a function that if a date and time box is null, the become "". For there is nothing in place that says Null.
I'm doing this function a new page, so I do not have the "Return" and I think I must invoke the function.
Example
If F_Registro is full
{
F_Registro = "";
}
I am no expert in this type of functions,
I have a similar function, but allows me only in numbers and I want to date a specific word,
Nulltext string (string texVal)
{
orgVal = "0";
if (input.texVal! = null)
{
input.texVal.toTime orgVal = ();
}
orgVal return;
}