Sie sind auf Seite 1von 4

String Comparison Project

Here is the sample project created for your requirement, which compares the two
fields from a form and display the string mismatched fields in another form.

Explanation:-

1. Created a Table named "SourceTable" with Fields named "First" and "Second".
2. Created a Form Named "SourceForm" with data source as above table
(SourceTable).Dragged the fields from the Data source to the Grid node in the
form design. Inserted new Data into this form.
3. Created a Temporary table named "RefTable" with fields named "Field1" and
"Field2".
4. Created a new Form named "StringComparisonForm" with the data source as
temporary table (RefTable). Dragged the fields from the Data source to the Grid
node in the form design.
5. Written the String comparison code in the "getData()" method of the Form
"StringComparisonForm" and called that method from "executeQuery()" method
of the Datasource "StringComparisonForm".
6. Now you can see the string mismatched records.

Note: - In this project, I am assuming that the data in the First field in the Source
form is correct. So I am comparing the data in the Second filed with the First field in
the Source form and displayed the results in the Form StringComparisonForm.

Below are the screen shots for the same

Source Form String Comparison Form

Das könnte Ihnen auch gefallen