KarenLloyd
Programmer
Hello my Gurus...
It’s been at least six months. I hope that all is well with you. I need to ask for your advice again relating to a past post … VFP to HTML forms and back again - mobile development
It’s for the next stage of the project tho, I have been through many degrees of separation - now it’s time to come back to Visual FoxPro. (No more online Lint =D for a while I hope). Please bear with me…
I have been working on a Mobile Forms "App", using HTML5 & JavaScript for client-side processing and local data storage with some PHP and Web SQL for the login and exchange of form data with the office (via a Website/App Server) when connected to the Internet.
This is all going back to the ideas that I started working with over a year ago. I know that I may be lightyears behind, but being a lone star I’m working at a different pace. (If you know how limited my web dev experience was six months ago then you'll understand when I say it's been quite an "adventure!")
I am now at the point where I send forms to an app server where they get collected and updated from mobile devices and then uploaded when complete. My VFP app then downloads submitted form data via FTP as individual XML files and processes them into a log in the server database system… all good so far…
But this brings me to my next “challenge”
I can load the submitted form values into a temp version of an html page… from VFP and I can use an ActiveX control in VFP to view the HTML form (web page) in an automated browser window… from my limited tests so far.
BUT – instead of using JavaScript in the browser window - Can I use a VFP function to work on a form command button to save the html file with the form values, so that I can extract the values via another process and write them back to the VFP data files?
It may be just that I’m reaching a wall time-wise, and I’m overlooking something obvious, or just that the return to my true programming language without the //comments and semi-colons; everywhere has left me a little lost and brain damaged.
Before I go and catch up on some overdue sleep I just wondered and hoped if maybe any of you super beings could please send me some links to help and enlighten me.
As always I will be eternally grateful…
Best wishes
Karen
It’s been at least six months. I hope that all is well with you. I need to ask for your advice again relating to a past post … VFP to HTML forms and back again - mobile development
It’s for the next stage of the project tho, I have been through many degrees of separation - now it’s time to come back to Visual FoxPro. (No more online Lint =D for a while I hope). Please bear with me…
I have been working on a Mobile Forms "App", using HTML5 & JavaScript for client-side processing and local data storage with some PHP and Web SQL for the login and exchange of form data with the office (via a Website/App Server) when connected to the Internet.
This is all going back to the ideas that I started working with over a year ago. I know that I may be lightyears behind, but being a lone star I’m working at a different pace. (If you know how limited my web dev experience was six months ago then you'll understand when I say it's been quite an "adventure!")
I am now at the point where I send forms to an app server where they get collected and updated from mobile devices and then uploaded when complete. My VFP app then downloads submitted form data via FTP as individual XML files and processes them into a log in the server database system… all good so far…
But this brings me to my next “challenge”
I can load the submitted form values into a temp version of an html page… from VFP and I can use an ActiveX control in VFP to view the HTML form (web page) in an automated browser window… from my limited tests so far.
BUT – instead of using JavaScript in the browser window - Can I use a VFP function to work on a form command button to save the html file with the form values, so that I can extract the values via another process and write them back to the VFP data files?
It may be just that I’m reaching a wall time-wise, and I’m overlooking something obvious, or just that the return to my true programming language without the //comments and semi-colons; everywhere has left me a little lost and brain damaged.
Before I go and catch up on some overdue sleep I just wondered and hoped if maybe any of you super beings could please send me some links to help and enlighten me.
As always I will be eternally grateful…
Best wishes
Karen