Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution with ASP?
Message
From
07/09/2006 12:36:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COMCodebook
Title:
Macro substitution with ASP?
Miscellaneous
Thread ID:
01151943
Message ID:
01151943
Views:
106
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
Next
Reply
Map
View

Click here to load this message in the networking platform