JDB_FetchKeyed
Hi ,
I need your help in understanding the below code.. in API JDE_FetchKeyed once a index is passed and we are not doing the selection for all the keys instead we are doing partial key selection.In my case if I have 10 fields in the index passed and am just passing value in the structure for four keys but my &NumKeys has '5'. Then how this selection will work. What will be the impact. My idea is NumKey should be equal to the number field values passed to the structure.
MathCopy(&dsF4074Key1.aldoco, &lpDS->mnOrderNo);
jdeStrcpy((JCHAR *)dsF4074Key1.aldcto, (const JCHAR *)lpDS->szOrderType);