lazarus/examples/database/dblookup/unit1.lrs
jesus 7f68d3bce3 Examples, dblookup example from Leslie Kaye
git-svn-id: trunk@19140 -
2009-03-28 16:22:11 +00:00

71 lines
5.4 KiB
Plaintext

LazarusResources.Add('TForm1','FORMDATA',[
'TPF0'#6'TForm1'#5'Form1'#4'Left'#3#128#1#6'Height'#3#183#1#3'Top'#2'm'#5'Wid'
+'th'#3'*'#2#5'Align'#7#5'alTop'#7'Caption'#6#5'Form1'#12'ClientHeight'#3#183
+#1#11'ClientWidth'#3'*'#2#6'OnShow'#7#8'FormShow'#10'LCLVersion'#6#6'0.9.27'
+#0#7'TDBGrid'#7'DBGrid1'#4'Left'#2#0#6'Height'#3#171#0#3'Top'#2#0#5'Width'#3
+'*'#2#5'Align'#7#5'alTop'#10'DataSource'#7#11'Datasource1'#8'TabOrder'#2#0#0
+#0#7'TDBGrid'#7'DBGrid2'#4'Left'#2#0#6'Height'#3#150#0#3'Top'#3#176#0#5'Widt'
+'h'#3'*'#2#5'Align'#7#8'alClient'#10'DataSource'#7#11'Datasource2'#8'TabOrde'
+'r'#2#1#0#0#9'TSplitter'#9'Splitter1'#6'Cursor'#7#8'crVSplit'#4'Left'#2#0#6
+'Height'#2#5#3'Top'#3#171#0#5'Width'#3'*'#2#5'Align'#7#5'alTop'#12'ResizeAnc'
+'hor'#7#5'akTop'#0#0#6'TPanel'#6'Panel1'#4'Left'#2#0#6'Height'#2'l'#3'Top'#3
+'K'#1#5'Width'#3'*'#2#5'Align'#7#8'alBottom'#7'Caption'#6#6'Panel1'#12'Clien'
+'tHeight'#2'l'#11'ClientWidth'#3'*'#2#8'TabOrder'#2#3#0#17'TDBLookupComboBox'
+#17'DBLookupComboBox1'#4'Left'#2'x'#6'Height'#2#21#3'Top'#2'B'#5'Width'#2'd'
+#9'DataField'#6#8'ID_MONTH'#10'DataSource'#7#11'Datasource2'#8'KeyField'#6#2
+'ID'#9'ListField'#6#8'MTH_NAME'#14'ListFieldIndex'#2#0#10'ListSource'#7#11'D'
+'atasource1'#11'LookupCache'#8#5'Style'#7#14'csDropDownList'#8'TabOrder'#2#0
+#0#0#16'TDBLookupListBox'#16'DBLookupListBox1'#4'Left'#2#8#6'Height'#2'd'#3
+'Top'#2#2#5'Width'#2'd'#9'DataField'#6#8'ID_MONTH'#10'DataSource'#7#11'Datas'
+'ource2'#8'KeyField'#6#2'ID'#9'ListField'#6#8'MTH_NAME'#14'ListFieldIndex'#2
+#0#10'ListSource'#7#11'Datasource1'#11'LookupCache'#8#8'TabOrder'#2#1#0#0#16
+'TDBLookupListBox'#16'DBLookupListBox2'#4'Left'#3#248#0#6'Height'#2'd'#3'Top'
+#2#2#5'Width'#2'd'#9'DataField'#6#8'MONTH_NA'#10'DataSource'#7#11'Datasource'
+'2'#9'ListField'#6#8'MTH_NAME'#14'ListFieldIndex'#2#0#11'LookupCache'#8#8'Ta'
+'bOrder'#2#2#0#0#17'TDBLookupComboBox'#17'DBLookupComboBox2'#4'Left'#3'h'#1#6
+'Height'#2#21#3'Top'#2'B'#5'Width'#2'd'#9'DataField'#6#8'MONTH_NA'#10'DataSo'
+'urce'#7#11'Datasource2'#9'ListField'#6#8'MTH_NAME'#14'ListFieldIndex'#2#0#11
+'LookupCache'#8#8'TabOrder'#2#3#0#0#0#9'TSplitter'#9'Splitter2'#6'Cursor'#7#8
+'crVSplit'#4'Left'#2#0#6'Height'#2#5#3'Top'#3'F'#1#5'Width'#3'*'#2#5'Align'#7
+#8'alBottom'#12'ResizeAnchor'#7#8'akBottom'#0#0#11'TDatasource'#11'Datasourc'
+'e1'#7'DataSet'#7#4'Dbf1'#4'left'#3#184#0#3'top'#2'('#0#0#11'TDatasource'#11
+'Datasource2'#7'DataSet'#7#4'Dbf2'#4'left'#3#184#0#3'top'#3#176#0#0#0#4'TDbf'
+#4'Dbf1'#8'FilePath'#6'%C:\LazarusProjects\DBLookupTest\data\'#9'IndexDefs'
+#14#1#9'IndexFile'#6#10'months.mbf'#9'SortField'#6#2'ID'#7'Options'#11#9'ixP'
+'rimary'#0#0#0#8'OpenMode'#7#12'omAutoCreate'#9'TableName'#6#10'months.dbf'
+#10'TableLevel'#2#3#13'FilterOptions'#11#0#4'left'#3#144#0#3'top'#2'('#0#13
+'TLongintField'#6'Dbf1ID'#12'DisplayWidth'#2#10#9'FieldKind'#7#6'fkData'#9'F'
+'ieldName'#6#2'ID'#5'Index'#2#0#11'LookupCache'#8#13'ProviderFlags'#11#10'pf'
+'InUpdate'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#0#0#12'TStringField'#8
+'Dbf1LANG'#12'DisplayWidth'#2#4#9'FieldKind'#7#6'fkData'#9'FieldName'#6#4'LA'
+'NG'#5'Index'#2#1#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdate'#9'pf'
+'InWhere'#0#8'ReadOnly'#8#8'Required'#8#4'Size'#2#2#0#0#13'TLongintField'#10
+'Dbf1MTH_NO'#12'DisplayWidth'#2#10#9'FieldKind'#7#6'fkData'#9'FieldName'#6#6
+'MTH_NO'#5'Index'#2#2#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdate'#9
+'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#0#0#12'TStringField'#12'Dbf1MTH_NA'
+'ME'#12'DisplayWidth'#2#18#9'FieldKind'#7#6'fkData'#9'FieldName'#6#8'MTH_NAM'
+'E'#5'Index'#2#3#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdate'#9'pfI'
+'nWhere'#0#8'ReadOnly'#8#8'Required'#8#4'Size'#2#18#0#0#0#4'TDbf'#4'Dbf2'#8
+'FilePath'#6'%C:\LazarusProjects\DBLookupTest\data\'#9'IndexDefs'#14#1#9'Ind'
+'exFile'#6#12'lookerup.mbf'#9'SortField'#6#2'ID'#7'Options'#11#9'ixPrimary'#0
+#0#0#8'OpenMode'#7#12'omAutoCreate'#9'TableName'#6#12'lookerup.dbf'#10'Table'
+'Level'#2#3#13'FilterOptions'#11#0#4'left'#3#144#0#3'top'#3#176#0#0#13'TLong'
+'intField'#6'Dbf2ID'#12'DisplayWidth'#2#6#9'FieldKind'#7#6'fkData'#9'FieldNa'
+'me'#6#2'ID'#5'Index'#2#0#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpda'
+'te'#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#0#0#13'TLongintField'#12'Dbf'
+'2ID_MONTH'#12'DisplayWidth'#2#8#9'FieldKind'#7#6'fkData'#9'FieldName'#6#8'I'
+'D_MONTH'#5'Index'#2#1#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdate'
+#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#0#0#12'TStringField'#12'Dbf2LANG'
+'UAGE'#12'DisplayWidth'#2#4#9'FieldKind'#7#6'fkData'#9'FieldName'#6#8'LANGUA'
+'GE'#5'Index'#2#2#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdate'#9'pf'
+'InWhere'#0#8'ReadOnly'#8#8'Required'#8#4'Size'#2#2#0#0#13'TLongintField'#12
+'Dbf2MONTH_NO'#12'DisplayWidth'#2#8#9'FieldKind'#7#6'fkData'#9'FieldName'#6#8
+'MONTH_NO'#5'Index'#2#3#11'LookupCache'#8#13'ProviderFlags'#11#10'pfInUpdate'
+#9'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#0#0#12'TStringField'#12'Dbf2MONT'
+'H_NA'#12'DisplayLabel'#6#5'MONTH'#12'DisplayWidth'#2#18#9'FieldKind'#7#8'fk'
,'Lookup'#9'FieldName'#6#8'MONTH_NA'#5'Index'#2#4#9'KeyFields'#6#8'MONTH_NO'
+#11'LookupCache'#8#13'LookupDataSet'#7#4'Dbf1'#15'LookupKeyFields'#6#6'MTH_N'
+'O'#17'LookupResultField'#6#8'MTH_NAME'#13'ProviderFlags'#11#10'pfInUpdate'#9
+'pfInWhere'#0#8'ReadOnly'#8#8'Required'#8#4'Size'#2#18#0#0#0#0
]);