Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Database paths for stand-alone and networked machines
Message
From
05/10/1997 16:14:39
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00051991
Message ID:
00053336
Views:
29
>What I haven't tested is replacing the entire path. However, if replacing >the drive works, it would seem logical that replacing the entire path would >work as well. My guess here is that the binary data in the field has >nothing to do with where the file is located. Admittedly, this test was run >by creating another mapping to the same server. This means that the same >table was being accessed. I have no idea if number records, last update or >anything else would change the binary data in the field. I've been experimenting with the property field, and it seems to keep all the strings with some binary header and footer, so if you know exactly what to remove or change, you only have to take care to put these binaries where they were. The easiest way to find what's the header and what's the footer was to hex dump the property field, copy it to a file, remove a property, dump again, re-add the property, dump again. I've done it with the PK, and found what bytes were moved to the end of the memo. The conclusion I came to is that it only matters that you have the property string surrounded with a proper header and footer, and its position is irrelevant (in the third dump the PK was at the end, while in the first it was the second property, and missing altogether in the second). So, Repl property with StrTran(property, "old\path","new\path") shouldn't change a thing (except the path, of course :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform