Wizards & Builders GmbH Offline-Views in VFP Arbeiten mit Offline-Views von Datenbanken unter Microsoft Visual FoxPro.

Slides:



Advertisements
Ähnliche Präsentationen
E-Solutions mySchoeller.com for Felix Schoeller Imaging
Advertisements

R. Zankl – Ch. Oelschlegel – M. Schüler – M. Karg – H. Obermayer R. Gottanka – F. Rösch – P. Keidler – A. Spangler th Expert Meeting Business.
Multi electron atoms Atoms with Z>1 contain >1 electron. This changes the atomic structure considerably because in addition to the electron-nucleus interaction,
Fakultät für informatik informatik 12 technische universität dortmund Specifications Peter Marwedel TU Dortmund, Informatik 12 Graphics: © Alexandra Nolte,
Subjects and Direct Objects When to use der vs. den.
Lancing: What is the future? Lutz Heinemann Profil Institute for Clinical Research, San Diego, US Profil Institut für Stoffwechselforschung, Neuss Science.
1 Datenintegrität Statische Bedingung (jeder Zustand) Dynamische Bedingung (bei Zustandsänderung) Bisher: Definition eines Schlüssels 1:N - Beziehung Angabe.
1 Kapitel 8: Datenintegrität. 2 Datenintegrität Statische Bedingung (jeder Zustand) Dynamische Bedingung (bei Zustandsänderung) Bisher: Definition eines.
Wizards & Builders GmbH Microsoft Titel Microsoft-Titel für Entwickler und Softwarehäuser.
Wizards & Builders GmbH Die Benutzeroberfläche Interaktives Arbeiten mit den Werkzeugen/Assistenten von Microsoft Visual FoxPro.
Wizards & Builders GmbH Programmierstil Hinweise zum Programmierstil unter Microsoft Visual FoxPro.
Wizards & Builders GmbH Arbeiten mit CSV-Listen Arbeiten mit CSV-Listen unter Microsoft Visual FoxPro.
Wizards & Builders GmbH Übersicht Schulung Übersicht über Schulung für Entwickler unter Microsoft Visual FoxPro.
Wizards & Builders GmbH Distribution von Applikationen Distribution und Installation unter Microsoft Visual FoxPro.
Wizards & Builders GmbH Modularisierung von SW Modularisierung von Anwendungen mit Microsoft Visual FoxPro.
Lokal Views (Ansichten) in Visual FoxPro
Visual Extend Features für Entwickler deutschsprachige FoxPro User Group Uwe Habermann VFX 05 D.
Das Perfekt Wiederholen (hoffentlich!). Think of 5 things you did in your holidays but think of sentences in the PRESENT TENSE. 1.Am Montag schlafe ich.
Adjektive Endungen von Frau Templeton.
Question words and word order By the end of this lesson you will have revised question words By the end of this lesson you will be able to use question.
Write the answers to these questions down on a piece of paper from your notebook. Was bedeutet Alles kann besser werden auf Engisch? What are some social.
Die Zeit (TIME) Germans are on military time which is 1-24
Institut AIFB, Universität Karlsruhe (TH) Forschungsuniversität gegründet 1825 Towards Automatic Composition of Processes based on Semantic.
| DC-IAP/SVC3 | © Bosch Rexroth Pneumatics GmbH This document, as well as the data, specifications and other information set forth in.
Das Perfekt (Present Perfect Tense). Think of 5 things you did in your holidays but think of sentences in the PRESENT TENSE. 1.Am Montag schlafe ich viel.
Deutsch 1 G Stunde. Donnerstag, der 18. Oktober 2012 Deutsch 1, G Stunde Heute ist ein E- Tag Unit: Family & homeFamilie & Zuhause Objectives: Phrases.
Deutsch 1 G Stunde. Donnerstag, der 18. Oktober 2012 Deutsch 1, G Stunde Heute ist ein D- Tag Unit: Family & homeFamilie & Zuhause Objectives: Phrases.
2 Way Preposition Exercise
Things I really, really need to remember.. AKKUSATIVDATIV DurchAus FürAußer GegenBei OhneMit UmNach BisSeit Von Zu These prepositions always trigger these.
Your name Bedeutung von Internet- Technologien Gruppe 1 Andreas Feuerstein Philipp Hochratner Christian Weinzinger.
Meine Schulfächer.
bei in seit mit auf hinter von nach aus zu für vor.
Wie komme ich zu..... ? (how do I get to....?)
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
You need to use your mouse to see this presentation © Heidi Behrens.
Department of Computer Science Homepage HTML Preprocessor Perl Database Revision Control System © 1998, Leonhard Jaschke, Institut für Wissenschaftliches.
INTAKT- Interkulturelle Berufsfelderkundungen als ausbildungsbezogene Lerneinheiten in berufsqualifizierenden Auslandspraktika DE/10/LLP-LdV/TOI/
States in the development of a new service During the development a service will pass through a chain of stages determining the service.
Modal Verbs Modal verbs are not action verbs!
Kölner Karneval By Logan Mack
Stem Changing Verbs D1K7.
Ein Projekt des Technischen Jugendfreizeit- und Bildungsvereins (tjfbv) e.V. kommunizieren.de Blended Learning for people with disabilities.
“Weil” und “Denn”.
Welcome Instructor: Dominik Dwight Zethmeier
External Labels – The rules For all external labels the following rules apply (external labels are all labels which are not inside of a shape) - all labels.
Time Expressions with Dative Von: Payton Knuckles.
By Martin L. Loeffler. The future tense is created in two ways. You introduce a time reference in the future. Anything that implies a future time. Morgen,
Negation is when you dont have or dont do something.
Can you tell me about your school?
Adjectiv Endungen Lite: Adjective following articles and pre-ceeding nouns. Colors and Clothes.
AVL-Trees (according to Adelson-Velskii & Landis, 1962) In normal search trees, the complexity of find, insert and delete operations in search.
To school => zu der Schule With friends => mit den Freunden On top of the desk => auf dem Schreibtisch Through the wall => durch die Wand.
Plusquamperfekt The past of the past.
Launch ON Global.vi System ID object name classname Services to suscribe Observer Control Ref vi-path Service name Step 1 : Objects register to the Global.vi´s,
Adjective Endings Nominative & Accusative Cases describing auf deutsch The information contained in this document may not be duplicated or distributed.
You need to use your mouse to see this presentation
Data Mining Spectral Clustering Junli Zhu SS 2005.
Adjective Declension in German
Gregor Graf Oracle Portal (Part of the Oracle Application Server 9i) Gregor Graf (2001,2002)
Here‘s what we‘ll do... Talk to the person sitting in front of you. Introduce each other, and ask each other questions concerning the information on your.
Essay structure Example: Die fetten Jahre sind vorbei: Was passiert auf der Almhütte? Welche Bedeutung hat sie für jede der vier Personen? Intro: One or.
- moodle – a internet based learning platform
 Präsentation transkript:

