On Dec 16, 2005, at 2:56 PM, Michael Zacharias wrote:
gtm> S FDA(1,1001,"?+1,",.01)="99"
gtm> S FDA(1,1001,"?+1,",1)="PRS"
gtm> D UPDATE^DIE("","FDA(1)","IEN","MSG")
This works no problem, but now how do I add the record to the
Person File? as
the .01 field is a pointer?
S FDA(1,1002,"?+1,",.01)=?????????
S FDA(1,1002,"?+1,",1)="Gretzky, Wayne"
thanks in advance for the help...
The simplest option is probably to look at the IEN array to get the
IENs of the records you create, and then use that value (the integer)
for the .01 field in the FDA array you use for file, 1002, e.g.,
S FDA(1,1002,"+1,",.01)=53 ;or whatever
In this case, you don't want the "?" because you're not looking for
an existing entry to update, but creating a new one explicitly.
===
Gregory Woodhouse
[EMAIL PROTECTED]
"We ascribe beauty to that which is simple."
--Ralph Waldo Emerson
-------------------------------------------------------
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://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members