Information générale
Titre:
Web-enabling a FoxPro 2.6 application with minimal changes
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
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement