Subject Re: exe problem
From Buză Vasile <hsctm@rdslink.ro>
Date Sat, 10 Oct 2020 06:04:39 +0300
Newsgroups dbase.getting-started

Hi Charlie

In dBASE PLUS 9 – Version 9.5.1  was fixed:
Issue #1384 – Setting _app.session.temppath leads to crash when shutting
down dBASE

Excerpt from  help:

tempPath

Folder used for any temporary files created when executing complex queries,
Local SQL statements,
modifying a table's structure,when using some dBL batch commands or
updateSet methods executed within the session.
This path may be changed as long as no queries or storedproc objects are
active.

Default value is the path contained in _app.currentUserPath.


You may set _app.session.tempPath  to something like this:

_app.session.tempPath = getenv("Temp")


before accessing any data.

Vasile.


"Charlie"  a scris în mesaj news:IpERPAnmWHA.1872@ip-AC1E04A7...

I’m running windows 10 on a new computer.  I installed 1130b2550 and
1130runtime-b2550.  My old computer ran these perfectly.

Actually this program runs great in dbase.  However when I run the exe file
that was built in project explorer I have run into a couple unexpected
errors.

I get this one when I run a particular report, other reports run fine…

Database Engine Error:  Permission denied:  C:\windows\system32\_QSQL000.DBF

The following script is where the error is pointing…..

  database = form.form.database1
      sql = "select i.*,c.*from golfers_scores i inner join dbname c on
i.dbname = c.dbname order by i.lname,i.fname"
      requestLive = false
      active = true

The other error is…

Error:  Access denied:  tempworkfile.txt

It seems to be some-sort of a permission problem having to do with a temp
dbf file that is deleted at the end of the script.

Appreciate any help or suggestions.