RE: [Arsperl-users] Getting a date field
Brought to you by:
jeffmurphy
|
From: Stapff, T. <thi...@ma...> - 2006-02-06 16:50:30
|
What version of ARSperl do you use?
-----Original Message-----
From: ars...@ar...
[mailto:ars...@ar...]
Sent: Monday, February 06, 2006 5:36 PM
To: ars...@ar...
Subject: [Arsperl-users] Getting a date field
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 = ars_GetFieldByName($c, "brent_test", "Date Field2"); print
"ID=$id\n\n"; $field = 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
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|