[Arsperl-users] Getting a date field
Brought to you by:
jeffmurphy
|
From: Bowman, B. A <Bow...@st...> - 2006-02-06 16:37:34
|
Hello all,
I've been trying to figure this out, but have had no luck.
I'm trying to access a Date field (Not Date/Time field) with any of the =
field functions (ars_GetFieldByName, ars_GetField, ars_GetFieldTable, =
ars_GetListField) and it acts like it doesn't exist.
When I create an arbitrary field of type Date, the field appears to be =
ignored by arsperl altogether. Adding fields of other types =
(char,enum,time) all seem to work.
In the following snippet:
$id =3D ars_GetFieldByName($c, "brent_test", "Date Field2");
print "ID=3D$id\n\n";
$field =3D ars_GetField($c, "brent_test", 536871071);
print $field->{dataType};
print "\n\n";
$id is null and so it $field.
Any ideas why this would be?
Thanks,
Brent
|