Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web-enabling a FoxPro 2.6 application with minimal changes
Message
De
14/05/1998 14:55:33
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Web-enabling a FoxPro 2.6 application with minimal changes
Divers
Thread ID:
00099530
Message ID:
00099530
Vues:
57
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
Fil
Voir

Click here to load this message in the networking platform