Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Web-enabling a FoxPro 2.6 application with minimal changes
Message
From
14/05/1998 14:55:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Web-enabling a FoxPro 2.6 application with minimal changes
Miscellaneous
Thread ID:
00099530
Message ID:
00099530
Views:
56
My department is attempting to "web-enable" a FoxPro 2.6 application. Our "web consultant" has designed a framework to do this. His HTML representation of our menus and selection criteria dialog boxes store values in a one record FoxPro table. One of the fields in this table is called status.

This status field will contain a 1 if this is a new request, 2 if the data for the html page is being created and 3 if the FoxPro side is completed.

Our FoxPro program uses an DO WHILE .T. ... ENDDO loop rather that a Foundation READ. Within this loop, we call a function called
wbPoll(). It looks at the one record table. If the status field is 1 it scatters the record changes the status field to 2 and changes our cEvent variable to "GET DATA". This cEvent variable is checked in a DO CASE...ENDCASE structure inside the DO WHILE .T. ... ENDDO loop.

Is this an acceptable way of doing things? Does anyone have any other suggestions?

Thanks,

Dan Rhymes
Reply
Map
View

Click here to load this message in the networking platform