Wizards & Builders GmbH Offline-Views in VFP Arbeiten mit Offline-Views von Datenbanken unter Microsoft Visual FoxPro

Wizards & Builders GmbH Diese Schulung dient der Einführung in das Arbeiten mit und den Einsatz von Offline-Views auf Daten aus Datenbankcontainern unter Microsoft Visual FoxPro

Wizards & Builders GmbH Themenübersicht Wer benötigt Offline-Views Wer benötigt Offline-Views Wiederholung Arbeiten mit Views Wiederholung Arbeiten mit Views Wie erzeugt man Offline-Views Wie erzeugt man Offline-Views Tableupdate Tableupdate Konfliktmanagement Konfliktmanagement DropOffline DropOffline Was geht, was geht nicht Was geht, was geht nicht Vorteile von Offline-Views Vorteile von Offline-Views

Wizards & Builders GmbH Where do you want to go today? Offline-Views erlauben die: Mitnahme von Daten auf Laptops und anderen Systemen Mitnahme von Daten auf Laptops und anderen Systemen Änderung oder Erfassung Änderung oder Erfassung Einspielen der Änderungen Einspielen der Änderungen

Wizards & Builders GmbH Wer benötigt Offline-Views? Offensichtliche Anwender: Road warrior, Handelsreisende/Vertreter für Auftragserfassung vor Ort Offensichtliche Anwender: Road warrior, Handelsreisende/Vertreter für Auftragserfassung vor Ort Nicht so offensichtliche Anwender: Hinweis: Wieviele Nächte und Wochen-enden war man mit Wartungsarbeiten für Datenbankapplikationen beschäftigt? Nicht so offensichtliche Anwender: Hinweis: Wieviele Nächte und Wochen-enden war man mit Wartungsarbeiten für Datenbankapplikationen beschäftigt? Sammel-Updates für Data Warehouse Sammel-Updates für Data Warehouse Eigene Ideen? Eigene Ideen?

