Concatenating two fields into yet another field
Concatenating two fields into yet another field
- Subject: Concatenating two fields into yet another field
- From: Deirdre Saoirse Moen <email@hidden>
- Date: Wed, 10 Dec 2003 21:28:41 -0800
This seems like it should be simpler than it is, but I'm clearly
missing something.
I have an object, timeSlot, that is an EOGenericRecord. The record it
points to has three fields I want to manipulate and concatenate
(startTime, endTime, toDayNames.dayName) into a fourth field
(tsDescrip) before I call
editingContext.saveChanges();
Catch is, it seems like it should logically go into the add/update
button scripts (e.g. updateTimeSlot), but what I've tried hasn't worked.
So I'm having a conceptual failure about what I need to do. I've looked
around, but haven't found anything that seemed helpful.
timeSlot.tsDescrip = timeSlot.startTime;
...isn't right. But how do I approach this?
--
_Deirdre http://deirdre.net
"Cannot run out of time. There is infinite time. You are finite.
Zathras is finite. This....is wrong tool." -- Zathras
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.