I am creating a tab form based on two tables which will allow the user
to update specific fields.

One field is the total package quantity field (Integer). 

In an On exit EEP (from a field) in the detail section I have this code.

 

SAVEROW

SELECT (SUM(PackageQty)), (SUM(PackageTotWgt)) INTO +

vPackTot INDIC ivPackTot, +

vBOLWeight INDIC ivBOLWeight, +

FROM BOLRows WHERE Control# = .vControl AND BOLDate = .vBOLDate

PROPERTY Comp_BOLWgt TEXTVALUE .vBOLWeight

PROPERTY Comp_BOLPkg TEXTVALUE .vPackTot

RECALC VARIABLES

RETURN

 

The BOLWeight column (REAL) in the Header updates properly when detail
rows are changed .

For some reason the BOLPkg column (INTEGER) will not update when the
detail rows are changed.

When I do a trace on the variables, both of them change whenever the
information in the detail sections change.

 

Anyone see something I may be doing wrong in this code?

 

Jim

 

Reply via email to