LOL!
---------- Forwarded message ---------- From: ARSlist LISTSERV Server (14.4) <[email protected]> Date: Mon, Mar 29, 2010 at 7:41 AM Subject: Rejected posting to [email protected] To: [email protected] Your message is being returned to you unprocessed because it looks like a LISTSERV command, rather than material intended for distribution to the members of the arslist list. Please note that LISTSERV commands must ALWAYS be sent to the LISTSERV address; if it was indeed a command you were attempting to issue, please send it again to [email protected] for execution. Otherwise, please accept our apologies and try to rewrite the message with a slightly different wording - for instance, change the first word of the message, enclose it in quotation marks, insert a line of dashes at the beginning of your message, etc. ---------- Forwarded message ---------- From: Robert Molenda <[email protected]> To: [email protected] Date: Mon, 29 Mar 2010 07:42:41 -0700 Subject: Re: How does ARSetEntry work ? (Java ARS 5.1) //xxx_ARS is a ARServerUser which has had the .login() function called // Other values are strings, etc... try { ServerInfoMap smm = new ServerInfoMap(); int[] xx2 = new int[1]; xx2[0] = ServerInfo.SERVER_TIME; smm = src_ARS.getServerInfo(xx2); Long lt1 = new Long(smm.get(ServerInfo.SERVER_TIME).toString()); Timestamp mr_Now = new Timestamp(lt1); //mr_Now.toString(); Entry ent = new Entry(); // Core Fields ent.put(1770000503, new Value(mr_Now)); //ent.put(1770000502, new Value(mr_Now.toString())); cim_ARS.setEntry(mr_Form, mr_RecordID_str, ent, new Timestamp(0), 0); ent.clear(); ent.put(2, new Value(cim_ARS.getUser().toString())); ent.put(8, new Value("Not Used")); ent.put(7, new Value(0)); ent.put(1770000613, new Value(mr_RecordID_str)); ent.put(1770000521, new Value(mr_ScanStart)); ent.put(1770000522, new Value(mr_Now)); ent.put(1770000523, new Value(str_Logging)); cim_ARS.createEntry("INFY:ADM:Source Control:Server Logging", ent); } HTH Robert Molenda On Sun, Mar 28, 2010 at 8:32 AM, Thibaut Barrère <[email protected]> wrote: > Hi, > >> The ARSetEntry-function is designed to allow updates of changed fields only. > > Is there anyone able to share an example of using ARSetEntry to update > an entry with the Java API ? (or any other way to update an entry, > actually ?) > > Despite reading the doc, I can't find a way to update an existing > entry so far. > > Any hint will be most welcome (and I will share here what I find later > on if I do find something), > > thank you, > > -- Thibaut > > _______________________________________________________________________________ > UNSUBSCRIBE or access ARSlist Archives at www.arslist.org > attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are" > -- If it were not for the gutter, my mind would be homeless! _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are" -- If it were not for the gutter, my mind would be homeless! _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

