Dear Windev Coders,
can somebody advise me what is the same command "Hversion" to be used for External Database, like oracle,db2, sql.
Hversion works only in HF files... can someone advise me how to used it on external database? like oracle.. i tried the code below : "Versionfile.VSTITEMUNITORADB = HVersion(ST_ITEM_UNIT)" is always equal to ZERO .
HOpen(ST_ITEM_UNIT)
HOpen(XST_ITEM_UNIT)
x1 is string
x1 = "ST_ITEM_UNIT"
HOpen(Versionfile)
HReadFirst(Versionfile)
WHILE NOT HOut(Versionfile)
IF NoSpace(Versionfile.FILENAME) = x1 THEN
Versionfile.VSTITEMUNITORADB = HVersion(ST_ITEM_UNIT)
Versionfile.VSTITEMUNITHFDB = HVersion(XST_ITEM_UNIT)
HAdd(Versionfile)
RETURN
// Hmodify(Versionfile)
END
HReadNext(Versionfile)
END
ST_ITEM_UNIT file is imported using oracle native access
XST_ITEM_UNIT file is impored to HF database and works fine using the Hversion command.
help please.