Exporting data, to the correct path? 
Author Message
 Exporting data, to the correct path?

Here's one for the group......

I have a multi user, multi platform solution, that involves exporting
data to a certain folder on our Win2K server.

The Folder on the Win2K server is both PC and Mac accessable.

Within the FM script that exports the data, On the PC you can browse
to the correct folder and export the records. No prob works fine.

I need to be able to do the same from the Macs aswell.

So I thought OK I'll be clever - I went to a PC and set the path for
the exported file.  Then I went to a MAC and did the same.  I then set
up the following part at the end of the script.

If [Status(CurrentPlatform)=1]
  Export (TO THE MAC PATH)
Else
  Export (TO THE PC PATH)
End If

However, it don't work.  It only ever works on the PC's.

Is there any way to tell what path the export command is using, even
printing the script dosen't tell you.

So I'm thinking maybe the Export Path is stored with that particular
script itself.  I think I might try and call two separate scripts to
export the data, one for the Mac and one for the PC.

Does anyone know if this will work????



Mon, 18 Aug 2003 21:03:36 GMT
 Exporting data, to the correct path?

You can only store one export settings in one script, so move the second
export to it's own sub-script and see if that helps.
--
Glenn Schwandt



Quote:
> Here's one for the group......

> I have a multi user, multi platform solution, that involves exporting
> data to a certain folder on our Win2K server.

> The Folder on the Win2K server is both PC and Mac accessable.

> Within the FM script that exports the data, On the PC you can browse
> to the correct folder and export the records. No prob works fine.

> I need to be able to do the same from the Macs aswell.

> So I thought OK I'll be clever - I went to a PC and set the path for
> the exported file.  Then I went to a MAC and did the same.  I then set
> up the following part at the end of the script.

> If [Status(CurrentPlatform)=1]
>   Export (TO THE MAC PATH)
> Else
>   Export (TO THE PC PATH)
> End If

> However, it don't work.  It only ever works on the PC's.

> Is there any way to tell what path the export command is using, even
> printing the script dosen't tell you.

> So I'm thinking maybe the Export Path is stored with that particular
> script itself.  I think I might try and call two separate scripts to
> export the data, one for the Mac and one for the PC.

> Does anyone know if this will work????



Mon, 18 Aug 2003 23:55:34 GMT
 Exporting data, to the correct path?
Hi Cliff,

The exportpath is stored with the script, you have to make 2 scripts to export to different paths

Ruben


Quote:

> Here's one for the group......

> I have a multi user, multi platform solution, that involves exporting
> data to a certain folder on our Win2K server.

> The Folder on the Win2K server is both PC and Mac accessable.

> Within the FM script that exports the data, On the PC you can browse
> to the correct folder and export the records. No prob works fine.

> I need to be able to do the same from the Macs aswell.

> So I thought OK I'll be clever - I went to a PC and set the path for
> the exported file.  Then I went to a MAC and did the same.  I then set
> up the following part at the end of the script.

> If [Status(CurrentPlatform)=1]
>   Export (TO THE MAC PATH)
> Else
>   Export (TO THE PC PATH)
> End If

> However, it don't work.  It only ever works on the PC's.

> Is there any way to tell what path the export command is using, even
> printing the script dosen't tell you.

> So I'm thinking maybe the Export Path is stored with that particular
> script itself.  I think I might try and call two separate scripts to
> export the data, one for the Mac and one for the PC.

> Does anyone know if this will work????



Tue, 19 Aug 2003 15:35:36 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. LookUpCube, storage paths and data exporting to RDBMS...

2. A local DDF path and a remote Data path does not work on SP3 (NT)

3. Export to Excel - can't get formatting correct

4. Strange data returned from the database although the data is correct

5. Sync Data with out switching the Data path

6. Why export has conventional path?

7. Conventional vs. Direct Path Export

8. direct path export

9. export data from 8i using 7.3.4 export utility

10. Replmerg uses a unc path when an ftp path has been specified

11. Replmerg uses UNC path despite explicit use of ftp path

12. Paths and App.Path


 
Powered by phpBB® Forum Software