Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [TheStone] Date null = 0000-00-00

Quote Reply
Re: [TheStone] Date null = 0000-00-00 In reply to
Ok I checked and tested but looks like the script is doing nothing.

I changed and tested it like this:

sub {
my $tags = shift;
my $values = $tags->{values};
$values->{DateOfBirth} = '1969-11-11' if ($values->{DateOfBirth} eq '1970-12-12');
return;
}



My understanding that above global template would change the value of textbox named DateOfBirth to 1969-11-11 if value is currently stored as 1970-12-12.

Am I correct? I tried it, and nothing happened. Am I still missing something from the global template? I used the dump feature, and saw that format_empty_date was available.

Thanks again for helping me with this.
Subject Author Views Date
Thread Date null = 0000-00-00 Suomi 9634 Mar 17, 2002, 10:01 AM
Thread Re: [Suomi] Date null = 0000-00-00
604 9501 Mar 18, 2002, 9:13 AM
Thread Re: [TheStone] Date null = 0000-00-00
Suomi 9530 Mar 18, 2002, 9:51 AM
Thread Re: [Suomi] Date null = 0000-00-00
604 9530 Mar 18, 2002, 9:57 AM
Thread Re: [TheStone] Date null = 0000-00-00
Suomi 9530 Mar 18, 2002, 10:21 AM
Thread Re: [Suomi] Date null = 0000-00-00
604 9479 Mar 18, 2002, 10:40 AM
Thread Re: [TheStone] Date null = 0000-00-00
Suomi 9480 Mar 18, 2002, 11:10 AM
Post Re: [Suomi] Date null = 0000-00-00
604 9492 Mar 18, 2002, 11:30 AM
Thread Re: [Suomi] Date null = 0000-00-00
Paul 9457 Mar 18, 2002, 1:03 PM
Thread Re: [Paul] Date null = 0000-00-00
Suomi 9455 Mar 18, 2002, 4:14 PM
Thread Re: [Suomi] Date null = 0000-00-00
Halito 9460 Apr 2, 2002, 1:10 AM
Post Re: [Halito] Date null = 0000-00-00
Suomi 9472 Apr 2, 2002, 7:53 PM
Post Re: [Halito] Date null = 0000-00-00
Reena0330 9172 Aug 7, 2002, 2:12 PM