Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recursion, how best to code ?
Message
 
To
24/01/2001 11:33:30
Tan Aik Jin
Aranea WebLab Sdn Bhd
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00467922
Message ID:
00468024
Views:
27
Tan,

I would approach this problem from another direction.

Keep the one ID to memo as it is, and change the way they reference the ID.
Allow them to put several ID's in the request, and then parse through that list with a substring search.

For example:

ID Memo
01 This is a clause for how to make payment
02 This is a clause for where to deliver
03 This is a different clause for where to deliver
04 This is a clause for how to package
and so on

Then call the clauses by letting the user fill in a clause variable such as having ID's 01,03,04.

Then a series of if's or a dh loop
If "01" $ clause
* add the stuff from memo for 01
EndIf
If "02" $ clause
* add the stuff from memo for 02
EndIf

and so on...

HTH
Ron Seidl
VFP novice
Ron Seidl
Independent Developer
VFP

"I'm playing in life's theater in anticipation of a great cast party!"
Previous
Reply
Map
View

Click here to load this message in the networking platform