Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using recursion in SQL
Message
From
08/07/1999 09:23:39
 
 
To
08/07/1999 08:29:32
Andrzej Majlich
Vulcan sp. z o. o.
Wroclaw, Poland
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00238417
Message ID:
00238824
Views:
11
Thanks for your observation. I tried this and it worked!!!
FUNCTION PEGAINS
LPARAMETERS CODCOMP
Local repos
SELE RECCMP
=SEEK(CODCOMP,'RECCMP','ind1')
DO WHILE CODCOMP = RECCMP.IDCMP AND !EOF()
IF !ISNULL(CHILDIDCMP)
repos = recno() ******* GOTCHA *******
=PEGAINS(CHILDIDCMP)
goto repos ******* GOTCHA *******

ELSE
? allt(str(IDISM))
ENDIF
SKIP
ENDDO
Previous
Reply
Map
View

Click here to load this message in the networking platform