Clicking on a detail band
Is there an example of how to extract the undelying record for a detail band
when the user clicks on a detail band in preview mode? I have found an event
called CommandClick, but so far am unable to find any examples of how to
extract the field information from our underlying Firebird Database. I was
thinking something like:
OnCommandClick event :
begin
Invoicenumber := IBOQuery.FieldByName('InvoiceNumbe').AsInteger;
.....Do something with invoice number
End;
This obviously is over simplified but in essence what im am looking to
achive...
Can anyone help ?
Thanks
Colin Coleman
when the user clicks on a detail band in preview mode? I have found an event
called CommandClick, but so far am unable to find any examples of how to
extract the field information from our underlying Firebird Database. I was
thinking something like:
OnCommandClick event :
begin
Invoicenumber := IBOQuery.FieldByName('InvoiceNumbe').AsInteger;
.....Do something with invoice number
End;
This obviously is over simplified but in essence what im am looking to
achive...
Can anyone help ?
Thanks
Colin Coleman
This discussion has been closed.
Comments
Here is an rbWiki 'How To' example..
www.digital-metaphors.com/rbWiki/Delphi_Code/Formatting/How_To..Clickable_DrawCommand_with_Custom_Info
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Works brilliantly
Colin Coleman