The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
Attaching a file to the SLX DB
Posted: 04 Sep 06 5:11 PM
|
fiogf49gjkf0d Hi all,
Can anyone point me in the right direction a to how to attach a file and have is sync out to remote users?
I've copied the file to the document share.
I've created an ATTACHMENT record.
How do I queue the file for sending to remotes? Do I need to, or will the creationof the ATTACHMENT record do this for me? (yeah, I know, probably not, but it'd be nice)
Regards, Antony |
|
|
|
Re: Attaching a file to the SLX DB
Posted: 05 Sep 06 1:09 AM
|
fiogf49gjkf0d The only way in current SLX is to make a call to:
Application.BasicFunctions.LogSendFileAttachment(AccountID As String, FileName As String)
This will queue it up to sync out. The part that sucks about this is that since it is only accessible via the Application object is that you need to have the client running to call it. Lame. But as long as that is not a problem then you're in luck.
-Ryan |
|
|
|
Re: Attaching a file to the SLX DB
Posted: 05 Sep 06 8:55 PM
|
fiogf49gjkf0d You'll also need to call that if you do any updates to the attachment. I have a routine that will update the attachment if one of the same name exists (I'm anal like that) and I call it then just to be thorough.
The "problem" is that the TEF to send the file has to be created from within the client. If there were only a stored procedure in the OLE DB Provider to accomplish the same thing in v7. I assume from Ryan's response there isn't but that's an assumption and you know what they say about those. |
|
|
| |
|