Skip to content

Commit

Permalink
Fixes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
RobWunderlich committed Jan 15, 2015
1 parent 8b29a48 commit 6800deb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion QVC_Source/Qvc_Incremental_Reload.qvs
Expand Up @@ -279,7 +279,9 @@ ENDIF
IF NOT '$(Qvc.Loader.v.KeyFieldIsUnique)' THEN
// If not using unique keys, get all key values into a temp field.
_qvctemp.PK_temp:
LOAD FieldValue('$(_vPrimaryKey)', recno()) as [_qvctemp.PK_values] AUTOGENERATE FieldValueCount('$(_vPrimaryKey)');
//LOAD FieldValue('$(_vPrimaryKey)', recno()) as [_qvctemp.PK_values] AUTOGENERATE FieldValueCount('$(_vPrimaryKey)');
LOAD DISTINCT [$(_vPrimaryKey)] as [_qvctemp.PK_values] Resident $(_vTablename);

// Use the two parm exists test.
SET _qvctemp.ExistsExpr = '[_qvctemp.PK_values],[$(_vPrimaryKey)]';
ELSE
Expand Down

0 comments on commit 6800deb

Please sign in to comment.