That looks right.  Thanks!

And in your example (copying my example), the target record number was 1.

Thanks so much and Merry Christmas!

Kevin

On 12/22/05, steven mcphelan <[EMAIL PROTECTED]> wrote:
> As you saw it was in the documentation.  But what you did is not quite
> correct.  I will change some of the numbers to make it more obvious what
> needs to be done.
>
> S TMGFDA(2706.3,"+19,",.01)="My Name"
> S TMGFDA(2706.3,"+19,",1)="Kevin"
> S TMGFDA(2706.3,"+19,",2)="Toppenberg"
> S TMGIEN(19)=1
> D UPDATE^DIE(FLAGS,"TMGFDA","TMGIEN","TMGMSG")
>
>
> ----- Original Message -----
> From: "Kevin Toppenberg" <[EMAIL PROTECTED]>
> To: "Hardhats Sourceforge" <hardhats-members@lists.sourceforge.net>
> Sent: Thursday, December 22, 2005 3:53 PM
> Subject: [Hardhats-members] Re: IENS formating for database server calls
>
>
> Hmmm.... I think I figured it out.
>
> I found in the manual where it says I should use:
>
> FDA(2706.3,"+1,",.01)="My Name"
> FDA(2706.3,"+1,",1)="Kevin"
> FDA(2706.3,"+1,",2)="Toppenberg"
>
> but when making the call, do this:
> set TMGIEN(1)=1234 <-- the 1 will match to the +1
>
> do UPDATE^DIE(FLAGS,"FDA","TMGIEN","MSG")
>
> Lets see if I can get it to work.
>
> Kevin
>
> On 12/22/05, Kevin Toppenberg <[EMAIL PROTECTED]> wrote:
> > I always stumble at the point of using IENS.  No offense to Toad, but
> > the system drives me crazy!
> >
> > I want to add new records to a given file via UPDATE^DIE.  But I want
> > to specify the record number.  So I set up an FDA that looks like
> > this:
> >
> > FDA(2706.3,"1,",.01)="My Name"
> > FDA(2706.3,"1,",1)="Kevin"
> > FDA(2706.3,"1,",2)="Toppenberg"
> > (to stuff data into record/IEN# 1)
> >
> > But when I do this, I get back an error message that "Record doesn't
> exist).
> >
> > When I look at the documentation for IENS in the Fileman programmers
> > manual, its not clear.  At one point it states that an IENS is a
> > comma-delimited set of records numbers (IEN's).  Then it also
> > describes using place holders, such as "+1",  "?1", or "?+1" for
> > looking for preexisting records.
> >
> > If the above FDA was
> > FDA(2706.3,"+1,",.01)="My Name"
> > FDA(2706.3,"+1,",1)="Kevin"
> > FDA(2706.3,"+1,",2)="Toppenberg"
> >
> > it work, but it would just add the record to the end of the list.
> >
> > How do I specify to put a new record into the number that I want?
> >
> > Thanks
> > Kevin
> >
>
>
> -------------------------------------------------------
> 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_idv37&alloc_id865&op=ick
> _______________________________________________
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>
>
>
> -------------------------------------------------------
> 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
> Hardhats-members@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
>


-------------------------------------------------------
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_idv37&alloc_id865&op=click
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to