PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Unable to define last item
Unable to define last item
Débuté par Mark Vissers, 25 nov. 2015 20:34 - 6 réponses
Posté le 25 novembre 2015 - 20:34
Hello,
Recently I always get the following error when reading my files.
I'm using windev 18.

What happened?
Unable to define last item used in file.

Error code: 70212
Level: fatal error (EL_FATAL)
WD55 error code: 212

The code I'm using is the following :
HReadSeek(WdbMdv,Rmdv,"214") // Rmdv is an item of the table WdbMdv
IF HFound(WdbMdv) THEN
Info ("Found")
else
Info ("Not found")
end.

Anyone an idea ??
Thanks.
Posté le 25 novembre 2015 - 20:41
Hi Mark

are you sure that Rmdv is defined as a KEY in the WdbMdv file?

Best regards
Posté le 25 novembre 2015 - 21:05
Hi Fabrice,

Rmdv is the unique key of the file Wdbmdv.

Grtz.
Posté le 25 novembre 2015 - 21:43
Hi

I think you should use

HReadSeekfirst
Or
HReadSeek with hIdentical option

Regards
Bart
Posté le 25 novembre 2015 - 22:24
Hello Mark

Is the data file a Windev Classic or HFCS file ?

Regards
Al
Posté le 26 novembre 2015 - 06:35
The file I"m using is a standar Classic Windev Hyperfile.

I already tried the HReadSeekfirst Or HReadSeek with hIdentical option.

Regards.
Posté le 26 novembre 2015 - 16:06
Hi Mark,

Maybe you should re-index your file?

Regards,
Joris