Wizards & Builders GmbH Wiederholung Views Wiederholung zum Einsatz von Views unter Microsoft Visual FoxPro

Wizards & Builders GmbH Lets Start With A Re-View… Grundsätzliche eine Ergebnistabelle aus einem SQL-SELECT-Befehl Grundsätzliche eine Ergebnistabelle aus einem SQL-SELECT-Befehl Quelle eine oder mehrere Tabellen Quelle eine oder mehrere Tabellen Quelle lokal oder Remote (Client/Server) Quelle lokal oder Remote (Client/Server) Quelle kann ein anderer View sein Quelle kann ein anderer View sein Kontrolle über Update-Verhalten (Buffering) Kontrolle über Update-Verhalten (Buffering) Erlaubt Migration nach Client/Server Erlaubt Migration nach Client/Server Ein View hat keine Indizes, man kann welche anlegen (Zeitaufwand) Ein View hat keine Indizes, man kann welche anlegen (Zeitaufwand)

Wizards & Builders GmbH Ein Updateable View ist... Ein View mit zusätzlichen Definitionen über Einfügen, Ändern und Löschen von Datensätzen Ein View mit zusätzlichen Definitionen über Einfügen, Ändern und Löschen von Datensätzen Feldweise Kontrolle über Änderungen Feldweise Kontrolle über Änderungen Besser steuerbar als Record-Buffering Besser steuerbar als Record-Buffering Arbeiten generell gut in Visual FoxPro Arbeiten generell gut in Visual FoxPro Views verarbeiten nicht automatisch Feld- und Satzregeln, die auf die Ursprungs-tabellen gelegt wurden... Views verarbeiten nicht automatisch Feld- und Satzregeln, die auf die Ursprungs-tabellen gelegt wurden...

Wizards & Builders GmbH Der große Vorteil Wenn alle Komponenten einer Applikation auf Views basieren statt auf lokalen Tabellen, kann man leicht nach Client/Server migrieren (wenn man das will)... Wenn alle Komponenten einer Applikation auf Views basieren statt auf lokalen Tabellen, kann man leicht nach Client/Server migrieren (wenn man das will)...

Wizards & Builders GmbH Updating Data in a View... Once a view is defined as updateable, updates are easy: Once a view is defined as updateable, updates are easy: Interaktiv (BROWSE) Interaktiv (BROWSE) Programmatisch über die Befehle REPLACE, GATHER, APPEND Programmatisch über die Befehle REPLACE, GATHER, APPEND Use bound controls (object.controlsource = viewname.fieldname) Use bound controls (object.controlsource = viewname.fieldname)

Wizards & Builders GmbH Ein Balance-Akt The smaller the dataset within the view, the faster it will perform The smaller the dataset within the view, the faster it will perform The view is only a snapshot of the data The view is only a snapshot of the data The data in the view doesnt reflect changes to the underlying data source until requeried The data in the view doesnt reflect changes to the underlying data source until requeried

Wizards & Builders GmbH Arbeiten mit Offline-Views Praxis des Arbeitens mit Offline-Views unter Microsoft Visual FoxPro

Wizards & Builders GmbH Was sind Offline Views Derivat eines updateable Views Derivat eines updateable Views Dateneinsicht und Änderungen ohne Vorhandensein des DBC Dateneinsicht und Änderungen ohne Vorhandensein des DBC Speichert Änderungen bis er reattached wird zum DBC Speichert Änderungen bis er reattached wird zum DBC Wenn reattached sind alle Updates gebuffert (im Puffer) Wenn reattached sind alle Updates gebuffert (im Puffer)

Wizards & Builders GmbH Wie erzeugt man Offline-Views CREATE VIEW CREATE VIEW CREATEOFFLINE(vname) CREATEOFFLINE(vname) USE vname ADMIN USE vname ADMIN zur Online-Anzeige der Änderungen zur Online-Anzeige der Änderungen USE vname ONLINE USE vname ONLINE zum Rückverbinden mit den Originaldaten zum Rückverbinden mit den Originaldaten TABLEUPDATE() TABLEUPDATE() DBGETPROP(vname, view,offline) DBGETPROP(vname, view,offline) zum Feststellen des Offline-Status eines Views zum Feststellen des Offline-Status eines Views

