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

Reply via email to