• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX:implement the data interface question

 
Sun qinlong
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
when i implement the data interface . I am confused that does it need to use the DataInfo and FieldInfo which appears in the old assignment.
for example . in the old assignment the argument in the delet method is the object of dataInfo but in the new one the argument is the record number only. so i think it doest need to use the datainfo and fieldinfo .
is that right ?/
any help will thanks on time
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In NX, the delete method, if you want to implement it, would just modify the "valid/deleted" field of the record with the record number passed as a parameter.
 
color baby
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you don't really know it about datainfo and filedinfo. they can make you assignment clearly, if you use them. and for another reason,the use of
them can help you clear the relation of between the recordnumber and all the filed in the record.
 
Sun qinlong
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi color baby
thanks for your reply . can you implement it more clearly ?/ i really dont understand it fully.
thanks on time//
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way "color baby", if you intend staying around Javaranch, and we hope you do, please conform to the naming policy.
But I also do have a question about the name "color baby" is it a literal english translation of your real name?
 
Nick Lee
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Barry,
Mine is a hotel booking system,and I think,in my delete(),I'll change the delete flag and write the customer id in the end of the fields,am I right on that?
Thanks for ur suggestion
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic