In the setup of the query, for the sql statement, I am using (I will use the actual data from my program):
form.query1.sql=' select * from "\\casfs1\history\departmental workgroups\public\grad applications\appgsc.dbf " '
I use double quotes around the path name because of the spaces in it. On the computer where I am trying to set this up (which does not have dBASE installed, just the runtime), this produces an error of file not found (I think the text is "internal system error"). In spite of my quotation marks, dBASE parses the path up to the space after "departmental," so it is seeing an error there.
I have tried omitting the path and instead using "set directory to" and "set path to", but these don't work either.
Similarly, I have a line "restore from \\server name\path\......\gsc.mem" and dBASE also cannot find that memory file.
I realize the error is in the network path, but I can't figure out what it is. I think it may be related to the BDE settings, but in the BDE alias, I have given the correct network path.
Again, thanks for any help,
Jim
=====================
Post by Jim D.Post by Jim D.I am using dbPlus version 2.6.1.5. In trying to find out the issue, I hard-coded the sql statement in creating the query. When I do this at the command window, it works fine (on my computer, which has the full dBASE installed).
Yes, I am using the BDE. I am using Inno to create the install program. The server directory contains spaces in several subfolders, so I used quotation marks around the full address; that creates an error in the Inno compile. I
think the issue may be with the BDE alias, but I'm not sure what I am doing wrong.
Jim,
Show us bit more of what you are doing if you can. Show us the section
of your proram code where the error occurs, the line on which it occurs
and the exact message you get.
The Inno Setup problem is a separate issue. You can start a new thread
in the dbase.install news group. Show us the line you have and the error
message you get. I know there are places where you have to provided
double the quotes you think you need ""c:\path"" which has tripped me up
more than once.
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada
.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
.|.|.| IT Consultant http://Geoff_Wass.com |.|.|.