Hmmm, after thinking about this, let me wager a guess.

When I put a value in the .01 field, then it is put through the input
transform during the filing process.  And the input transform set
DINUM=X, and then Fileman uses DINUM to determine the IEN of the newly
added record.  ... So I put the desired new IEN into field .01

OK, so I don't know what new IEN I want.  I guess I'll have to
$order(gloval,-1) to find the largest record number and then add 1.
Seems like standing on my head.  What am I missing?

Kevin



On 5/15/06, Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
I want to add a new record to file 50.67 (NDC/UPC)

The .01 field has, in it's input transform set DINUM=X.

My understanding of a DINUM record is that the .01 field=the record
number (IEN) of the record.

OK, so how do I add a NEW record to the file?


TMGFDA(50.67,"+1,",.01)=???  <--- what goes here?
TMGFDA(50.67,"+1,",1)="Hello etc."

do UPDATE^DIE("E","TMGFDA","TMGIEN","TMGMSG"

What value do I set the .01 field to?

Thanks
Kevin



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to