Newbie Question

Got a newbie question, that I feel is very simple, but for some reason I can’t get it to work. I am trying to import updated costs for an inventory list. What I have is Item Number and Cost. I want it to auto-update the Unit Price, but I can’t seem to get it to do that - always leaves as 0. The Price/Profit calc is set to Price=Price+Profit% and the profit % is set around 25%. Any clues? Thanks Doug Sluder Computernetworkx

var rItem record (27)Item (if you’re using item as dataitem for the table item) OnAfterImportRecord Item.MODIFY; CLEAR (RItem); rItem.RESET; RItem.GET(Item.“No.”); rItem.VALIDATE(“Profit %”); rItem.MODIFY; Alfonso Pertierra (Spain)

In a Dataport, you should take a look at the Properties AutoSave, AutoUpdate and AutoReplace. Lars Strøm Valsted ------------------------- Software development today is a race between the programmers trying to make better and more foolproof programs, and the universe trying to make bigger idiots. So far the universe is winning.

Haven’t had the chance to try the code yet, but will today. Thank you for the help. On the Autosave/update/replace. I have the Autosave & update to Yes and the Autoreplace to No Doug Sluder Computernetworkx