Hi,
for training purposes,id liked to search with (composite key) return the position of the line and then access record line and change a element ... so far i have the lines below,but it s triggering error,(i know i can load in table and aply filteror que however id like to learn how to access it directly.Can someone give a example of a code brick that could work.
thanks in advance
for training purposes,id liked to search with (composite key) return the position of the line and then access record line and change a element ... so far i have the lines below,but it s triggering error,(i know i can load in table and aply filteror que however id like to learn how to access it directly.Can someone give a example of a code brick that could work.
thanks in advance
ValCompKey is Buffer
ValCompKey = HBuildKeyValue(time,daymonthyear , sAb2, sAb3,sAb4)
HReadSeek(time,time.daymonthyear, ValCompKey, hIdentical) ///Returns record line associated with the search
WHILE HFound() = True
...
HReadFirst(time,hCurrentRecNum)// access record line first position key 1
HReadNext(time,hCurrentRecNum)//key2
HReadNext(time,hCurrentRecNum)//key3
HReadNext(time,hCurrentRecNum)//key4
time.name=EDT_NoName1 //change or add key 5
HModify(time.name,hCurrentRecNum) //modify (key) if already entered
HModify(time,hCurrentRecNum) //modify (complete line)
HSave(time.name) // save file
Trace("test")
END