Hi everyone.
I want to save datafiles on android tablets using the Serial Number.
[Files]
Application=.\MyApplication.ent
InputData=.\"%DeviceID%".dat.
When I use InputData=.\"%DeviceID%".dat, the datafile is named %DeviceID%.
Please help!
Save Datafile using Device Serial Number
-
- Posts: 43
- Joined: September 5th, 2016, 4:55 am
Re: Save Datafile using Device Serial Number
The %DeviceID% is not supported in pff files. That only works in sync files (.pnc files) for directory names. The usual approach is to use the same filename for the data files on all the devices but sync each devices' data file to a different directory on the server by using %DeviceID% in the name of the folder on the server.
Some advanced users create a menu program and then write out the .pff file from logic. Using that approach you could use the logic function getdeviceid() to create the filename. You can search the forum for "menu" to see some examples.
Some advanced users create a menu program and then write out the .pff file from logic. Using that approach you could use the logic function getdeviceid() to create the filename. You can search the forum for "menu" to see some examples.
-
- Posts: 43
- Joined: September 5th, 2016, 4:55 am
Re: Save Datafile using Device Serial Number
Thank you very much. I Tried it and it works perfectly.