RE: [Arsperl-users] is this normal with ars_CreateEntry
Brought to you by:
jeffmurphy
|
From: Das, M. <md...@ti...> - 2005-08-23 22:39:28
|
=20 Great!!! It worked. Thanks a lot. Regards,=20 Mano -----Original Message----- From: ars...@ar... = [mailto:ars...@ar...]On Behalf Of Mark Vaughan Sent: Tuesday, August 23, 2005 5:20 PM To: ars...@ar... Subject: RE: [Arsperl-users] is this normal with ars_CreateEntry Mano, If any of the fields you are passing are zero-length, try setting the = value to undef before calling ars_CreateEntry. I've had success with = this in the past. =20 HTH, Mark =20 Mark Vaughan Programmer III =20 Direct: +1 303 802 2426 Cell: +1 303 601 4434 Fax: +1 303 802 1420 <mailto:mar...@ev...> mar...@ev... Evolving Systems, Inc.=20 9777 Pyramid Court, Suite 100, Englewood, CO USA 80112 www.evolving.com _____ =20 From: ars...@ar... = [mailto:ars...@ar...] On Behalf Of Das, Manojit Sent: Tuesday, August 23, 2005 4:06 PM To: ars...@ar... Subject: [Arsperl-users] is this normal with ars_CreateEntry =20 Hi All, Here is what I am doing here From one of my scripts I am parsing a csv file and creating record in a = form using ars_CreateEntry.=20 I have one filter defined on this form which fires when one field ( = empid) is not null. The RunIF qual looks like this : 'empid' !=3D = $NULL$. =20 The record is getting created fine. But the filter fires all the time = even if empid is null. Is it normal ?=20 When I print the value of empid it shows nothing (meaning null), if I = print length(empid), it gives 0 length. BTW, I used chomp function also = but I cannot get rid of this invisible character that causes the filter = to fire everytime. Any idea anyone? =20 Env: ARS 5.1.2 Solaris 5.8 Perl 5.005_03 ARSPerl 1.8001 =20 =20 Thanks, Mano =20 =20 =20 =20 =20 <mailto:ars...@ar...> =20 This e-mail and any attachments may be confidential and/or legally = privileged. 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 the 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 servers. 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. = Registered Office: 9777 Mt. Pyramid Ct Suite 100, Englewood, CO 80112=20 |