Geeze, if only my memory worked like it used to. I have the issue of FPA with the sample code.
Why are you including the path to the DLL? This is not necessary. My function call looks like:
This.GetTableFromPalmPilot(lcFile, lcCreator, '', 0, 1, 0)
I do not know the meaning of the last parameter where you have 8 and I have 0. I would have to look that up when I have access to my SatForms software.
Another tip, the Creator ID is case-sensitive.
>Has anyone go the sat forms 4 active x object to work? I'm using this code in the hotsyncstatus event:
>
>LPARAMETERS statuscode, param
>local lcCreator, lcFile
>lcCreator = "PWG0"
>lcFile = "c:\temp\itemtype.dbf"
>DO CASE
> case statuscode = 1
> wait window "downloading file: " + lcFile
> this.GetTableFromPalmPilot(lcFile, lcCreator, "C:\Program Files\Common Files\Satellite Forms EE\Bin\SDDI\Sddi_PalmDB.dll", 0, 1, 8)
>
> case statuscode = 2
> if param = 1
> wait window "download succusfull"
> else
> wait window "Failed to download"
> endif
>
> case statuscode = 3
> if param = 1
> wait window "Copied a table to the palm pilot"
> else
> wait window "Failed to copy table to palm pilot"
> endif
>
>
>endcase
>endif
>
>---
>I do get the wait window that a file is being downloaded. I get the wait windows that detects errors and the file doesn't download. What am I missing? I'm sure that the application ID is PWG0, the table is on the palm and the plugin path is correct. TIA
>Jeremiah
Mark McCasland
Midlothian, TX USA