😁I just was writing the PACK-Stuff like Chris mentioned before.
I stopped use the PACK on a network-drive, because this process can take a lot of time. Instead of PACK I do BLANK this record and re-use it when I insert new data. (datarecycling).
I got this already.
I had once a similar problem, but more then 15 yrs ago before i upgraded to VFP9 (used VFP6). Also only on network-drives. And running on W2k/XP-machines. Sadly about same time i upgraded all my progs to VFP9. So I didn't really follow this behavior.
Are You familiar with...
As far as I understand, the file disappearing event doesn't occur when the program only run on local disk. Only when connected to the network.
Does they have a machine running exclusive as a server (7/24) or just a dedicated pc-workstation with the shared folder?
as shown in my picture i create a vertical line as ruler over the whole page. so i can easy adjust the left or right position of those fields.
the field.top position i set 0.01 mm less then teh corresponding label in front. so the text has almost same position in the horizontal view.
.
in newer...
The sharedname was only mentioned as an example. In my systems i only have the "servername" for local network or the "IpAddr" for far networks in the environment. My DataPaths are variables inside my application.
Set this UNC-Path as an environment-parameter like "FarDataServer = \\FarComputer\SharedPath" and you can access them with
Lc_FarData = GETENV("FarDataServer")
To access them by explorer just enter the path "%FarDataServer%"
You also can access all filees also by the whole Networkpath like
USE "\\FarComuterName\SharedPath\Userpath\Filename"....
DO "\\FarComuterName\SharedPath\AnyProgram" with "\\FarComuterName\SharedPath\Userpath\Filename"
therefore my question how You do the access on those files.
You can make the code a lot simpler. And you dnt need the FOR-Clause in the REPORT-Command, because you have already only those records matching "LOCALIZA==YLOCALIZA"
USE TEMPPAX EXCLUSIVE
ZAP IN TEMPPAX
APPEND FROM PASSAGEIROS FOR LOCALIZA==YLOCALIZA
USE TEMPPAX
REPLACE WTOTMARBR WITH...
just saw it now... You're closing the TEMPPAX right after the append.
i hope so You open the TEMPPAX before run the report and make sure it's selected like
USE TEMPPAX
SELECT TEMPPAX
REPORT FORM.....
is there any code in the beginning of the report?
with this "SELECT FROM ... INTO TABLE" You'll create a new Table.
You can use
SELECT TableB
APPEND FROM TableA FOR LOCALIZA=YLOCALIZA
alterative You can use the SCATTER / GATHER commands
Otherways You also can create a dataobject like
PUBLIC O_RepData
O_RepData = = CREATEOBJECT("empty")
ADDPROPERTY(O_RepData,"YourLabel_1",<yourvalue_1>)
....
ADDPROPERTY(O_RepData,"YourLabel_n",<yourvalue_n>)
Within the report >ou can access the data like any cursor- or tablefields...
first line you open the table "clients". 2nd line you just create the new table, but within the line below the "COPY..." you're closing your "clients"-table with the single "USE"-command.
I have a method within my object to use a table for different usage like here
LPARAMETERS Tc_Alias as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.