Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

[WD20] Best Way to Delete and Reset All Database Files [SOLVED] (no replies)

$
0
0
During testing, what's the best way to delete all the records of every file in the database and also reset the auto id back to 1?

HCreation("*") throws an error.

EDIT: List all files and use HCreation() on each file.

sList is string = HListFile(Main) // Main is the name of the analysis folder with the files I wanted to reset
arrList is array of string
StringToArray(sList,arrList,CR)

FOR EACH sFile OF arrList
	HCreation(sFile)
END

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>