Wizards & Builders GmbH TABLEUPDATE() New functionality in VFP 5 to commit all non-conflict rows on first pass 2 (the magic number) New functionality in VFP 5 to commit all non-conflict rows on first pass 2 (the magic number) TABLEUPDATE([nRows [, lForce]] [, cTableAlias | nWorkArea] [, cErrorArray] TABLEUPDATE([nRows [, lForce]] [, cTableAlias | nWorkArea] [, cErrorArray] If you pass cErrorArray, you get back an array of record numbers for all failed rows If you pass cErrorArray, you get back an array of record numbers for all failed rows

Wizards & Builders GmbH Konflikt-Management (1) Starting point: examine all rules and triggers in the data sources of your online view Starting point: examine all rules and triggers in the data sources of your online view Remember that triggers wont fire until the view is onlined and the underlying buffer is TABLEUPDATEd Remember that triggers wont fire until the view is onlined and the underlying buffer is TABLEUPDATEd

Wizards & Builders GmbH Konflikt-Management (2) Once onlined and TABLEUPDATEd, the buffered changes cant be unbuffered Once onlined and TABLEUPDATEd, the buffered changes cant be unbuffered You must either force or discard each update You must either force or discard each update If you discard anything, your data reverts to the state of the view, not the source. If you discard anything, your data reverts to the state of the view, not the source.

Wizards & Builders GmbH Konflikt-Management (3) Resolution policy and procedures needed to manage conflicts Resolution policy and procedures needed to manage conflicts Dump updates Dump updates Force updates Force updates Send Send Create logs for manual review Create logs for manual review

Wizards & Builders GmbH DROPOFFLINE() DROPOFFLINE(viewname). NOTE: Check to make sure the view is closed and that the database is opened, before issuing the DROPOFFLINE DROPOFFLINE(viewname). NOTE: Check to make sure the view is closed and that the database is opened, before issuing the DROPOFFLINE Return value indicates success. (.F. indicates that the view was not dropped -- not its status) Return value indicates success. (.F. indicates that the view was not dropped -- not its status)

Wizards & Builders GmbH Vor- und Nachteile Vor- und Nachteile von Offline-Views unter Microsoft Visual FoxPro

Wizards & Builders GmbH Diverse Cans und Cants Diverse Cans und Cants Can: Löschen einzelner Sätze Can: Löschen einzelner Sätze Can: Setzen von Relationen Can: Setzen von Relationen Cant:PACK Cant:PACK Cant:ZAP Cant:ZAP Cant:INSERT (xBase nicht SQL) Cant:INSERT (xBase nicht SQL) Cant: =REQUERY() Cant: =REQUERY() Cant: Referentielle Integrität Cant: Referentielle Integrität

Wizards & Builders GmbH One view, many users Offline views are shareable! Offline views are shareable! Conflict management just like a multi-user table Conflict management just like a multi-user table

Wizards & Builders GmbH Many views, many users Required to support multiple road warriors Required to support multiple road warriors A socket is needed in the DBC for each offline view, but they are interchangeable if they have exactly the same view definition (including parameter value in parameterized queries) A socket is needed in the DBC for each offline view, but they are interchangeable if they have exactly the same view definition (including parameter value in parameterized queries) Can be genned automatically -- consult GENDBC for a skeleton Can be genned automatically -- consult GENDBC for a skeleton

Wizards & Builders GmbH Daytime maintenance Consider building offline view support into primary production feature set Consider building offline view support into primary production feature set Return on Investment: Staff can keep working while routine maintenance activities are performed Return on Investment: Staff can keep working while routine maintenance activities are performed Offline -- Main menu choices encapsulate merging of changes following maintenance Offline -- Main menu choices encapsulate merging of changes following maintenance

Wizards & Builders GmbH Vielen Dank! Das waren die Themen: Wer benötigt Offline-Views Wer benötigt Offline-Views Wiederholung Arbeiten mit Views Wiederholung Arbeiten mit Views Wie erzeugt man Offline-Views Wie erzeugt man Offline-Views Tableupdate Tableupdate Konfliktmanagement Konfliktmanagement DropOffline DropOffline Was geht, was geht nicht Was geht, was geht nicht Vorteile von Offline-Views Vorteile von Offline-Views

Wizards & Builders GmbH Wenn Fragen bestehen: Wizards & Builders Methodische Software- Entwicklung GmbH Frankfurter Str. 21b Kronberg Tel.: Fax: CIS: ,175