RE: [Arsperl-users] Getting a date field
Brought to you by:
jeffmurphy
|
From: Mark V. <Mar...@ev...> - 2006-02-06 21:38:31
|
Brent, Did you check for errors in $ars_errnum and %ars_errhash? Mark Vaughan Programmer III Direct: +1 303 802 2426 Mobile: +1 303 601 4434 Fax: +1 303 802 1420 mar...@ev... Evolving Systems, Inc.=20 9777 Pyramid Court, Suite 100, Englewood, CO USA 80112 www.evolving.com -----Original Message----- From: ars...@ar... [mailto:ars...@ar...] On Behalf Of Bowman, Brent A Sent: Monday, February 06, 2006 9:36 AM 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 =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 ------------------------------------------------------- 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=3Dk&kid=103432&bid#0486&dat=121642 _______________________________________________ Arsperl-users mailing list Ars...@ar... https://lists.sourceforge.net/lists/listinfo/arsperl-users This e-mail and any attachments may be confidential and/or legally privil= eged. If you have received this e-mail and you are not a named addressee,= please inform Evolving Systems TIS at ti...@ev... and then delete t= he e-mail from your system. If you are not a named addressee you must not= use, disclose, distribute, copy, print or rely on this e-mail. To ensure= regulatory compliance and for the protection of our clients and business= , Evolving Systems may monitor and read e-mails sent to and from its serv= ers. Although Evolving Systems routinely screens for viruses, addressees = should scan this e-mail and any attachments for viruses. Evolving Systems= makes no representation or warranty as to the absence of viruses in this= e-mail or any attachments.=20 Registered Office: 9777 Pyramid Ct Suite 100, Englewood, CO 80112 |