Administrator wrote:
Hello
How are you going to use the event?
May be in the grid you could use other event.
Best regards
Admin
Here's the case : in my order entry system
when user select part, prices of the part will be assigned to order item
as shown in the following code
procedure TForm1.DBLookupCombobox1KeyValueChanged(Sender: TObject);
begin
if Datasource1.State in [dsEdit,dsInsert] then begin
OitemHunit.value := VPartPacket_buy.Value; //price of part assigned to item
OitemHpacket.value := VPartPacket_sell.Value;
end;
end;
I can only get this done in this EVENT, no event in the grid can make this.
OR do i miss something ???