Quicklabel PowerForms Bedienungsanleitung Seite 31

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 47
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 30
- 31 -
HereismostlikelyusageoftheMasterDetailConnectionfunctionality.Therearethreedatabase
tablesthatcontaininformationaboutcustomers,ordersanditemsthatyouwanttouseontheform.
UsingMasterDetailConnectionsallowsyoutoconstructlinkedtableswhichdatachangesaccord-
ingtotheselectionintheparenttable.
CUSTOMERS
The table contains a list of all customers with the IDs of their
orders.
ORDERS
The table contains a list of all orders that the customers have made.
The orders contain the IDs of the items they include.
ITEMS
The table contains information about the items.
Allthreetablesneedtobepositionedintheform.Thefirsttableformelementhastobeconnectedto
CUSTOMERSdatabasetable(thisisdoneintheDatabasetab)andMasterDetailConnectionisdis-
abledonit.
ThesecondtableontheformisconnectedtoORDERSdatabasetable(thisisdoneintheDatabase
tab).ThetablewithCustomersistheparenttablefortheOrderstable.Theywillhavetobelinked
together.ConnecttheORDER_IDfieldfromtheCUSTOMERSdatabasewiththeORDER_IDfield
intheORDERSdatabase.ThislinkwillensurethatonlytheOrdersforthecustomerselectedinthe
firsttablewillbeshowninthesecondone.
ThenconnectthethirdformtableelementtotheITEMSdatabasetable.TheOrderstableisaparent
fortheItemstable.Theytoowillhavetobelinkedtogether.Thiswillensurethatonlyitemsfrom
theselectedOrder(fromtheseconddatabase)willbeshowninthisthirddatabasetable.
Theresultofallthispreparationsisthefollowing.Theuserselectsthecustomerinthefirsttable
(Customers),thesecondtable(Orders)isautomaticallyrefreshedanddisplaysonlyordersthatthe
selectedcustomerhasperformed.Whentheuserselectstheappropriateorderfromthesecondtable,
thethirdtable(Items)isautomaticallyrefreshedanddisplaysonlytheitemstheselectedcustomer
hasorderintheselectedorder.
Working with Text Objects
Creating the Text Object
Tousethetextobject,dothefollowing:
1.
Clickonthe iconinthetoolbox.
Note:
YoucanalsoselectthecommandTextintheObjectmenu.
2. Clickontheform,whereyouwanttopositiontheobject.
Thedialogboxopenswithobjectproperties.
3. Enterthecontentfortheobject,thenclickontheOKbutton.
Note:
Tochangetheobjectproperties,doubleclickonit.Tocancelplacinganobjectontheform,press
theESCbutton.
Seitenansicht 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 46 47

Kommentare zu diesen Handbüchern

Keine Kommentare