Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Excel - find
Message
From
10/10/2004 12:42:39
 
 
To
06/10/2004 08:57:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00948975
Message ID:
00950272
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform