'--- Page 1 --- ' #0019 ' v0019 v0019: 'field number. ' #0011 ' v0011UN v0011UN: 'field number. ' #0005 ' v0005UN2 v0005UN2: 'field number. ' #0012 ' v0012UN3 v0012UN3: 'field number. ' #0950 ' v0950Proprietary v0950Proprietary: 'field number. ' #0413 ' v0413S v0413S: 'field number. ' #0414 ' v0414X v0414X: 'field number. ' #5000 ' v5000A v5000A: 'field number. ' #0620: if @UPDATE then #0620 =#0594 +#0595 +#0598 ' v0620WO: iif(@UPDATE ,[v0620WO] =[v0594F266d5] +[v0595F267e5] +[v0598F261t4]) IF True then Forms!fMAX1234_6![v0620WO] =Forms!fMAX1234_6!fMax5![v0594F266d5] +Forms!fMAX1234_6!fMax5![v0595F267e5] +Forms!fMAX1234_6!fMax5![v0598F261t4] End If 'if.h ' #0190 ' v0190Product v0190Product: 'field number. ' #0200 ' v0200Packs v0200Packs: 'field number. ' #0202 ' v0202Hardener v0202Hardener: 'field number. ' #0201 ' v0201Compound v0201Compound: 'field number. ' #9500 =#0614 ' v9500O: [v0614PP] Forms!fMAX1234_6![v9500O] = Forms!fMAX1234_6![v0614PP] 'equal another. ' #0191 ' v0191PackSize v0191PackSize: 'field number. ' #0192 ' v0192MixM v0192MixM: 'field number. ' #0001 ' v0001T v0001T: 'field number. ' #0026 ' v0026U v0026U: 'field number. ' #0210: if #0210 <>"" then #0210 =#0210*#0010 ' v0210TimeAndMake: iif([v0210TimeAndMake] <>"" ,[v0210TimeAndMake] =[v0210TimeAndMake]*[v0010Scale]) IF Forms!fMAX1234_6![v0210TimeAndMake] <>"" then Forms!fMAX1234_6![v0210TimeAndMake] =Forms!fMAX1234_6![v0210TimeAndMake]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0003 ' v0003H v0003H: 'field number. ' #0004 ' v0004C v0004C: 'field number. ' #0211: if #0211 <>"" then #0211 =#0211*#0010 ' v0211Total: iif([v0211Total] <>"" ,[v0211Total] =[v0211Total]*[v0010Scale]) IF Forms!fMAX1234_6![v0211Total] <>"" then Forms!fMAX1234_6![v0211Total] =Forms!fMAX1234_6![v0211Total]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0212: if #0212 <>"" then #0212 =#0212*#0010 ' v0212Kilos: iif([v0212Kilos] <>"" ,[v0212Kilos] =[v0212Kilos]*[v0010Scale]) IF Forms!fMAX1234_6![v0212Kilos] <>"" then Forms!fMAX1234_6![v0212Kilos] =Forms!fMAX1234_6![v0212Kilos]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0008 ' v0008U2 v0008U2: 'field number. ' #0007 ' v0007A2 v0007A2: 'field number. ' #0016 ' v0016I2 v0016I2: 'field number. ' #0017 ' v0017O2 v0017O2: 'field number. ' #0039 ' v0039T11 v0039T11: 'field number. ' #0040 ' v0040T12 v0040T12: 'field number. ' #0041 ' v0041T13 v0041T13: 'field number. ' #0042 ' v0042T14 v0042T14: 'field number. ' #0043 ' v0043T15 v0043T15: 'field number. ' #0044 ' v0044T16 v0044T16: 'field number. ' #0045 ' v0045T17 v0045T17: 'field number. ' #0046 ' v0046T18 v0046T18: 'field number. ' #0047 ' v0047T19 v0047T19: 'field number. ' #0067: if #0039 <>"" or 0 then #0067 =#0067*#0010 ' v0067T21: iif([v0039T11] <>"" or 0 ,[v0067T21] =[v0067T21]*[v0010Scale]) IF Forms!fMAX1234_6![v0039T11] <>"" or 0 then Forms!fMAX1234_6![v0067T21] =Forms!fMAX1234_6![v0067T21]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0030: if #0040 <> "" or 0 then #0030 =#0030*#0010 ' v0030T22: iif([v0040T12] <> "" or 0 ,[v0030T22] =[v0030T22]*[v0010Scale]) IF Forms!fMAX1234_6![v0040T12] <> "" or 0 then Forms!fMAX1234_6![v0030T22] =Forms!fMAX1234_6![v0030T22]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0031: if #0041 <>"" or 0 then #0031 =#0031*#0010 ' v0031T23: iif([v0041T13] <>"" or 0 ,[v0031T23] =[v0031T23]*[v0010Scale]) IF Forms!fMAX1234_6![v0041T13] <>"" or 0 then Forms!fMAX1234_6![v0031T23] =Forms!fMAX1234_6![v0031T23]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0032: if #0042 <>"" then #0032 =#0032*#0010 ' v0032T24: iif([v0042T14] <>"" ,[v0032T24] =[v0032T24]*[v0010Scale]) IF Forms!fMAX1234_6![v0042T14] <>"" then Forms!fMAX1234_6![v0032T24] =Forms!fMAX1234_6![v0032T24]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0033: if #0043 <>"" then #0033 =#0033*#0010 ' v0033T25: iif([v0043T15] <>"" ,[v0033T25] =[v0033T25]*[v0010Scale]) IF Forms!fMAX1234_6![v0043T15] <>"" then Forms!fMAX1234_6![v0033T25] =Forms!fMAX1234_6![v0033T25]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0034: if #0044 <>"" then #0034 =#0034*#0010 ' v0034T26: iif([v0044T16] <>"" ,[v0034T26] =[v0034T26]*[v0010Scale]) IF Forms!fMAX1234_6![v0044T16] <>"" then Forms!fMAX1234_6![v0034T26] =Forms!fMAX1234_6![v0034T26]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0035: if #0045 <>"" then #0035 =#0035*#0010 ' v0035T27: iif([v0045T17] <>"" ,[v0035T27] =[v0035T27]*[v0010Scale]) IF Forms!fMAX1234_6![v0045T17] <>"" then Forms!fMAX1234_6![v0035T27] =Forms!fMAX1234_6![v0035T27]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0036: if #0046 <>"" then #0036 =#0036*#0010 ' v0036T28: iif([v0046T18] <>"" ,[v0036T28] =[v0036T28]*[v0010Scale]) IF Forms!fMAX1234_6![v0046T18] <>"" then Forms!fMAX1234_6![v0036T28] =Forms!fMAX1234_6![v0036T28]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0037: if #0047 <>"" then #0037 =#0037*#0010 ' v0037T29: iif([v0047T19] <>"" ,[v0037T29] =[v0037T29]*[v0010Scale]) IF Forms!fMAX1234_6![v0047T19] <>"" then Forms!fMAX1234_6![v0037T29] =Forms!fMAX1234_6![v0037T29]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0068 ' v0068T31 v0068T31: 'field number. ' #0048 ' v0048T32 v0048T32: 'field number. ' #0049 ' v0049T33 v0049T33: 'field number. ' #0090 ' v0090T34 v0090T34: 'field number. ' #0091 ' v0091T35 v0091T35: 'field number. ' #0092 ' v0092T36FRT v0092T36FRT: 'field number. ' #0093 ' v0093T37PAL v0093T37PAL: 'field number. ' #0094 ' v0094T38TOL v0094T38TOL: 'field number. ' #4000 =#3500 ' v4000T39BH: [v3500F309g7] Forms!fMAX1234_6![v4000T39BH] = Forms!fMAX1234_6!fMax5![v3500F309g7] 'equal another. ' #0069: if #0068 <>"" then #0069 =#0069*#0010 ' v0069F41: iif([v0068T31] <>"" ,[v0069F41] =[v0069F41]*[v0010Scale]) IF Forms!fMAX1234_6![v0068T31] <>"" then Forms!fMAX1234_6![v0069F41] =Forms!fMAX1234_6![v0069F41]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0050: if #0048 <>"" then #0050 =#0050*#0010 ' v0050F42: iif([v0048T32] <>"" ,[v0050F42] =[v0050F42]*[v0010Scale]) IF Forms!fMAX1234_6![v0048T32] <>"" then Forms!fMAX1234_6![v0050F42] =Forms!fMAX1234_6![v0050F42]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0051: if #0049 <>"" then #0051 =#0051*#0010 ' v0051F43: iif([v0049T33] <>"" ,[v0051F43] =[v0051F43]*[v0010Scale]) IF Forms!fMAX1234_6![v0049T33] <>"" then Forms!fMAX1234_6![v0051F43] =Forms!fMAX1234_6![v0051F43]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0052: if #0090 <>"" then #0052 =#0052*#0010 ' v0052F44: iif([v0090T34] <>"" ,[v0052F44] =[v0052F44]*[v0010Scale]) IF Forms!fMAX1234_6![v0090T34] <>"" then Forms!fMAX1234_6![v0052F44] =Forms!fMAX1234_6![v0052F44]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0053: if #0091 <>"" then #0053 =#0053*#0010 ' v0053F45: iif([v0091T35] <>"" ,[v0053F45] =[v0053F45]*[v0010Scale]) IF Forms!fMAX1234_6![v0091T35] <>"" then Forms!fMAX1234_6![v0053F45] =Forms!fMAX1234_6![v0053F45]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0054: if #0092 <>"" then #0054 =#0054*#0010 ' v0054F46: iif([v0092T36FRT] <>"" ,[v0054F46] =[v0054F46]*[v0010Scale]) IF Forms!fMAX1234_6![v0092T36FRT] <>"" then Forms!fMAX1234_6![v0054F46] =Forms!fMAX1234_6![v0054F46]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0060: if #0093 <>"" then #0060 =#0060*#0010 ' v0060F47: iif([v0093T37PAL] <>"" ,[v0060F47] =[v0060F47]*[v0010Scale]) IF Forms!fMAX1234_6![v0093T37PAL] <>"" then Forms!fMAX1234_6![v0060F47] =Forms!fMAX1234_6![v0060F47]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #0061: if #0094 <>"" then #0061 =#0061*#0010 ' v0061F48: iif([v0094T38TOL] <>"" ,[v0061F48] =[v0061F48]*[v0010Scale]) IF Forms!fMAX1234_6![v0094T38TOL] <>"" then Forms!fMAX1234_6![v0061F48] =Forms!fMAX1234_6![v0061F48]*Forms!fMAX1234_6![v0010Scale] End If 'if.h ' #4100 =#3505 ' v4100F49: [v3505F313k7] Forms!fMAX1234_6![v4100F49] = Forms!fMAX1234_6!fMax5![v3505F313k7] 'equal another. ' #0062 =#0062*#0010 ' v0062BelowMix: [v0062BelowMix]*[v0010Scale] Forms!fMAX1234_6![v0062BelowMix] = Forms!fMAX1234_6![v0062BelowMix]*Forms!fMAX1234_6![v0010Scale] 'equal another. '--- Page 2 - Fields moved to MaxItems --- ' #0063 =#0063*#0010 ' v0063KG: [v0063KG]*[v0010Scale] Forms!fMAX1234_6![v0063KG] = Forms!fMAX1234_6![v0063KG]*Forms!fMAX1234_6![v0010Scale] 'equal another. '---Page 3 --- ' #0218 ' v0218KG1 v0218KG1: 'field number. ' --- Fields but no formulas --- ' #0219 ' v0219KG2 v0219KG2: 'field number. ' #0220 ' v0220KG3 v0220KG3: 'field number. ' #0221 ' v0221KG4 v0221KG4: 'field number. ' #0255 ' v0255In v0255In: 'field number. ' #0417 ' v0417Out v0417Out: 'field number. ' #0254 ' v0254OU1 v0254OU1: 'field number. ' #0400 ' v0400RD v0400RD: 'field number. '--- page 4 --- ' #0100 =#0039 +"." +#0068 +"." +#0040 +"." +#0041 +"." +#0042 +"." +#0043 +"." +#0044 +"." +#0045 +"." +#0046 +"." +#0047 +"." +#0048 +"." +#0049 +"." +#0090 +"." +#0091 +"." +#0092 +"." +#0093 +"." +#0094 ' v0100LST: [v0039T11] +"." +[v0068T31] +"." +[v0040T12] +"." +[v0041T13] +"." +[v0042T14] +"." +[v0043T15] +"." +[v0044T16] +"." +[v0045T17] +"." +[v0046T18] +"." +[v0047T19] +"." +[v0048T32] +"." +[v0049T33] +"." +[v0090T34] +"." +[v0091T35] +"." +[v0092T36FRT] +"." +[v0093T37PAL] +"." +[v0094T38TOL] Forms!fMAX1234_6![v0100LST] = Forms!fMAX1234_6![v0039T11] +"." +Forms!fMAX1234_6![v0068T31] +"." +Forms!fMAX1234_6![v0040T12] +"." +Forms!fMAX1234_6![v0041T13] +"." +Forms!fMAX1234_6![v0042T14] +"." +Forms!fMAX1234_6![v0043T15] +"." +Forms!fMAX1234_6![v0044T16] +"." +Forms!fMAX1234_6![v0045T17] +"." +Forms!fMAX1234_6![v0046T18] +"." +Forms!fMAX1234_6![v0047T19] +"." +Forms!fMAX1234_6![v0048T32] +"." +Forms!fMAX1234_6![v0049T33] +"." +Forms!fMAX1234_6![v0090T34] +"." +Forms!fMAX1234_6![v0091T35] +"." +Forms!fMAX1234_6![v0092T36FRT] +"." +Forms!fMAX1234_6![v0093T37PAL] +"." +Forms!fMAX1234_6![v0094T38TOL] 'equal another. ' #9998: if #0202 <>"" and #0201 ="" then #9998 ="Y" else #9998 ="" ' v9998H1: iif([v0202Hardener] <>"" and [v0201Compound] ="" ,[v9998H1] ="Y" ,[v9998H1] ="") If Forms!fMAX1234_6![v0202Hardener] <>"" and Forms!fMAX1234_6![v0201Compound] ="" then Forms!fMAX1234_6![v9998H1] ="Y" Forms!fMAX1234_6![v9998H1] =" End If 'if and. ' #9997: if #0201 <>"" and #0202 ="" then #9997 ="Y" else #9997 ="" ' v9997C1: iif([v0201Compound] <>"" and [v0202Hardener] ="" ,[v9997C1] ="Y" ,[v9997C1] ="") If Forms!fMAX1234_6![v0201Compound] <>"" and Forms!fMAX1234_6![v0202Hardener] ="" then Forms!fMAX1234_6![v9997C1] ="Y" Forms!fMAX1234_6![v9997C1] =" End If 'if and. ' #9999: if #9998 ="" and #9997 ="" then #9999 ="Y" ' v9999B: iif([v9998H1] ="" and [v9997C1] ="" ,[v9999B] ="Y") IF Forms!fMAX1234_6![v9998H1] ="" and Forms!fMAX1234_6![v9997C1] ="" then Forms!fMAX1234_6![v9999B] ="Y" End If 'if.h ' #6000 =@USERID ' v6000PrintBy: @USERID Forms!fMAX1234_6![v6000PrintBy] = CurrentUser() 'equal another. ' #6001 =@TIME ' v6001AT: @TIME Forms!fMAX1234_6![v6001AT] = Time() 'equal another. ' #6002 =@DATE ' v6002ON: @DATE Forms!fMAX1234_6![v6002ON] = DATE 'equal another. ' #6003 =#6001 ' v6003AT: [v6001AT] Forms!fMAX1234_6![v6003AT] = Forms!fMAX1234_6![v6001AT] 'equal another. ' #6004 =#6002 ' v6004ON: [v6002ON] Forms!fMAX1234_6![v6004ON] = Forms!fMAX1234_6![v6002ON] 'equal another. ' #0390 ' v0390PC0 v0390PC0: 'field number. ' #0420: if #0390 <>"P" then begin if #0191 ="BULK" then #0420 ="" else #0420 =#0200 +#0406 END ' v0420CODE0: iif([v0390PC0] <>"P" ,begin iif([v0191PackSize] ="BULK" ,[v0420CODE0] ="" ,[v0420CODE0] =[v0200Packs] +[v0406F233j3] END)) If Forms!fMAX1234_6![v0390PC0] <>"P" and Forms!fMAX1234_6![v0191PackSize] ="BULK" then Forms!fMAX1234_6![v0420CODE0] ="" Forms!fMAX1234_6![v0420CODE0] =Forms!fMAX1234_6![v0200Packs] +Forms!fMAX1234_6!fMax5![v0406F233j3] End If 'if begin if. ' #0500: if #0420 ="" then #0500 ="" else #0500 =#0210 +2 ' v0500Q0: iif([v0420CODE0] ="" ,[v0500Q0] ="" ,[v0500Q0] =[v0210TimeAndMake] +2) Forms!fMAX1234_6![v0500Q0] =IIF(Forms!fMAX1234_6![v0420CODE0] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] +2) 'if.a1 ' #0509 ="HARDENER" ' v0509F0Hardener: "HARDENER" Forms!fMAX1234_6![v0509F0Hardener] = "HARDENER" 'equal another. ' #1930: if #0420 ="" then #1930 ="" else #1930 =#0620 ' v1930WO1: iif([v0420CODE0] ="" ,[v1930WO1] ="" ,[v1930WO1] =[v0620WO]) Forms!fMAX1234_6![v1930WO1] =IIF(Forms!fMAX1234_6![v0420CODE0] ="","" ,Forms!fMAX1234_6![v0620WO]) 'if.a1 ' #0391 ' v0391PC1 v0391PC1: 'field number. ' #0421: if #0391 <>"P" then begin if #0191 ="BULK" then #0421 ="" else #0421 =#0200 +#0407 END ' v0421CODE1: iif([v0391PC1] <>"P" ,begin iif([v0191PackSize] ="BULK" ,[v0421CODE1] ="" ,[v0421CODE1] =[v0200Packs] +[v0407F240q3c_stc] END)) If Forms!fMAX1234_6![v0391PC1] <>"P" and Forms!fMAX1234_6![v0191PackSize] ="BULK" then Forms!fMAX1234_6![v0421CODE1] ="" Forms!fMAX1234_6![v0421CODE1] =Forms!fMAX1234_6![v0200Packs] +Forms!fMAX1234_6!fMax5![v0407F240q3c_stc] End If 'if begin if. ' #0501: if #0421 ="" then #0501 ="" else #0501 =#0210 +2 ' v0501Q1: iif([v0421CODE1] ="" ,[v0501Q1] ="" ,[v0501Q1] =[v0210TimeAndMake] +2) Forms!fMAX1234_6![v0501Q1] =IIF(Forms!fMAX1234_6![v0421CODE1] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] +2) 'if.a1 ' #0510: if #0421 <>"" then #0510 ="COMPOUND" else #0510 ="" ' v0510F1Compound: iif([v0421CODE1] <>"" ,[v0510F1Compound] ="COMPOUND" ,[v0510F1Compound] ="") Forms!fMAX1234_6![v0510F1Compound] =IIF(Forms!fMAX1234_6![v0421CODE1] <>"","COMPOUND" ,"") 'if.a1 ' #1940: if #0421 ="" then #1940 ="" else #1940 =#0620 ' v1940WO1: iif([v0421CODE1] ="" ,[v1940WO1] ="" ,[v1940WO1] =[v0620WO]) Forms!fMAX1234_6![v1940WO1] =IIF(Forms!fMAX1234_6![v0421CODE1] ="","" ,Forms!fMAX1234_6![v0620WO]) 'if.a1 ' #0392 ' v0392PC2 v0392PC2: 'field number. ' #0422: if #0392 <>"P" then begin if #0191 ="BULK" then #0422 ="" else #0422 =#0200 +#0408 END ' v0422CODE2: iif([v0392PC2] <>"P" ,begin iif([v0191PackSize] ="BULK" ,[v0422CODE2] ="" ,[v0422CODE2] =[v0200Packs] +[v0408F242s3] END)) If Forms!fMAX1234_6![v0392PC2] <>"P" and Forms!fMAX1234_6![v0191PackSize] ="BULK" then Forms!fMAX1234_6![v0422CODE2] ="" Forms!fMAX1234_6![v0422CODE2] =Forms!fMAX1234_6![v0200Packs] +Forms!fMAX1234_6!fMax5![v0408F242s3] End If 'if begin if. ' #0502: if #0422 ="" then #0502 ="" else #0502 =#0210 +2 ' v0502Q2: iif([v0422CODE2] ="" ,[v0502Q2] ="" ,[v0502Q2] =[v0210TimeAndMake] +2) Forms!fMAX1234_6![v0502Q2] =IIF(Forms!fMAX1234_6![v0422CODE2] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] +2) 'if.a1 ' #0511: if #0422 <>"" then #0511 ="UNIT" else #0511 ="" ' v0511F2Unit: iif([v0422CODE2] <>"" ,[v0511F2Unit] ="UNIT" ,[v0511F2Unit] ="") Forms!fMAX1234_6![v0511F2Unit] =IIF(Forms!fMAX1234_6![v0422CODE2] <>"","UNIT" ,"") 'if.a1 ' #1950: if #0422 ="" then #1950 ="" else #1950 =#0620 ' v1950WO2: iif([v0422CODE2] ="" ,[v1950WO2] ="" ,[v1950WO2] =[v0620WO]) Forms!fMAX1234_6![v1950WO2] =IIF(Forms!fMAX1234_6![v0422CODE2] ="","" ,Forms!fMAX1234_6![v0620WO]) 'if.a1 ' #0393 ' v0393PC3 v0393PC3: 'field number. ' #0423: if #0393 <>"P" then begin if #0191 ="BULK" then #0423 ="" else #0423 =#0200 +#0408 END ' v0423CODE3: iif([v0393PC3] <>"P" ,begin iif([v0191PackSize] ="BULK" ,[v0423CODE3] ="" ,[v0423CODE3] =[v0200Packs] +[v0408F242s3] END)) If Forms!fMAX1234_6![v0393PC3] <>"P" and Forms!fMAX1234_6![v0191PackSize] ="BULK" then Forms!fMAX1234_6![v0423CODE3] ="" Forms!fMAX1234_6![v0423CODE3] =Forms!fMAX1234_6![v0200Packs] +Forms!fMAX1234_6!fMax5![v0408F242s3] End If 'if begin if. ' #0503: if #0423 ="" then #0503 ="" else #0503 =#0210 +2 ' v0503Q3: iif([v0423CODE3] ="" ,[v0503Q3] ="" ,[v0503Q3] =[v0210TimeAndMake] +2) Forms!fMAX1234_6![v0503Q3] =IIF(Forms!fMAX1234_6![v0423CODE3] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] +2) 'if.a1 ' #0512: if #0423 <>"" then #0512 ="ADDITIVE" else #0512 ="" ' v0512F3Additive: iif([v0423CODE3] <>"" ,[v0512F3Additive] ="ADDITIVE" ,[v0512F3Additive] ="") Forms!fMAX1234_6![v0512F3Additive] =IIF(Forms!fMAX1234_6![v0423CODE3] <>"","ADDITIVE" ,"") 'if.a1 ' #1960: if #0423 ="" then #1960 ="" else #1960 =#0620 ' v1960WO3: iif([v0423CODE3] ="" ,[v1960WO3] ="" ,[v1960WO3] =[v0620WO]) Forms!fMAX1234_6![v1960WO3] =IIF(Forms!fMAX1234_6![v0423CODE3] ="","" ,Forms!fMAX1234_6![v0620WO]) 'if.a1 ' #0394 ' v0394PC4 v0394PC4: 'field number. ' #0430: if #0394 <>"P" then begin if #0191 ="BULK" then #0430 ="" else #0430 =#0200 +#0418 END ' v0430CODE4: iif([v0394PC4] <>"P" ,begin iif([v0191PackSize] ="BULK" ,[v0430CODE4] ="" ,[v0430CODE4] =[v0200Packs] +[v0418F253j4] END)) If Forms!fMAX1234_6![v0394PC4] <>"P" and Forms!fMAX1234_6![v0191PackSize] ="BULK" then Forms!fMAX1234_6![v0430CODE4] ="" Forms!fMAX1234_6![v0430CODE4] =Forms!fMAX1234_6![v0200Packs] +Forms!fMAX1234_6!fMax5![v0418F253j4] End If 'if begin if. ' #0504: if #0430 ="" then #0504 ="" else #0504 =#0210 +2 ' v0504Q4: iif([v0430CODE4] ="" ,[v0504Q4] ="" ,[v0504Q4] =[v0210TimeAndMake] +2) Forms!fMAX1234_6![v0504Q4] =IIF(Forms!fMAX1234_6![v0430CODE4] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] +2) 'if.a1 ' #0513: if #0430 <>"" then #0513 ="INNER" else #0513 ="" ' v0513F4Inner: iif([v0430CODE4] <>"" ,[v0513F4Inner] ="INNER" ,[v0513F4Inner] ="") Forms!fMAX1234_6![v0513F4Inner] =IIF(Forms!fMAX1234_6![v0430CODE4] <>"","INNER" ,"") 'if.a1 ' #1970: if #0430 ="" then #1970 ="" else #1970 =#0620 ' v1970WO4: iif([v0430CODE4] ="" ,[v1970WO4] ="" ,[v1970WO4] =[v0620WO]) Forms!fMAX1234_6![v1970WO4] =IIF(Forms!fMAX1234_6![v0430CODE4] ="","" ,Forms!fMAX1234_6![v0620WO]) 'if.a1 ' #0395 ' v0395PC5 v0395PC5: 'field number. ' #0440: if #0395 <>"P" then begin if #0191 ="BULK" then #0440 ="" else #0440 =#0200 +#0409 +#0410 +#0418 END ' v0440CODE5: iif([v0395PC5] <>"P" ,begin iif([v0191PackSize] ="BULK" ,[v0440CODE5] ="" ,[v0440CODE5] =[v0200Packs] +[v0409F245c4] +[v0410F246] +[v0418F253j4] END)) If Forms!fMAX1234_6![v0395PC5] <>"P" and Forms!fMAX1234_6![v0191PackSize] ="BULK" then Forms!fMAX1234_6![v0440CODE5] ="" Forms!fMAX1234_6![v0440CODE5] =Forms!fMAX1234_6![v0200Packs] +Forms!fMAX1234_6!fMax5![v0409F245c4] +Forms!fMAX1234_6!fMax5![v0410F246] +Forms!fMAX1234_6!fMax5![v0418F253j4] End If 'if begin if. ' #0505: if #0440 ="" then #0505 ="" else #0505 =#0210 /(#0254 +.001) +2 ' v0505Q5: iif([v0440CODE5] ="" ,[v0505Q5] ="" ,[v0505Q5] =[v0210TimeAndMake] /([v0254OU1] +.001) +2) Forms!fMAX1234_6![v0505Q5] =IIF(Forms!fMAX1234_6![v0440CODE5] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] /(Forms!fMAX1234_6![v0254OU1] +.001) +2) 'if.a1 ' #0514: if #0440 <>"" then #0514 ="OUTER" else #0514 ="" ' v0514F5Outer: iif([v0440CODE5] <>"" ,[v0514F5Outer] ="OUTER" ,[v0514F5Outer] ="") Forms!fMAX1234_6![v0514F5Outer] =IIF(Forms!fMAX1234_6![v0440CODE5] <>"","OUTER" ,"") 'if.a1 ' #1980: if #0440 ="" then #1980 ="" else #1980 =#0620 ' v1980WO5: iif([v0440CODE5] ="" ,[v1980WO5] ="" ,[v1980WO5] =[v0620WO]) Forms!fMAX1234_6![v1980WO5] =IIF(Forms!fMAX1234_6![v0440CODE5] ="","" ,Forms!fMAX1234_6![v0620WO]) 'if.a1 ' #0396 ' v0396PC6 v0396PC6: 'field number. ' #0450 ' v0450Code6 v0450Code6: 'field number. ' #0506 ' v0506Q6 v0506Q6: 'field number. ' #1990: if #0450 ="" then #1990 ="" else #1990 =#0620 ' v1990WO6: iif([v0450Code6] ="" ,[v1990WO6] ="" ,[v1990WO6] =[v0620WO]) Forms!fMAX1234_6![v1990WO6] =IIF(Forms!fMAX1234_6![v0450Code6] ="","" ,Forms!fMAX1234_6![v0620WO]) 'if.a1 ' #0954 ' v0954Prod v0954Prod: 'field number. ' #0939 ' v0939H2 v0939H2: 'field number. ' #0956 ' v0956HColon v0956HColon: 'field number. ' #0941 ' v0941HH v0941HH: 'field number. ' #0947 ' v0947CC v0947CC: 'field number. ' #0957 ' v0957UU v0957UU: 'field number. ' #1116 ' v1116I v1116I: 'field number. ' #0955 ' v0955O v0955O: 'field number. ' #0959 ' v0959A v0959A: 'field number. ' #0960 ' v0960U v0960U: 'field number. ' #1117 ' v1117I v1117I: 'field number. ' #0962 ' v0962O v0962O: 'field number. ' #0969 ' v0969Colon v0969Colon: 'field number. '--- page 5 --- ' #0600 ="STH" ' v0600Lab0: "STH" Forms!fMAX1234_6![v0600Lab0] = "STH" 'equal another. ' #0601 ="STC" ' v0601Lab1: "STC" Forms!fMAX1234_6![v0601Lab1] = "STC" 'equal another. ' #0602 ="STY" ' v0602Lab2: "STY" Forms!fMAX1234_6![v0602Lab2] = "STY" 'equal another. ' #0603 ="STY" ' v0603Lab3: "STY" Forms!fMAX1234_6![v0603Lab3] = "STY" 'equal another. ' #0604 ="STZ" ' v0604Lab4: "STZ" Forms!fMAX1234_6![v0604Lab4] = "STZ" 'equal another. ' #0605 ="STZ" ' v0605Lab5: "STZ" Forms!fMAX1234_6![v0605Lab5] = "STZ" 'equal another. ' #1850: if #0600 ="" then #1850 ="" else #1850 =#0210 +2 ' v1850Qty0: iif([v0600Lab0] ="" ,[v1850Qty0] ="" ,[v1850Qty0] =[v0210TimeAndMake] +2) Forms!fMAX1234_6![v1850Qty0] =IIF(Forms!fMAX1234_6![v0600Lab0] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] +2) 'if.a1 ' #1860: if #0601 ="" then #1860 ="" else #1860 =#0210 +2 ' v1860Qty1: iif([v0601Lab1] ="" ,[v1860Qty1] ="" ,[v1860Qty1] =[v0210TimeAndMake] +2) Forms!fMAX1234_6![v1860Qty1] =IIF(Forms!fMAX1234_6![v0601Lab1] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] +2) 'if.a1 ' #1870: if #0602 ="" then #1870 ="" else #1870 =#0210 +2 ' v1870Qty2: iif([v0602Lab2] ="" ,[v1870Qty2] ="" ,[v1870Qty2] =[v0210TimeAndMake] +2) Forms!fMAX1234_6![v1870Qty2] =IIF(Forms!fMAX1234_6![v0602Lab2] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] +2) 'if.a1 ' #1880: if #0603 ="" then #1880 ="" else #1880 =#0210 +2 ' v1880Qty3: iif([v0603Lab3] ="" ,[v1880Qty3] ="" ,[v1880Qty3] =[v0210TimeAndMake] +2) Forms!fMAX1234_6![v1880Qty3] =IIF(Forms!fMAX1234_6![v0603Lab3] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] +2) 'if.a1 ' #1890: if #0604 ="" then #1890 ="" else #1890 =#0210 +2 ' v1890Qty4: iif([v0604Lab4] ="" ,[v1890Qty4] ="" ,[v1890Qty4] =[v0210TimeAndMake] +2) Forms!fMAX1234_6![v1890Qty4] =IIF(Forms!fMAX1234_6![v0604Lab4] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] +2) 'if.a1 ' #1895: if #0605 ="" then #1895 ="" else #1895 =#0210 /(#0254 +.001) +2 ' v1895Qty5: iif([v0605Lab5] ="" ,[v1895Qty5] ="" ,[v1895Qty5] =[v0210TimeAndMake] /([v0254OU1] +.001) +2) Forms!fMAX1234_6![v1895Qty5] =IIF(Forms!fMAX1234_6![v0605Lab5] ="","" ,Forms!fMAX1234_6![v0210TimeAndMake] /(Forms!fMAX1234_6![v0254OU1] +.001) +2) 'if.a1 ' #3025 ' v3025Toll v3025Toll: 'field number. ' #3070 ' v3070EpiCan v3070EpiCan: 'field number. ' #3085 ' v3085EpiCan1Car v3085EpiCan1Car: 'field number. ' #3100 ' v3100EpiCan2Car v3100EpiCan2Car: 'field number. ' #2900: if #0255 <>"" then #2900 ="Y" else #2900 ="" ' v2900I3a0: iif([v0255In] <>"" ,[v2900I3a0] ="Y" ,[v2900I3a0] ="") Forms!fMAX1234_6!fMax5![v2900I3a0] =IIF(Forms!fMAX1234_6![v0255In] <>"","Y" ,"") 'if.a1 ' #2910: if #0417 <>"" then #2910 ="Y" else #2910 ="" ' v2910O3c0: iif([v0417Out] <>"" ,[v2910O3c0] ="Y" ,[v2910O3c0] ="") Forms!fMAX1234_6!fMax5![v2910O3c0] =IIF(Forms!fMAX1234_6![v0417Out] <>"","Y" ,"") 'if.a1 ' #2921: if #3100 <>"Y" and #3085 <>"Y" then #3070 ="Y" else #3070 ="" ' v2921d0: iif([v3100EpiCan2Car] <>"Y" and [v3085EpiCan1Car] <>"Y" ,[v3070EpiCan] ="Y" ,[v3070EpiCan] ="") If Forms!fMAX1234_6![v3100EpiCan2Car] <>"Y" and Forms!fMAX1234_6![v3085EpiCan1Car] <>"Y" then Forms!fMAX1234_6![v3070EpiCan] ="Y" Forms!fMAX1234_6![v3070EpiCan] =" End If 'if and. ' #2915: if #2900 ="" or #2910 ="" then #3085 ="Y" else #3085 ="" ' v2915e0: iif([v2900I3a0] ="" or [v2910O3c0] ="" ,[v3085EpiCan1Car] ="Y" ,[v3085EpiCan1Car] ="") If Forms!fMAX1234_6!fMax5![v2900I3a0] ="" or Forms!fMAX1234_6!fMax5![v2910O3c0] ="" then Forms!fMAX1234_6![v3085EpiCan1Car] ="Y" Forms!fMAX1234_6![v3085EpiCan1Car] =" End If 'if or. ' #2917: if #2900 ="" and #2910 ="" then #3085 ="" ' v2917f0: iif([v2900I3a0] ="" and [v2910O3c0] ="" ,[v3085EpiCan1Car] ="") IF Forms!fMAX1234_6!fMax5![v2900I3a0] ="" and Forms!fMAX1234_6!fMax5![v2910O3c0] ="" then Forms!fMAX1234_6![v3085EpiCan1Car] ="" End If 'if.i ' #2920: if #2900 ="Y" and #2910 ="Y" then #3100 ="Y" else #3100 ="" ' v2920g0: iif([v2900I3a0] ="Y" and [v2910O3c0] ="Y" ,[v3100EpiCan2Car] ="Y" ,[v3100EpiCan2Car] ="") If Forms!fMAX1234_6!fMax5![v2900I3a0] ="Y" and Forms!fMAX1234_6!fMax5![v2910O3c0] ="Y" then Forms!fMAX1234_6![v3100EpiCan2Car] ="Y" Forms!fMAX1234_6![v3100EpiCan2Car] =" End If 'if and. ' #2922: if #3025 ="X" then begin #3070 =""; #3085 =""; #3100 =""; end ' v2922h0: iif([v3025Toll] ="X" ,begin [v3070EpiCan] ="", [v3085EpiCan1Car] ="", [v3100EpiCan2Car] ="", end) If Forms!fMAX1234_6![v3025Toll] ="X" then Forms!fMAX1234_6![v3070EpiCan] ="" Forms!fMAX1234_6![v3085EpiCan1Car] ="" Forms!fMAX1234_6![v3100EpiCan2Car] ="" End If 'if begin. ' #3010 ' v3010CostIGj0 v3010CostIGj0: 'field number. ' #3020: if #3010 =$0.50then #3020 =#2350 +#3010 ' v3020k0: iif([v3010CostIGj0] =$0.50,[v3020k0] =[v2350F307e7] +[v3010CostIGj0]) IF Forms!fMAX1234_6!fMax5![v3010CostIGj0] =0.50 then Forms!fMAX1234_6!fMax5![v3020k0] =Forms!fMAX1234_6!fMax5![v2350F307e7] +Forms!fMAX1234_6!fMax5![v3010CostIGj0] End If 'if.h ' #3030: lookup(#3025,2, #3030) ' v3030l0: lookup([v3025Toll],2, [v3030l0]) Forms!fMAX1234_6!fMax5![v3030l0] = dlookup("N2","LookUp","Key=Forms!fMAX1234_6![v3025Toll]") 'lookup. ' #3035: if #3030 =1.04then #3035 =#2350*#3030 ' v3035m0: iif([v3030l0] =1.04,[v3035m0] =[v2350F307e7]*[v3030l0]) IF Forms!fMAX1234_6!fMax5![v3030l0] =1.04 then Forms!fMAX1234_6!fMax5![v3035m0] =Forms!fMAX1234_6!fMax5![v2350F307e7]*Forms!fMAX1234_6!fMax5![v3030l0] End If 'if.h ' #3045 ' v3045AVn0 v3045AVn0: 'field number. ' #3050: if #3045 =$5.00then #3050 =#2350 +#3045 ' v3050o0: iif([v3045AVn0] =$5.00,[v3050o0] =[v2350F307e7] +[v3045AVn0]) IF Forms!fMAX1234_6!fMax5![v3045AVn0] =5.00 then Forms!fMAX1234_6!fMax5![v3050o0] =Forms!fMAX1234_6!fMax5![v2350F307e7] +Forms!fMAX1234_6!fMax5![v3045AVn0] End If 'if.h ' #3060 ' v3060F50p0 v3060F50p0: 'field number. ' #3065: if #3060 =1.20then #3065 =#2350*#3060 ' v3065q0: iif([v3060F50p0] =1.20,[v3065q0] =[v2350F307e7]*[v3060F50p0]) IF Forms!fMAX1234_6!fMax5![v3060F50p0] =1.20 then Forms!fMAX1234_6!fMax5![v3065q0] =Forms!fMAX1234_6!fMax5![v2350F307e7]*Forms!fMAX1234_6!fMax5![v3060F50p0] End If 'if.h ' #3075: lookup(#3070,2, #3075) ' v3075F184r0: lookup([v3070EpiCan],2, [v3075F184r0]) Forms!fMAX1234_6!fMax5![v3075F184r0] = dlookup("N2","LookUp","Key=Forms!fMAX1234_6![v3070EpiCan]") 'lookup. ' #3080: if #3075 =1.11then #3080 =#2350*#3075else #3080 ="" ' v3080F185a1: iif([v3075F184r0] =1.11,[v3080F185a1] =[v2350F307e7]*[v3075F184r0],[v3080F185a1] ="") Forms!fMAX1234_6!fMax5![v3080F185a1] =IIF(Forms!fMAX1234_6!fMax5![v3075F184r0] =1.11,Forms!fMAX1234_6!fMax5![v2350F307e7]*Forms!fMAX1234_6!fMax5![v3075F184r0],"") 'if.a1 ' #3090: lookup(#3085,3, #3090) ' v3090F186b1: lookup([v3085EpiCan1Car],3, [v3090F186b1]) Forms!fMAX1234_6!fMax5![v3090F186b1] = dlookup("N3","LookUp","Key=Forms!fMAX1234_6![v3085EpiCan1Car]") 'lookup. ' #3095: if #3090 =1.14then #3095 =#2350*#3090else #3095 ="" ' v3095F187c1: iif([v3090F186b1] =1.14,[v3095F187c1] =[v2350F307e7]*[v3090F186b1],[v3095F187c1] ="") Forms!fMAX1234_6!fMax5![v3095F187c1] =IIF(Forms!fMAX1234_6!fMax5![v3090F186b1] =1.14,Forms!fMAX1234_6!fMax5![v2350F307e7]*Forms!fMAX1234_6!fMax5![v3090F186b1],"") 'if.a1 ' #3105: lookup(#3100,4, #3105) ' v3105F188d1: lookup([v3100EpiCan2Car],4, [v3105F188d1]) Forms!fMAX1234_6!fMax5![v3105F188d1] = dlookup("N4","LookUp","Key=Forms!fMAX1234_6![v3100EpiCan2Car]") 'lookup. ' #3110: if #3105 =1.16then #3110 =#2350*#3105else #3110 ="" ' v3110F189e1: iif([v3105F188d1] =1.16,[v3110F189e1] =[v2350F307e7]*[v3105F188d1],[v3110F189e1] ="") Forms!fMAX1234_6!fMax5![v3110F189e1] =IIF(Forms!fMAX1234_6!fMax5![v3105F188d1] =1.16,Forms!fMAX1234_6!fMax5![v2350F307e7]*Forms!fMAX1234_6!fMax5![v3105F188d1],"") 'if.a1 ' #3115 ' v3115F190f1 v3115F190f1: 'field number. ' #3120: lookup(#3115,1, #3120) ' v3120F191g1: lookup([v3115F190f1],1, [v3120F191g1]) Forms!fMAX1234_6!fMax5![v3120F191g1] = dlookup("N1","LookUp","Key=Forms!fMAX1234_6!fMax5![v3115F190f1]") 'lookup. ' #3125 =(#3020 +#3035 +#3050 +#3065 +#3080 +#3095 +#3110) *#3120 ' v3125F192h1: ([v3020k0] +[v3035m0] +[v3050o0] +[v3065q0] +[v3080F185a1] +[v3095F187c1] +[v3110F189e1]) *[v3120F191g1] Forms!fMAX1234_6!fMax5![v3125F192h1] = (Forms!fMAX1234_6!fMax5![v3020k0] +Forms!fMAX1234_6!fMax5![v3035m0] +Forms!fMAX1234_6!fMax5![v3050o0] +Forms!fMAX1234_6!fMax5![v3065q0] +Forms!fMAX1234_6!fMax5![v3080F185a1] +Forms!fMAX1234_6!fMax5![v3095F187c1] +Forms!fMAX1234_6!fMax5![v3110F189e1]) *Forms!fMAX1234_6!fMax5![v3120F191g1] 'equal another. ' #3130 ' v3130F193i1 v3130F193i1: 'field number. ' #3135: lookup(#3130,2, #3135) ' v3135F194j1: lookup([v3130F193i1],2, [v3135F194j1]) Forms!fMAX1234_6!fMax5![v3135F194j1] = dlookup("N2","LookUp","Key=Forms!fMAX1234_6!fMax5![v3130F193i1]") 'lookup. ' #3140 =(#3020 +#3035 +#3050 +#3065 +#3080 +#3095 +#3110) *#3135 ' v3140F195k1: ([v3020k0] +[v3035m0] +[v3050o0] +[v3065q0] +[v3080F185a1] +[v3095F187c1] +[v3110F189e1]) *[v3135F194j1] Forms!fMAX1234_6!fMax5![v3140F195k1] = (Forms!fMAX1234_6!fMax5![v3020k0] +Forms!fMAX1234_6!fMax5![v3035m0] +Forms!fMAX1234_6!fMax5![v3050o0] +Forms!fMAX1234_6!fMax5![v3065q0] +Forms!fMAX1234_6!fMax5![v3080F185a1] +Forms!fMAX1234_6!fMax5![v3095F187c1] +Forms!fMAX1234_6!fMax5![v3110F189e1]) *Forms!fMAX1234_6!fMax5![v3135F194j1] 'equal another. ' #3145 ' v3145F196l1 v3145F196l1: 'field number. ' #3150: lookup(#3145,3, #3150) ' v3150F197m1: lookup([v3145F196l1],3, [v3150F197m1]) Forms!fMAX1234_6!fMax5![v3150F197m1] = dlookup("N3","LookUp","Key=Forms!fMAX1234_6!fMax5![v3145F196l1]") 'lookup. ' #3155 =(#3020 +#3035 +#3050 +#3065 +#3080 +#3095 +#3110) *#3150 ' v3155F198n1: ([v3020k0] +[v3035m0] +[v3050o0] +[v3065q0] +[v3080F185a1] +[v3095F187c1] +[v3110F189e1]) *[v3150F197m1] Forms!fMAX1234_6!fMax5![v3155F198n1] = (Forms!fMAX1234_6!fMax5![v3020k0] +Forms!fMAX1234_6!fMax5![v3035m0] +Forms!fMAX1234_6!fMax5![v3050o0] +Forms!fMAX1234_6!fMax5![v3065q0] +Forms!fMAX1234_6!fMax5![v3080F185a1] +Forms!fMAX1234_6!fMax5![v3095F187c1] +Forms!fMAX1234_6!fMax5![v3110F189e1]) *Forms!fMAX1234_6!fMax5![v3150F197m1] 'equal another. ' #3160 ' v3160F199o1 v3160F199o1: 'field number. ' #3165: lookup(#3160,4, #3165) ' v3165F200p1: lookup([v3160F199o1],4, [v3165F200p1]) Forms!fMAX1234_6!fMax5![v3165F200p1] = dlookup("N4","LookUp","Key=Forms!fMAX1234_6!fMax5![v3160F199o1]") 'lookup. ' #3170 =(#3020 +#3035 +#3050 +#3065 +#3080 +#3095 +#3110) *#3165 ' v3170F201q1: ([v3020k0] +[v3035m0] +[v3050o0] +[v3065q0] +[v3080F185a1] +[v3095F187c1] +[v3110F189e1]) *[v3165F200p1] Forms!fMAX1234_6!fMax5![v3170F201q1] = (Forms!fMAX1234_6!fMax5![v3020k0] +Forms!fMAX1234_6!fMax5![v3035m0] +Forms!fMAX1234_6!fMax5![v3050o0] +Forms!fMAX1234_6!fMax5![v3065q0] +Forms!fMAX1234_6!fMax5![v3080F185a1] +Forms!fMAX1234_6!fMax5![v3095F187c1] +Forms!fMAX1234_6!fMax5![v3110F189e1]) *Forms!fMAX1234_6!fMax5![v3165F200p1] 'equal another. ' #1800: if #0003 ="N" then begin #0420 =""; #0500 =""; #0509 =""; #0600 =""; #1930 =""; end ' v1800LablSs1: iif([v0003H] ="N" ,begin [v0420CODE0] ="", [v0500Q0] ="", [v0509F0Hardener] ="", [v0600Lab0] ="", [v1930WO1] ="", end) If Forms!fMAX1234_6![v0003H] ="N" then Forms!fMAX1234_6![v0420CODE0] ="" Forms!fMAX1234_6![v0500Q0] ="" Forms!fMAX1234_6![v0509F0Hardener] ="" Forms!fMAX1234_6![v0600Lab0] ="" Forms!fMAX1234_6![v1930WO1] ="" End If 'if begin. ' #1810: if #0008 ="N" then begin #0422 =""; #0502 =""; #0511 =""; #0602 =""; #1950 =""; end ' v1810F202t1: iif([v0008U2] ="N" ,begin [v0422CODE2] ="", [v0502Q2] ="", [v0511F2Unit] ="", [v0602Lab2] ="", [v1950WO2] ="", end) If Forms!fMAX1234_6![v0008U2] ="N" then Forms!fMAX1234_6![v0422CODE2] ="" Forms!fMAX1234_6![v0502Q2] ="" Forms!fMAX1234_6![v0511F2Unit] ="" Forms!fMAX1234_6![v0602Lab2] ="" Forms!fMAX1234_6![v1950WO2] ="" End If 'if begin. ' #1805: if #0004 ="N" then begin #0421 =""; #0501 =""; #0510 =""; #0601 =""; #1940 =""; end ' v1805F203u1: iif([v0004C] ="N" ,begin [v0421CODE1] ="", [v0501Q1] ="", [v0510F1Compound] ="", [v0601Lab1] ="", [v1940WO1] ="", end) If Forms!fMAX1234_6![v0004C] ="N" then Forms!fMAX1234_6![v0421CODE1] ="" Forms!fMAX1234_6![v0501Q1] ="" Forms!fMAX1234_6![v0510F1Compound] ="" Forms!fMAX1234_6![v0601Lab1] ="" Forms!fMAX1234_6![v1940WO1] ="" End If 'if begin. ' #1815: if #0007 ="N" then begin #0423 =""; #0503 =""; #0512 =""; #0603 =""; #1960 =""; end ' v1815F204a2: iif([v0007A2] ="N" ,begin [v0423CODE3] ="", [v0503Q3] ="", [v0512F3Additive] ="", [v0603Lab3] ="", [v1960WO3] ="", end) If Forms!fMAX1234_6![v0007A2] ="N" then Forms!fMAX1234_6![v0423CODE3] ="" Forms!fMAX1234_6![v0503Q3] ="" Forms!fMAX1234_6![v0512F3Additive] ="" Forms!fMAX1234_6![v0603Lab3] ="" Forms!fMAX1234_6![v1960WO3] ="" End If 'if begin. ' #1200: if #0001 ="" then #0620 ="******" ' v1200F205b2: iif([v0001T] ="" ,[v0620WO] ="******") IF Forms!fMAX1234_6![v0001T] ="" then Forms!fMAX1234_6![v0620WO] ="******" End If 'if.i ' #1820: if #0016 ="N" then begin #0430 =""; #0504 =""; #0513 =""; #0604 =""; #1970 =""; end ' v1820F206c2: iif([v0016I2] ="N" ,begin [v0430CODE4] ="", [v0504Q4] ="", [v0513F4Inner] ="", [v0604Lab4] ="", [v1970WO4] ="", end) If Forms!fMAX1234_6![v0016I2] ="N" then Forms!fMAX1234_6![v0430CODE4] ="" Forms!fMAX1234_6![v0504Q4] ="" Forms!fMAX1234_6![v0513F4Inner] ="" Forms!fMAX1234_6![v0604Lab4] ="" Forms!fMAX1234_6![v1970WO4] ="" End If 'if begin. ' #1111: if #0012 ="2810" then #0969 ="ADD POISON LABELS" else #0969 ="" ' v1111F207d2: iif([v0012UN3] ="2810" ,[v0969Colon] ="ADD POISON LABELS" ,[v0969Colon] ="") IF Forms!fMAX1234_6![v0012UN3] ="2810" then Forms!fMAX1234_6![v0969Colon] ="ADD POISON LABELS" Else Forms!fMAX1234_6![v0969Colon] ="" End If 'if.f ' #1825: if #0017 ="N" then begin #0440 =""; #0505 =""; #0514 =""; #0605 =""; #1980 =""; end ' v1825F208e2: iif([v0017O2] ="N" ,begin [v0440CODE5] ="", [v0505Q5] ="", [v0514F5Outer] ="", [v0605Lab5] ="", [v1980WO5] ="", end) If Forms!fMAX1234_6![v0017O2] ="N" then Forms!fMAX1234_6![v0440CODE5] ="" Forms!fMAX1234_6![v0505Q5] ="" Forms!fMAX1234_6![v0514F5Outer] ="" Forms!fMAX1234_6![v0605Lab5] ="" Forms!fMAX1234_6![v1980WO5] ="" End If 'if begin. ' #1100: if #0956 <>"" then lookup(#0218,2, #0941) ' v1100F209f2: iif([v0956HColon] <>"" ,lookup([v0218KG1],2, [v0941HH])) If Forms!fMAX1234_6![v0956HColon] <>"" then Forms!fMAX1234_6![v0941HH] = dlookup("N2","LOOKUP","Key=Forms!fMAX1234_6![v0218KG1]") End If 'if lookup. ' #1110: if #0956 <>"" then lookup(#0221,2, #0959) ' v1110F210g2: iif([v0956HColon] <>"" ,lookup([v0221KG4],2, [v0959A])) If Forms!fMAX1234_6![v0956HColon] <>"" then Forms!fMAX1234_6![v0959A] = dlookup("N2","LOOKUP","Key=Forms!fMAX1234_6![v0221KG4]") End If 'if lookup. ' #1120: if #0954 <>"" then lookup(#0220,1, #0957) ' v1120F211h2: iif([v0954Prod] <>"" ,lookup([v0220KG3],1, [v0957UU])) If Forms!fMAX1234_6![v0954Prod] <>"" then Forms!fMAX1234_6![v0957UU] = dlookup("N1","LOOKUP","Key=Forms!fMAX1234_6![v0220KG3]") End If 'if lookup. ' #1130: if #0956 <>"" then lookup(#0220,2, #0960) ' v1130F212i2: iif([v0956HColon] <>"" ,lookup([v0220KG3],2, [v0960U])) If Forms!fMAX1234_6![v0956HColon] <>"" then Forms!fMAX1234_6![v0960U] = dlookup("N2","LOOKUP","Key=Forms!fMAX1234_6![v0220KG3]") End If 'if lookup. ' #1140: if #0956 <>"" then lookup(#0255,2, #1117) ' v1140F213j2: iif([v0956HColon] <>"" ,lookup([v0255In],2, [v1117I])) If Forms!fMAX1234_6![v0956HColon] <>"" then Forms!fMAX1234_6![v1117I] = dlookup("N2","LOOKUP","Key=Forms!fMAX1234_6![v0255In]") End If 'if lookup. ' #1150: if #0956 <>"" then lookup(#0417,2, #0962) ' v1150F214k2: iif([v0956HColon] <>"" ,lookup([v0417Out],2, [v0962O])) If Forms!fMAX1234_6![v0956HColon] <>"" then Forms!fMAX1234_6![v0962O] = dlookup("N2","LOOKUP","Key=Forms!fMAX1234_6![v0417Out]") End If 'if lookup. ' #0899: if #0954 <>"" then lookup(#0218,1, #0939) ' v0899F215l2: iif([v0954Prod] <>"" ,lookup([v0218KG1],1, [v0939H2])) If Forms!fMAX1234_6![v0954Prod] <>"" then Forms!fMAX1234_6![v0939H2] = dlookup("N1","LOOKUP","Key=Forms!fMAX1234_6![v0218KG1]") End If 'if lookup. ' #8000: if #5025 ="MC =" then begin #1930 =""; #1940 =""; #1950 =""; #1960 =""; #1970 =""; #1980 =""; #1990 ="" END ' v8000F216m2: iif([v5025WONum] ="MC =" ,begin [v1930WO1] ="", [v1940WO1] ="", [v1950WO2] ="", [v1960WO3] ="", [v1970WO4] ="", [v1980WO5] ="", [v1990WO6] ="" END) If Forms!fMAX1234_6![v5025WONum] ="MC =" then Forms!fMAX1234_6![v1930WO1] ="" Forms!fMAX1234_6![v1940WO1] ="" Forms!fMAX1234_6![v1950WO2] ="" Forms!fMAX1234_6![v1960WO3] ="" Forms!fMAX1234_6![v1970WO4] ="" Forms!fMAX1234_6![v1980WO5] ="" End If 'if begin. ' #1002: if #0954 <>"" then lookup(#0219,1, #0947) ' v1002F217n2: iif([v0954Prod] <>"" ,lookup([v0219KG2],1, [v0947CC])) If Forms!fMAX1234_6![v0954Prod] <>"" then Forms!fMAX1234_6![v0947CC] = dlookup("N1","LOOKUP","Key=Forms!fMAX1234_6![v0219KG2]") End If 'if lookup. ' #1003: if #0954 <>"" then lookup(#0255,1, #1116) ' v1003F218o2: iif([v0954Prod] <>"" ,lookup([v0255In],1, [v1116I])) If Forms!fMAX1234_6![v0954Prod] <>"" then Forms!fMAX1234_6![v1116I] = dlookup("N1","LOOKUP","Key=Forms!fMAX1234_6![v0255In]") End If 'if lookup. ' #1004: if #0954 <>"" then lookup(#0417,1, #0955) ' v1004F219p2: iif([v0954Prod] <>"" ,lookup([v0417Out],1, [v0955O])) If Forms!fMAX1234_6![v0954Prod] <>"" then Forms!fMAX1234_6![v0955O] = dlookup("N1","LOOKUP","Key=Forms!fMAX1234_6![v0417Out]") End If 'if lookup. ' #1005: if #0011 ="1760" then #0956 ="ADD CORROSIVE LABELS" else #0956 ="" ' v1005F220q2: iif([v0011UN] ="1760" ,[v0956HColon] ="ADD CORROSIVE LABELS" ,[v0956HColon] ="") IF Forms!fMAX1234_6![v0011UN] ="1760" then Forms!fMAX1234_6![v0956HColon] ="ADD CORROSIVE LABELS" Else Forms!fMAX1234_6![v0956HColon] ="" End If 'if.f ' #0412: if #0012 ="2810" then #0408 =".STX" ' v0412F221r2: iif([v0012UN3] ="2810" ,[v0408F242s3] =".STX") IF Forms!fMAX1234_6![v0012UN3] ="2810" then Forms!fMAX1234_6!fMax5![v0408F242s3] =".STX" End If 'if.i ' #0975: if #0005 ="1993" then #0954 ="ADD FLAMMABLE LABELS" else #0954 ="" ' v0975F222s2: iif([v0005UN2] ="1993" ,[v0954Prod] ="ADD FLAMMABLE LABELS" ,[v0954Prod] ="") IF Forms!fMAX1234_6![v0005UN2] ="1993" then Forms!fMAX1234_6![v0954Prod] ="ADD FLAMMABLE LABELS" Else Forms!fMAX1234_6![v0954Prod] ="" End If 'if.f ' #0980 ' v0980F223t2 v0980F223t2: 'field number. ' #0990: if #0005 ="1993" then #0950 ="*FLAMMABLE*" ' v0990F224a3: iif([v0005UN2] ="1993" ,[v0950Proprietary] ="*FLAMMABLE*") IF Forms!fMAX1234_6![v0005UN2] ="1993" then Forms!fMAX1234_6![v0950Proprietary] ="*FLAMMABLE*" End If 'if.i ' #0991 ' v0991F225b3 v0991F225b3: 'field number. ' #1011: if #0200 ="293008" then #0422 ="293008.SOC" ' v1011F266c3: iif([v0200Packs] ="293008" ,[v0422CODE2] ="293008.SOC") IF Forms!fMAX1234_6![v0200Packs] ="293008" then Forms!fMAX1234_6![v0422CODE2] ="293008.SOC" End If 'if.i ' #1012: if #0200 ="992280" then #0430 ="992280.SOC" ' v1012F227d3: iif([v0200Packs] ="992280" ,[v0430CODE4] ="992280.SOC") IF Forms!fMAX1234_6![v0200Packs] ="992280" then Forms!fMAX1234_6![v0430CODE4] ="992280.SOC" End If 'if.i ' #0415: if #0413 ="Y" then begin #0406 ="H.STB"; #0407 ="C.STA"; end ' v0415F228e3: iif([v0413S] ="Y" ,begin [v0406F233j3] ="H.STB", [v0407F240q3c_stc] ="C.STA", end) If Forms!fMAX1234_6![v0413S] ="Y" then Forms!fMAX1234_6!fMax5![v0406F233j3] ="H.STB" Forms!fMAX1234_6!fMax5![v0407F240q3c_stc] ="C.STA" End If 'if begin. ' #8999: if #0200 ="" then #0422 =#0190 +".STY" ' v8999F229f3: iif([v0200Packs] ="" ,[v0422CODE2] =[v0190Product] +".STY") IF Forms!fMAX1234_6![v0200Packs] ="" then Forms!fMAX1234_6![v0422CODE2] =Forms!fMAX1234_6![v0190Product] +".STY" End If 'if.i ' #0416: if #0414 ="Y" then begin #0406 ="H.STU"; #0407 ="C.STX"; end ' v0416F230g3: iif([v0414X] ="Y" ,begin [v0406F233j3] ="H.STU", [v0407F240q3c_stc] ="C.STX", end) If Forms!fMAX1234_6![v0414X] ="Y" then Forms!fMAX1234_6!fMax5![v0406F233j3] ="H.STU" Forms!fMAX1234_6!fMax5![v0407F240q3c_stc] ="C.STX" End If 'if begin. ' #1013 ' v1013F231h3 v1013F231h3: 'field number. ' #1014 ' v1014F232i3 v1014F232i3: 'field number. ' #0406 ="H.STH" ' v0406F233j3: "H.STH" Forms!fMAX1234_6!fMax5![v0406F233j3] = "H.STH" 'equal another. ' #0999: if #0956 ="ADD CORROSIVE LABELS" then #0420 =#0420 +"8" ' v0999F234k3: iif([v0956HColon] ="ADD CORROSIVE LABELS" ,[v0420CODE0] =[v0420CODE0] +"8") IF Forms!fMAX1234_6![v0956HColon] ="ADD CORROSIVE LABELS" then Forms!fMAX1234_6![v0420CODE0] =Forms!fMAX1234_6![v0420CODE0] +"8" End If 'if.i ' #1999: if #0956 ="ADD CORROSIVE LABELS" then #0941 ="" ' v1999F234l3: iif([v0956HColon] ="ADD CORROSIVE LABELS" ,[v0941HH] ="") IF Forms!fMAX1234_6![v0956HColon] ="ADD CORROSIVE LABELS" then Forms!fMAX1234_6![v0941HH] ="" End If 'if.i ' #1001: if #0420 ="8" then #0420 ="" ' v1001F236m3: iif([v0420CODE0] ="8" ,[v0420CODE0] ="") IF Forms!fMAX1234_6![v0420CODE0] ="8" then Forms!fMAX1234_6![v0420CODE0] ="" End If 'if.i ' #1006 ' v1006F237n3 v1006F237n3: 'field number. ' #1007 ' v1007F238o3 v1007F238o3: 'field number. ' #5010: if #5000 ="H" then #0620 ="MC =" ' v5010F239p3: iif([v5000A] ="H" ,[v0620WO] ="MC =") IF Forms!fMAX1234_6![v5000A] ="H" then Forms!fMAX1234_6![v0620WO] ="MC =" End If 'if.i ' #0407 ="C.STC" ' v0407F240q3c_stc: "C.STC" Forms!fMAX1234_6!fMax5![v0407F240q3c_stc] = "C.STC" 'equal another. ' #9100: if #0191 ="BULK" then #0420 ="* NO LABELS *" ' v9100F241r3: iif([v0191PackSize] ="BULK" ,[v0420CODE0] ="* NO LABELS *") IF Forms!fMAX1234_6![v0191PackSize] ="BULK" then Forms!fMAX1234_6![v0420CODE0] ="* NO LABELS *" End If 'if.i ' #0408: if #0005 <>"" or #0011 <>"" then #0408 =".STX" else #0408 =".STY" ' v0408F242s3: iif([v0005UN2] <>"" or [v0011UN] <>"" ,[v0408F242s3] =".STX" ,[v0408F242s3] =".STY") If Forms!fMAX1234_6![v0005UN2] <>"" or Forms!fMAX1234_6![v0011UN] <>"" then Forms!fMAX1234_6!fMax5![v0408F242s3] =".STX" Forms!fMAX1234_6!fMax5![v0408F242s3] =".STY End If 'if or. ' #9000: if #0191 ="BULK" then #0420 ="" ' v9000F243t3: iif([v0191PackSize] ="BULK" ,[v0420CODE0] ="") IF Forms!fMAX1234_6![v0191PackSize] ="BULK" then Forms!fMAX1234_6![v0420CODE0] ="" End If 'if.i ' #1015 ' v1015F244a4 v1015F244a4: 'field number. ' #0409 ="X" ' v0409F245c4: "X" Forms!fMAX1234_6!fMax5![v0409F245c4] = "X" 'equal another. ' #0410 =#0254 ' v0410F246: [v0254OU1] Forms!fMAX1234_6!fMax5![v0410F246] = Forms!fMAX1234_6![v0254OU1] 'equal another. ' #0411: if #0005 <>"" or #0011 <>"" then #0411 =".STX" else #0411 =".STY" ' v0411F247d4: iif([v0005UN2] <>"" or [v0011UN] <>"" ,[v0411F247d4] =".STX" ,[v0411F247d4] =".STY") If Forms!fMAX1234_6![v0005UN2] <>"" or Forms!fMAX1234_6![v0011UN] <>"" then Forms!fMAX1234_6!fMax5![v0411F247d4] =".STX" Forms!fMAX1234_6!fMax5![v0411F247d4] =".STY End If 'if or. ' #1009 ' v1009F248e4 v1009F248e4: 'field number. ' #1010 ' v1010F249f4 v1010F249f4: 'field number. ' #1016 ' v1016F250g4 v1016F250g4: 'field number. ' #1017 ' v1017F251h4 v1017F251h4: 'field number. ' #1018 ' v1018F252i4 v1018F252i4: 'field number. ' #0418: if #0011 <>"" then #0418 =".STZ8" else #0418 =".STZ" ' v0418F253j4: iif([v0011UN] <>"" ,[v0418F253j4] =".STZ8" ,[v0418F253j4] =".STZ") Forms!fMAX1234_6!fMax5![v0418F253j4] =IIF(Forms!fMAX1234_6![v0011UN] <>"",".STZ8" ,".STZ") 'if.a1 ' #0618: if #0005 <>"" or #0011 <>"" then #0603 ="STX" else #0603 ="STY" ' v0618F254k4: iif([v0005UN2] <>"" or [v0011UN] <>"" ,[v0603Lab3] ="STX" ,[v0603Lab3] ="STY") If Forms!fMAX1234_6![v0005UN2] <>"" or Forms!fMAX1234_6![v0011UN] <>"" then Forms!fMAX1234_6![v0603Lab3] ="STX" Forms!fMAX1234_6![v0603Lab3] ="STY End If 'if or. ' #0619: if #0005 <>"" or #0011 <>"" then #0604 ="STZ8" else #0604 ="STZ" ' v0619F255l4: iif([v0005UN2] <>"" or [v0011UN] <>"" ,[v0604Lab4] ="STZ8" ,[v0604Lab4] ="STZ") If Forms!fMAX1234_6![v0005UN2] <>"" or Forms!fMAX1234_6![v0011UN] <>"" then Forms!fMAX1234_6![v0604Lab4] ="STZ8" Forms!fMAX1234_6![v0604Lab4] ="STZ End If 'if or. ' #0622: if #0414 ="Y" then #0600 ="STU" ' v0622F256m4: iif([v0414X] ="Y" ,[v0600Lab0] ="STU") IF Forms!fMAX1234_6![v0414X] ="Y" then Forms!fMAX1234_6![v0600Lab0] ="STU" End If 'if.i ' #0616: if #0005 <>"" or #0011 <>"" then #0600 ="STH8" else #0600 ="STH" ' v0616F257n4: iif([v0005UN2] <>"" or [v0011UN] <>"" ,[v0600Lab0] ="STH8" ,[v0600Lab0] ="STH") If Forms!fMAX1234_6![v0005UN2] <>"" or Forms!fMAX1234_6![v0011UN] <>"" then Forms!fMAX1234_6![v0600Lab0] ="STH8" Forms!fMAX1234_6![v0600Lab0] ="STH End If 'if or. ' #0617: if #0005 <>"" or #0011 <>"" then #0602 ="STX" else #0602 ="STY" ' v0617F258o4: iif([v0005UN2] <>"" or [v0011UN] <>"" ,[v0602Lab2] ="STX" ,[v0602Lab2] ="STY") If Forms!fMAX1234_6![v0005UN2] <>"" or Forms!fMAX1234_6![v0011UN] <>"" then Forms!fMAX1234_6![v0602Lab2] ="STX" Forms!fMAX1234_6![v0602Lab2] ="STY End If 'if or. ' #0621: if #0005 <>"" or #0011 <>"" then #0605 ="STZ8" else #0605 ="STZ" ' v0621F259p4: iif([v0005UN2] <>"" or [v0011UN] <>"" ,[v0605Lab5] ="STZ8" ,[v0605Lab5] ="STZ") If Forms!fMAX1234_6![v0005UN2] <>"" or Forms!fMAX1234_6![v0011UN] <>"" then Forms!fMAX1234_6![v0605Lab5] ="STZ8" Forms!fMAX1234_6![v0605Lab5] ="STZ End If 'if or. ' #0623: if #0414 ="Y" then #0601 ="STX" ' v0623F260q4: iif([v0414X] ="Y" ,[v0601Lab1] ="STX") IF Forms!fMAX1234_6![v0414X] ="Y" then Forms!fMAX1234_6![v0601Lab1] ="STX" End If 'if.i ' #0575 =@NUMBER ' v0575Number: @NUMBER Forms!fMAX1234_6!fMax5![v0575Number] = [v0620WO] 'equal another. ' #0598: lookup(#0575,1, #0598) ' v0598F261t4: lookup([v0575Number],1, [v0598F261t4]) Forms!fMAX1234_6!fMax5![v0598F261t4] = dlookup("N1","LookUp","Key=Forms!fMAX1234_6!fMax5![v0575Number]") 'lookup. ' #2280 =@xlookup("COSTING" , #0600,"CODE" ,"$") *#1850 ' v2280F262u4: @xlookup("COSTING" , [v0600Lab0],"CODE" ,"$") *[v1850Qty0] Forms!fMAX1234_6!fMax5![v2280F262u4] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0600Lab0]") *Forms!fMAX1234_6![v1850Qty0] '@xlookup. ' #0002 =@DATE ' v0002F263a5: @DATE Forms!fMAX1234_6!fMax5![v0002F263a5] = DATE 'equal another. ' #0009 =@YEAR(#0002) ' v0009F264b5: @YEAR([v0002F263a5]) Forms!fMAX1234_6!fMax5![v0009F264b5] = year(Forms!fMAX1234_6!fMax5![v0002F263a5]) 'equal another. ' #2282 =@xlookup("COSTING" , #0601,"CODE" ,"$") *#1860 ' v2282F265c5: @xlookup("COSTING" , [v0601Lab1],"CODE" ,"$") *[v1860Qty1] Forms!fMAX1234_6!fMax5![v2282F265c5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0601Lab1]") *Forms!fMAX1234_6![v1860Qty1] '@xlookup. ' #0594 =@DATE-@D(31/12/93) ' v0594F266d5: @DATE-DateSerial(1993,12,31) Forms!fMAX1234_6!fMax5![v0594F266d5] = DATE-DateSerial(1993,12,31) 'equal another. ' #0595: lookup(#0009,1, #0595) ' v0595F267e5: lookup([v0009F264b5],1, [v0595F267e5]) Forms!fMAX1234_6!fMax5![v0595F267e5] = dlookup("N1","LookUp","Key=Forms!fMAX1234_6!fMax5![v0009F264b5]") 'lookup. ' #2284 =@xlookup("COSTING" , #0602,"CODE" ,"$") *#1870 ' v2284F268f5: @xlookup("COSTING" , [v0602Lab2],"CODE" ,"$") *[v1870Qty2] Forms!fMAX1234_6!fMax5![v2284F268f5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0602Lab2]") *Forms!fMAX1234_6![v1870Qty2] '@xlookup. ' #2286 =@xlookup("COSTING" , #0603,"CODE" ,"$") *#1880 ' v2286F269g5: @xlookup("COSTING" , [v0603Lab3],"CODE" ,"$") *[v1880Qty3] Forms!fMAX1234_6!fMax5![v2286F269g5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0603Lab3]") *Forms!fMAX1234_6![v1880Qty3] '@xlookup. ' #2288 =@xlookup("COSTING" , #0604,"CODE" ,"$") *#1890 ' v2288F270h5: @xlookup("COSTING" , [v0604Lab4],"CODE" ,"$") *[v1890Qty4] Forms!fMAX1234_6!fMax5![v2288F270h5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0604Lab4]") *Forms!fMAX1234_6![v1890Qty4] '@xlookup. ' #2290 =@xlookup("COSTING" , #0605,"CODE" ,"$") *#1895 ' v2290FCOSTN: @xlookup("COSTING" , [v0605Lab5],"CODE" ,"$") *[v1895Qty5] Forms!fMAX1234_6!fMax5![v2290FCOSTN] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0605Lab5]") *Forms!fMAX1234_6![v1895Qty5] '@xlookup. call bCalc2 '---------------------------------------------------------------------------------------------------- End sub Private Sub bCalc2() ' #2198 =@xlookup("COSTING" , #0039,"CODE" ,"$") *#0067 ' v2198F271k5: @xlookup("COSTING" , [v0039T11],"CODE" ,"$") *[v0067T21] Forms!fMAX1234_6!fMax5![v2198F271k5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0039T11]") *Forms!fMAX1234_6![v0067T21] '@xlookup. ' #2199 =@xlookup("COSTING" , #0068,"CODE" ,"$") *#0069 ' v2199F272l5: @xlookup("COSTING" , [v0068T31],"CODE" ,"$") *[v0069F41] Forms!fMAX1234_6!fMax5![v2199F272l5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0068T31]") *Forms!fMAX1234_6![v0069F41] '@xlookup. ' #7961: if #7960 ="ERR" then #7960 ="" ' v7961F273m5: iif([v7960Mix] ="ERR" ,[v7960Mix] ="") IF Forms!fMAX1234_6![v7960Mix] ="ERR" then Forms!fMAX1234_6![v7960Mix] ="" End If 'if.i ' #7971: if #7970 ="ERR" then #7970 ="" ' v7971F274n5: iif([v7970Fil] ="ERR" ,[v7970Fil] ="") IF Forms!fMAX1234_6![v7970Fil] ="ERR" then Forms!fMAX1234_6![v7970Fil] ="" End If 'if.i ' #7981: if #7980 ="ERR" then #7980 ="" ' v7981F275o5: iif([v7980Pak] ="ERR" ,[v7980Pak] ="") IF Forms!fMAX1234_6![v7980Pak] ="ERR" then Forms!fMAX1234_6![v7980Pak] ="" End If 'if.i ' #7991: if #7990 ="ERR" then #7990 ="" ' v7991F276p5: iif([v7990TL] ="ERR" ,[v7990TL] ="") IF Forms!fMAX1234_6![v7990TL] ="ERR" then Forms!fMAX1234_6![v7990TL] ="" End If 'if.i ' #2200 =@xlookup("COSTING" , #0040,"CODE" ,"$") *#0030 ' v2200F277q5: @xlookup("COSTING" , [v0040T12],"CODE" ,"$") *[v0030T22] Forms!fMAX1234_6!fMax5![v2200F277q5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0040T12]") *Forms!fMAX1234_6![v0030T22] '@xlookup. ' #2205 =@xlookup("COSTING" , #0041,"CODE" ,"$") *#0031 ' v2205F278r5: @xlookup("COSTING" , [v0041T13],"CODE" ,"$") *[v0031T23] Forms!fMAX1234_6!fMax5![v2205F278r5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0041T13]") *Forms!fMAX1234_6![v0031T23] '@xlookup. ' #2210 =@xlookup("COSTING" , #0042,"CODE" ,"$") *#0032 ' v2210F279s5: @xlookup("COSTING" , [v0042T14],"CODE" ,"$") *[v0032T24] Forms!fMAX1234_6!fMax5![v2210F279s5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0042T14]") *Forms!fMAX1234_6![v0032T24] '@xlookup. ' #2215 =@xlookup("COSTING" , #0043,"CODE" ,"$") *#0033 ' v2215F280t5: @xlookup("COSTING" , [v0043T15],"CODE" ,"$") *[v0033T25] Forms!fMAX1234_6!fMax5![v2215F280t5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0043T15]") *Forms!fMAX1234_6![v0033T25] '@xlookup. ' #2220 =@xlookup("COSTING" , #0044,"CODE" ,"$") *#0034 ' v2220F281u5: @xlookup("COSTING" , [v0044T16],"CODE" ,"$") *[v0034T26] Forms!fMAX1234_6!fMax5![v2220F281u5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0044T16]") *Forms!fMAX1234_6![v0034T26] '@xlookup. ' #2225 =@xlookup("COSTING" , #0045,"CODE" ,"$") *#0035 ' v2225F282v5: @xlookup("COSTING" , [v0045T17],"CODE" ,"$") *[v0035T27] Forms!fMAX1234_6!fMax5![v2225F282v5] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0045T17]") *Forms!fMAX1234_6![v0035T27] '@xlookup. ' #2230 =@xlookup("COSTING" , #0046,"CODE" ,"$") *#0036 ' v2230F283a6: @xlookup("COSTING" , [v0046T18],"CODE" ,"$") *[v0036T28] Forms!fMAX1234_6!fMax5![v2230F283a6] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0046T18]") *Forms!fMAX1234_6![v0036T28] '@xlookup. ' #2235 =@xlookup("COSTING" , #0047,"CODE" ,"$") *#0037 ' v2235F284b6: @xlookup("COSTING" , [v0047T19],"CODE" ,"$") *[v0037T29] Forms!fMAX1234_6!fMax5![v2235F284b6] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0047T19]") *Forms!fMAX1234_6![v0037T29] '@xlookup. ' #2240 =@xlookup("COSTING" , #0048,"CODE" ,"$") *#0050 ' v2240F285c6: @xlookup("COSTING" , [v0048T32],"CODE" ,"$") *[v0050F42] Forms!fMAX1234_6!fMax5![v2240F285c6] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0048T32]") *Forms!fMAX1234_6![v0050F42] '@xlookup. ' #2245 =@xlookup("COSTING" , #0049,"CODE" ,"$") *#0051 ' v2245F286d6: @xlookup("COSTING" , [v0049T33],"CODE" ,"$") *[v0051F43] Forms!fMAX1234_6!fMax5![v2245F286d6] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0049T33]") *Forms!fMAX1234_6![v0051F43] '@xlookup. ' #2250 =@xlookup("COSTING" , #0090,"CODE" ,"$") *#0052 ' v2250F287e6: @xlookup("COSTING" , [v0090T34],"CODE" ,"$") *[v0052F44] Forms!fMAX1234_6!fMax5![v2250F287e6] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0090T34]") *Forms!fMAX1234_6![v0052F44] '@xlookup. ' #2255 =@xlookup("COSTING" , #0091,"CODE" ,"$") *#0053 ' v2255F288f6: @xlookup("COSTING" , [v0091T35],"CODE" ,"$") *[v0053F45] Forms!fMAX1234_6!fMax5![v2255F288f6] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0091T35]") *Forms!fMAX1234_6![v0053F45] '@xlookup. ' #2260 =@xlookup("COSTING" , #0092,"CODE" ,"$") *#0054 ' v2260F289g6: @xlookup("COSTING" , [v0092T36FRT],"CODE" ,"$") *[v0054F46] Forms!fMAX1234_6!fMax5![v2260F289g6] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0092T36FRT]") *Forms!fMAX1234_6![v0054F46] '@xlookup. ' #2265 =@xlookup("COSTING" , #0093,"CODE" ,"$") *#0060 ' v2265F290h6: @xlookup("COSTING" , [v0093T37PAL],"CODE" ,"$") *[v0060F47] Forms!fMAX1234_6!fMax5![v2265F290h6] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0093T37PAL]") *Forms!fMAX1234_6![v0060F47] '@xlookup. ' #2270 =@xlookup("COSTING" , #0094,"CODE" ,"$") *#0061 ' v2270F291i6: @xlookup("COSTING" , [v0094T38TOL],"CODE" ,"$") *[v0061F48] Forms!fMAX1234_6!fMax5![v2270F291i6] = dlookup("Dollar","COSTING","CODE =Forms!fMAX1234_6![v0094T38TOL]") *Forms!fMAX1234_6![v0061F48] '@xlookup. ' #2275 ' v2275F292j6 v2275F292j6: 'field number. ' #3300: if #3045 ="" then #3050 ="" ' v3300F293k6: iif([v3045AVn0] ="" ,[v3050o0] ="") IF Forms!fMAX1234_6!fMax5![v3045AVn0] ="" then Forms!fMAX1234_6!fMax5![v3050o0] ="" End If 'if.i ' #3310: if #3025 ="" then #3035 ="" and #3030 ="" ' v3310F294l6: iif([v3025Toll] ="" ,[v3035m0] ="" and [v3030l0] ="") IF Forms!fMAX1234_6![v3025Toll] ="" then Forms!fMAX1234_6!fMax5![v3035m0] ="" Forms!fMAX1234_6!fMax5![v3030l0] ="" End If 'if.f ' #3320: if #3010 ="" then #3020 ="" ' v3320F295m6: iif([v3010CostIGj0] ="" ,[v3020k0] ="") IF Forms!fMAX1234_6!fMax5![v3010CostIGj0] ="" then Forms!fMAX1234_6!fMax5![v3020k0] ="" End If 'if.i ' #3325: if #3060 ="" then #3065 ="" ' v3325F296n6: iif([v3060F50p0] ="" ,[v3065q0] ="") IF Forms!fMAX1234_6!fMax5![v3060F50p0] ="" then Forms!fMAX1234_6!fMax5![v3065q0] ="" End If 'if.i ' #3330: if #3070 ="" then #3075 ="" and #3080 ="" ' v3330F297o6: iif([v3070EpiCan] ="" ,[v3075F184r0] ="" and [v3080F185a1] ="") IF Forms!fMAX1234_6![v3070EpiCan] ="" then Forms!fMAX1234_6!fMax5![v3075F184r0] ="" Forms!fMAX1234_6!fMax5![v3080F185a1] ="" End If 'if.f ' #3335: if #3085 ="" then #3090 ="" and #3095 ="" ' v3335F298p6: iif([v3085EpiCan1Car] ="" ,[v3090F186b1] ="" and [v3095F187c1] ="") IF Forms!fMAX1234_6![v3085EpiCan1Car] ="" then Forms!fMAX1234_6!fMax5![v3090F186b1] ="" Forms!fMAX1234_6!fMax5![v3095F187c1] ="" End If 'if.f ' #3340: if #3100 ="" then #3105 ="" and #3110 ="" ' v3340F299q6: iif([v3100EpiCan2Car] ="" ,[v3105F188d1] ="" and [v3110F189e1] ="") IF Forms!fMAX1234_6![v3100EpiCan2Car] ="" then Forms!fMAX1234_6!fMax5![v3105F188d1] ="" Forms!fMAX1234_6!fMax5![v3110F189e1] ="" End If 'if.f ' #3345: if #3115 ="" then #3125 ="" ' v3345F300r6: iif([v3115F190f1] ="" ,[v3125F192h1] ="") IF Forms!fMAX1234_6!fMax5![v3115F190f1] ="" then Forms!fMAX1234_6!fMax5![v3125F192h1] ="" End If 'if.i ' #3350: if #3130 ="" then #3140 ="" ' v3350F301s6: iif([v3130F193i1] ="" ,[v3140F195k1] ="") IF Forms!fMAX1234_6!fMax5![v3130F193i1] ="" then Forms!fMAX1234_6!fMax5![v3140F195k1] ="" End If 'if.i ' #3355: if #3145 ="" then #3155 ="" ' v3355F302t6: iif([v3145F196l1] ="" ,[v3155F198n1] ="") IF Forms!fMAX1234_6!fMax5![v3145F196l1] ="" then Forms!fMAX1234_6!fMax5![v3155F198n1] ="" End If 'if.i ' #3360: if #3160 ="" then #3170 ="" ' v3360F303a7: iif([v3160F199o1] ="" ,[v3170F201q1] ="") IF Forms!fMAX1234_6!fMax5![v3160F199o1] ="" then Forms!fMAX1234_6!fMax5![v3170F201q1] ="" End If 'if.i ' #2335: if #0026 <>"" then #0019 ="*****" ' v2335F304b7: iif([v0026U] <>"" ,[v0019] ="*****") IF Forms!fMAX1234_6![v0026U] <>"" then Forms!fMAX1234_6![v0019] ="*****" End If 'if.i ' #2340: if #0001 ="" then #0019 ="*****" ' v2340F305c7: iif([v0001T] ="" ,[v0019] ="*****") IF Forms!fMAX1234_6![v0001T] ="" then Forms!fMAX1234_6![v0019] ="*****" End If 'if.i ' #2345 =#2198 +#2199 +#2200 +#2205 +#2210 +#2215 +#2220 +#2225 +#2230 +#2235 +#2240 +#2245 +#2250 +#2255 +#2260 +#2265 +#2270 +#2275 +#2280 +#2282 +#2284 +#2286 +#2288 +#2290 ' v2345F306d7: [v2198F271k5] +[v2199F272l5] +[v2200F277q5] +[v2205F278r5] +[v2210F279s5] +[v2215F280t5] +[v2220F281u5] +[v2225F282v5] +[v2230F283a6] +[v2235F284b6] +[v2240F285c6] +[v2245F286d6] +[v2250F287e6] +[v2255F288f6] +[v2260F289g6] +[v2265F290h6] +[v2270F291i6] +[v2275F292j6] +[v2280F262u4] +[v2282F265c5] +[v2284F268f5] +[v2286F269g5] +[v2288F270h5] +[v2290FCOSTN] Forms!fMAX1234_6!fMax5![v2345F306d7] = Forms!fMAX1234_6!fMax5![v2198F271k5] +Forms!fMAX1234_6!fMax5![v2199F272l5] +Forms!fMAX1234_6!fMax5![v2200F277q5] +Forms!fMAX1234_6!fMax5![v2205F278r5] +Forms!fMAX1234_6!fMax5![v2210F279s5] +Forms!fMAX1234_6!fMax5![v2215F280t5] +Forms!fMAX1234_6!fMax5![v2220F281u5] +Forms!fMAX1234_6!fMax5![v2225F282v5] +Forms!fMAX1234_6!fMax5![v2230F283a6] +Forms!fMAX1234_6!fMax5![v2235F284b6] +Forms!fMAX1234_6!fMax5![v2240F285c6] +Forms!fMAX1234_6!fMax5![v2245F286d6] +Forms!fMAX1234_6!fMax5![v2250F287e6] +Forms!fMAX1234_6!fMax5![v2255F288f6] +Forms!fMAX1234_6!fMax5![v2260F289g6] +Forms!fMAX1234_6!fMax5![v2265F290h6] +Forms!fMAX1234_6!fMax5![v2270F291i6] +Forms!fMAX1234_6!fMax5![v2275F292j6] +Forms!fMAX1234_6!fMax5![v2280F262u4] +Forms!fMAX1234_6!fMax5![v2282F265c5] +Forms!fMAX1234_6!fMax5![v2284F268f5] +Forms!fMAX1234_6!fMax5![v2286F269g5] +Forms!fMAX1234_6!fMax5![v2288F270h5] +Forms!fMAX1234_6!fMax5![v2290FCOSTN] 'equal another. ' #2350 =#2345*1.03 /(#0210 +.001) ' v2350F307e7: [v2345F306d7]*1.03 /([v0210TimeAndMake] +.001) Forms!fMAX1234_6!fMax5![v2350F307e7] = Forms!fMAX1234_6!fMax5![v2345F306d7]*1.03 /(Forms!fMAX1234_6![v0210TimeAndMake] +.001) 'equal another. ' #2355 =#2345*1.03 ' v2355F308f7: [v2345F306d7]*1.03 Forms!fMAX1234_6!fMax5![v2355F308f7] = Forms!fMAX1234_6!fMax5![v2345F306d7]*1.03 'equal another. ' #3500 =#3020 +#3035 +#3050 +#3065 +#3080 +#3095 +#3110 ' v3500F309g7: [v3020k0] +[v3035m0] +[v3050o0] +[v3065q0] +[v3080F185a1] +[v3095F187c1] +[v3110F189e1] Forms!fMAX1234_6!fMax5![v3500F309g7] = Forms!fMAX1234_6!fMax5![v3020k0] +Forms!fMAX1234_6!fMax5![v3035m0] +Forms!fMAX1234_6!fMax5![v3050o0] +Forms!fMAX1234_6!fMax5![v3065q0] +Forms!fMAX1234_6!fMax5![v3080F185a1] +Forms!fMAX1234_6!fMax5![v3095F187c1] +Forms!fMAX1234_6!fMax5![v3110F189e1] 'equal another. ' #2365 ' v2365F310h7 v2365F310h7: 'field number. ' #3501 =@xlookup("PMF2" , #0200,"CODE" ,"RUNOUT orSPECIAL?") ' v3501F311i7: @xlookup("PMF2" , [v0200Packs],"CODE" ,"RUNOUT orSPECIAL?") Forms!fMAX1234_6!fMax5![v3501F311i7] = dlookup("RunOut_Special","PMF2","CODE =Forms!fMAX1234_6![v0200Packs]") '@xlookup. ' #3502: if #3501 ="2" then #3500 =#3500*1.10 ' v3502F312j7: iif([v3501F311i7] ="2" ,[v3500F309g7] =[v3500F309g7]*1.10) IF Forms!fMAX1234_6!fMax5![v3501F311i7] ="2" then Forms!fMAX1234_6!fMax5![v3500F309g7] =Forms!fMAX1234_6!fMax5![v3500F309g7]*1.10 End If 'if.i ' #3505 =(#2355(#0211 +.001)) ' v3505F313k7: ([v2355F308f7]([v0211Total] +.001)) Forms!fMAX1234_6!fMax5![v3505F313k7] = (Forms!fMAX1234_6!fMax5![v2355F308f7](Forms!fMAX1234_6![v0211Total] +.001)) 'equal another. ' #2375 ' v2375F314l7 v2375F314l7: 'field number. ' #7000: #0010 =1.00 ' v7000F315m7: [v0010Scale] =1.00 Forms!fMAX1234_6!fMax5![v7000F315m7] = Forms!fMAX1234_6![v0010Scale] =1.00 'equal another. ' #9150: if #0062 ="0" then #0062 ="" ' v9150F316n7: iif([v0062BelowMix] =0 ,[v0062BelowMix] ="") IF Forms!fMAX1234_6![v0062BelowMix] =0 then Forms!fMAX1234_6![v0062BelowMix] ="" End If 'if.i ' #9200 =@xlookup("RECLAIM" , #0019,"CODE" ,"STATUS") ' v9200F317o7: @xlookup("RECLAIM" , [v0019],"CODE" ,"STATUS") Forms!fMAX1234_6!fMax5![v9200F317o7] = dlookup("STATUS","RECLAIM","CODE =Forms!fMAX1234_6![v0019]") '@xlookup. ' #9160: if #0063 ="0" then #0063 ="" ' v9160F318p7: iif([v0063KG] =0 ,[v0063KG] ="") IF Forms!fMAX1234_6![v0063KG] =0 then Forms!fMAX1234_6![v0063KG] ="" End If 'if.i ' #4200: if #0191 ="BULK" then #4000 ="***" ' v4200F319q7: iif([v0191PackSize] ="BULK" ,[v4000T39BH] ="***") IF Forms!fMAX1234_6![v0191PackSize] ="BULK" then Forms!fMAX1234_6![v4000T39BH] ="***" End If 'if.i ' #9210: if #9200 ="Y" then #0950 ="*USE RECLAIM*" else #0950 ="PROPRIETARY" ' v9210F320r7: iif([v9200F317o7] ="Y" ,[v0950Proprietary] ="*USE RECLAIM*" ,[v0950Proprietary] ="PROPRIETARY") IF Forms!fMAX1234_6!fMax5![v9200F317o7] ="Y" then Forms!fMAX1234_6![v0950Proprietary] ="*USE RECLAIM*" Else Forms!fMAX1234_6![v0950Proprietary] ="PROPRIETARY" End If 'if.f ' #9220: if #0005 ="1993" and #9200 <>"Y" then #0950 ="*FLAMMABLE*" ' v9220F321s7: iif([v0005UN2] ="1993" and [v9200F317o7] <>"Y" ,[v0950Proprietary] ="*FLAMMABLE*") IF Forms!fMAX1234_6![v0005UN2] ="1993" and Forms!fMAX1234_6!fMax5![v9200F317o7] <>"Y" then Forms!fMAX1234_6![v0950Proprietary] ="*FLAMMABLE*" End If 'if.i '--- Page 6 --- ' #2241 ' v2241F323 v2241F323: 'field number. ' #0010 ' v0010Scale v0010Scale: 'field number. ' #0597 ' v0597TakeCare v0597TakeCare: 'field number. ' #7960 =@xlookup("WKSTIMES" , #0019,"#?" ,"MIX") ' v7960Mix: @xlookup("WKSTIMES" , [v0019],"?" ,"MIX") Forms!fMAX1234_6![v7960Mix] = dlookup("MIX","WKSTIMES","Num =Forms!fMAX1234_6![v0019]") '@xlookup. ' #7970 =@xlookup("wkstimes" , #0019,"#?" ,"fil") ' v7970Fil: @xlookup("wkstimes" , [v0019],"?" ,"fil") Forms!fMAX1234_6![v7970Fil] = dlookup("fil","WKSTIMES","Num =Forms!fMAX1234_6![v0019]") '@xlookup. ' #7980 =@xlookup("WKSTIMES" , #0019,"#?" ,"PAK") ' v7980Pak: @xlookup("WKSTIMES" , [v0019],"?" ,"PAK") Forms!fMAX1234_6![v7980Pak] = dlookup("PAK","WKSTIMES","Num =Forms!fMAX1234_6![v0019]") '@xlookup. ' #7990 =@xlookup("wkstimes" , #0019,"#?" ,"tl") ' v7990TL: @xlookup("wkstimes" , [v0019],"?" ,"tl") Forms!fMAX1234_6![v7990TL] = dlookup("tl","WKSTIMES","Num =Forms!fMAX1234_6![v0019]") '@xlookup. ' #0615 ' v0615F324 v0615F324: 'field number. ' #0614 ' v0614PP v0614PP: 'field number. ' #0624: if #0614 ="PP" then #0620 =#0615 ' v0624F354PP3H: iif([v0614PP] ="PP" ,[v0620WO] =[v0615F324]) IF Forms!fMAX1234_6![v0614PP] ="PP" then Forms!fMAX1234_6![v0620WO] =Forms!fMAX1234_6![v0615F324] End If 'if.i ' #9505 =@xlookup("costing" , #0039,"code" ,"$") ' v9505$39: @xlookup("costing" , [v0039T11],"code" ,"$") Forms!fMAX1234_6![v9505$39] = dlookup("Dollar","COSTING","code =Forms!fMAX1234_6![v0039T11]") '@xlookup. ' #9595 =@xlookup("costing" , #0068,"code" ,"$") ' v9595$68: @xlookup("costing" , [v0068T31],"code" ,"$") Forms!fMAX1234_6![v9595$68] = dlookup("Dollar","COSTING","code =Forms!fMAX1234_6![v0068T31]") '@xlookup. ' #9705 =@xlookup("costing" , #0600,"code" ,"$") ' v9705$600: @xlookup("costing" , [v0600Lab0],"code" ,"$") Forms!fMAX1234_6![v9705$600] = dlookup("Dollar","COSTING","code =Forms!fMAX1234_6![v0600Lab0]") '@xlookup. ' #9715 =@xlookup("costing" , #0601,"code" ,"$") ' v9715$601: @xlookup("costing" , [v0601Lab1],"code" ,"$") Forms!fMAX1234_6![v9715$601] = dlookup("Dollar","COSTING","code =Forms!fMAX1234_6![v0601Lab1]") '@xlookup. ' #9725 =@xlookup("costing" , #0602,"code" ,"$") ' v9725$602: @xlookup("costing" , [v0602Lab2],"code" ,"$") Forms!fMAX1234_6![v9725$602] = dlookup("Dollar","COSTING","code =Forms!fMAX1234_6![v0602Lab2]") '@xlookup. ' #9735 =@xlookup("costing" , #0603,"code" ,"$") ' v9735$603: @xlookup("costing" , [v0603Lab3],"code" ,"$") Forms!fMAX1234_6![v9735$603] = dlookup("Dollar","COSTING","code =Forms!fMAX1234_6![v0603Lab3]") '@xlookup. ' #9745 =@xlookup("costing" , #0604,"code" ,"$") ' v9745$604: @xlookup("costing" , [v0604Lab4],"code" ,"$") Forms!fMAX1234_6![v9745$604] = dlookup("Dollar","COSTING","code =Forms!fMAX1234_6![v0604Lab4]") '@xlookup. ' #9755 =@xlookup("costing" , #0605,"code" ,"$") ' v9755AS: @xlookup("costing" , [v0605Lab5],"code" ,"$") Forms!fMAX1234_6![v9755AS] = dlookup("Dollar","COSTING","code =Forms!fMAX1234_6![v0605Lab5]") '@xlookup. 'Lines Type of program Example in Q&A' 100= N0 field number. #0614 ' 6= N1 if begin if. #0440: if #0395 <>"P" then begin if #0191 ="BULK" then #0440 ="" else #0440 =#0200 +#0409 +#0410 +#0418 END ' 0= N2 if and begin. * ' 0= N3 if or begin. * ' 10= N4 if begin. #0416: if #0414 ="Y" then begin #0406 ="H.STU"; #0407 ="C.STX"; end ' 4= N5 if and. #2920: if #2900 ="Y" and #2910 ="Y" then #3100 ="Y" else #3100 ="" ' 8= N6 if or. #0621: if #0005 <>"" or #0011 <>"" then #0605 ="STZ8" else #0605 ="STZ" ' 10= N7 if lookup. #1004: if #0954 <>"" then lookup(#0417,1, #0955) ' 98= N8 if.i #0624: if #0614 ="PP" then #0620 =#0615 ' 37= N9 @xlookup. #9755 =@xlookup("costing" , #0605,"code" ,"$") ' 10=N10 lookup. #0595: lookup(#0009,1, #0595) ' 36=N11 equal another. #7000: #0010 =1.00 ' 0=N12 ! * ' 38=IIF ' 319 formulas