Ok...I have to admit I am a Fileman noobie, but am finally getting my hands
dirty with it. Be prepared for a few questions now and again and forgive me if
they are of the 'stupid' variety...
I am building an application that is using pointer variables to enable a sort
of inheritance hierarchy in my fileman DB. So, i have am OO structure that
looks something like:
Entity <|--- Person
(that is a broad arrow notation)
Entity = File #1001
Person = File #1002
to facilitate this, I have the .01 field of the Person file as a pointer
variable type (pointing to the Entity file). I want to use UPDATE^DIE from the
DBS API to insert a new record:
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...
Michael
__________________________________________________________
Find your next car at http://autos.yahoo.ca
-------------------------------------------------------
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