Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Porting to the WEB
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00010318
Message ID:
00010938
Views:
29
>Hi Bret,
> First of all, thanks for your response. it was exact type of response
>I need.
> But let me get this straight, just to make sure we are in the same
>page. What you detailed in your message is what I need to have a user
>using a WEB Browser query a Foxpro database through a Web Form? In
>other words, Web form to CGI to Foxpro table, and then back to CGI to
>formatted HTML page with the resulting records?
>
This is what occurs when a page is accessed using the tools I mentioned:

User uses favorite Browser to accesses my home page.

User chooses to perform a FoxPro Query

The CGI Executable FoxWeb is executed with paramters of
The foxpro program that you wish to run
The procedure or function in that program you wish to run, if none is
passed it defaults to looking for the name of the program itself.

Inside the Foxpro code I will use several Foxweb functions to extract
data from the Web Page that they were on when the pressed the button
to call the CGI, this is how you pass data back and forth.

Once the program decides what they wish to do, it calls a Foxweb function to interprete an output HTML, created in the foxpro program and
expands all of my variables on the HTML that I want to show the user.

Once this function is done a RETURN is issued in the Foxpro program and then FoxWeb will take the HTML it created and pass it back to the Web so that the user gets a response.

Bottom line is that all the logic code stays the same in the Foxpro program, but the INPUT is read via foxweb from an HTML page and the OUTPUT is formatted into and HTML for foxweb to then pass back.

Hope this helps, I will be at devcon this weekend, but if you need to talk to me call me at 812 854 6065 and I will be glad to clear any gray areas you have.

Bret
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform