At 12:22 PM 3/25/2011, Bruce Chitiea wrote:
What I would like, though, is to replace the master DBGrid
control with a drop-down control which, when closed appears
as one line; and when opened, lists master table values
with a vertical scroll bar. A control which looks and
operates just like a DB Lookup Combo Box. Open the control,
scroll the list, highlight the value from the master table,
master control closes back to one line, slave table shows
related records.
So far, I can only get the form to work with two DBGrid /
Enhanced DBGrid controls. What control should I use for
the master table?
Bruce,
Here's how (for your viewing pleasure):
01. http://www.razzak.com/temp/DropDownsAndLookups_01.png
Drop-Down Combo-Box to select Customer and lookups to
display Customer Invoices and Invoice Details.
02. http://www.razzak.com/temp/DropDownsAndLookups_02.png
Select Customer using Drop-Down Comb-Box.
03. http://www.razzak.com/temp/DropDownsAndLookups_03.png
On-Click EEP for Drop-Down Combo-Box dynamically
displays Customer Invoices and Invoice Details and
Combo-Box closes back to one line.
04. http://www.razzak.com/temp/DropDownsAndLookups_04.pdf
Double-Clicking or Right-Click prints the selected
invoice as PDF.
See how easy it is to implement and achieve your goal, if
only you can imagine!
Very Best R:egards,
Razzak.
P.S.
Check your mailbox for an R:BASE eXtreme 9.1 (64) sample
application to demonstrate this concept/application.