Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution with ASP?
Message
De
07/09/2006 12:36:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COMCodebook
Titre:
Macro substitution with ASP?
Divers
Thread ID:
01151943
Message ID:
01151943
Vues:
107
I know this is a little off topic but can someone tell me if there is an equivalent to VFP macro substitution in HTML/ASP? Suppose I have a VFP COM server that creates and returns an object containing data. Such as:
oData.P1 = 10
oData.P2 = 24
oData.P3 = 76
etc.
In the ASP page I want to write a loop that accesses this data, such as:
for i = 1 to n
  dataprop = "oData.P" + transform(i)
  myvar = &dataprop
  do something with myvar . . . 
next
This would be easy in VFP but how would you do it in ASP?

Thanks for any insights.

- Don
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform