Hello to you all,
I want to use HFCS for my data. I've created a connection and all works fine. Only when I use HFileExist in the following situation I always gets FALSE and I'm sure the file exists in the specified directory. I set the fysical name and directory of the file and use HChangeConnection to connect it to the right database. I use this procedure:
// Bestandenmap aanpassen.
lbGeopend=HChangeDir({sBestandsnaam,indFile},sBestandenmap)
IF lbGeopend THEN
____// Bestandsnaam aanpassen.
____lbGeopend=HChangeName({sBestandsnaam,indFile},sBestandsnaam[[8 TO]])
END
IF lbGeopend THEN
____// Bestand verwijzen naar connection.
____//lbGeopend=HChangeConnection({sBestandsnaam,indFile},gpsConnection)
____lbGeopend=HChangeConnection(sBestandsnaam,gpsConnection)
____IF lbGeopend THEN
________// Bestaat het bestand.
________lsBestandsnaam=sBestandsnaam[[8 TO]]
________lsBestandsnaam=NoSpace(lsBestandsnaam)
________lsBestandsnaam+=".fic"
________lbGeopend=HFileExist(gpsConnection,lsBestandsnaam) << THIS GIVES FALSE!!!
____END
END
Can anybody tell me what I'm doing wrong?