Page 238 - BiDiB und iTrain
P. 238

Alles lassen und auf Union drücken. Es wird eine Leer Seite Sichtbar. Nun müssen
       wir folgenden Text eingeben. Dieser Text ist für die Darstellung aller
       Beleuchtungen. Ich schalte alle Beleuchtungen über LightControl, IO24 und Neo.
       SELECT Accessories.Feld1, Accessories.Feld2, [LightControl_Light Ports].F1,
       [LightControl_Light Ports].F3, [LightControl_Light Ports].F4, [LightControl_Light
       Ports].F5, [LightControl_Light Ports].F6, [LightControl_Light Ports].F7,
       'LightControl' AS Modul
       FROM Accessories INNER JOIN [LightControl_Light Ports] ON Accessories.Feld1 =
       [LightControl_Light Ports].F2;

       UNION

       SELECT Accessories.Feld1, Accessories.Feld2, [IO24_Light Ports].F1, [IO24_Light
       Ports].F3, [IO24_Light Ports].F4, [IO24_Light Ports].F5, [IO24_Light Ports].F6,
       [IO24_Light Ports].F7, 'IO24' AS Modul
       FROM Accessories INNER JOIN [IO24_Light Ports] ON Accessories.Feld1 =
       [IO24_Light Ports].F2;

       UNION

       SELECT Accessories.Feld1, Accessories.Feld2, [NEO_Light Ports].F1, [NEO_Light
       Ports].F3, [NEO_Light Ports].F4, [NEO_Light Ports].F5, [NEO_Light Ports].F6,
       [NEO_Light Ports].F7, 'NEO' AS Modul
   233   234   235   236   237   238   239   240   241   242   243