Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel - find
Message
De
10/10/2004 12:42:39
 
 
À
06/10/2004 08:57:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00948975
Message ID:
00950272
Vues:
15
Cetin:

I have taken your first suggestion and modified it. I am having a problem that I hope you can help with. There are 2 items that I am searching lcfile for: lcjoint, and lcsearchtext. Once Lcjoint is found, I want to continue the search in lcfile from that point to find lcsearchtext, not from the beginning of lcfile. Right now, it finds the occurrence of lcsearchtext from the beginning of the file. Any ideas? Thanks.

lnlines = ALINES(arrlines, FILETOSTR(lcfile))
IF ATCline(lcjoint, FILETOSTR(lcfile))<>0 &&found joint line
ix = ATCline(lcsearchtext, FILETOSTR(lcfile))
IF m.ix + m.rowoffsett =< m.lnlines &&check if offsett is in range

*perform some calculations

ENDIF
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform