How do i make the last value edited to be saved on a new field of the same table? e.g. in an item maintenance form of a product table, there is a price and a user field,i want to save the last value of the price on another field, the same with the user who edited the price or any other field on the same table.How do i do this in alpha?this is for sucurity purposes in the app. maybe it could be done using the audit trail feature of alpha but, i want it to be displayed immediately on the form after a new record is added or after a new record is added or changed on any table.
tblProduct= product table
Barcode
ProductName
RetailPrice
LastUser = last user who edited the price or any other field
Lastedited = date and time edited or added
LastPrice = value of price prior to edit
Sampe Data
012345 - bcode
Milk - product name
250 -Price
John - last user who edited the table items
02-01-2012
240 - last price
User Jet has logged in and changes the price to 260
New Data saved
012345
Milk
260
Jet
02-03-2012 - date last edited
250 - new last price prior to editing
.How about if a new record is added? for the user who last edited field,How do i get the user currently logged in to be default
on the new record/item added? for the date last edited field, it would be easy as i will just make a field rule to default as the current date, same
with the last price, the default would be zero.Please help, i'm still learning alpha, and i tried but i'm stucked/struggling for 2 days to find the solution but im stucked.thank you.
tblProduct= product table
Barcode
ProductName
RetailPrice
LastUser = last user who edited the price or any other field
Lastedited = date and time edited or added
LastPrice = value of price prior to edit
Sampe Data
012345 - bcode
Milk - product name
250 -Price
John - last user who edited the table items
02-01-2012
240 - last price
User Jet has logged in and changes the price to 260
New Data saved
012345
Milk
260
Jet
02-03-2012 - date last edited
250 - new last price prior to editing
.How about if a new record is added? for the user who last edited field,How do i get the user currently logged in to be default
on the new record/item added? for the date last edited field, it would be easy as i will just make a field rule to default as the current date, same
with the last price, the default would be zero.Please help, i'm still learning alpha, and i tried but i'm stucked/struggling for 2 days to find the solution but im stucked.thank you.
Comment