Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: Variable sco_parentid not found when building exe
Message
From
18/02/2004 15:10:52
 
 
To
18/02/2004 15:06:50
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00878242
Message ID:
00878471
Views:
31
How about if you just shorten the field name so it's only 10 characters?

Alan

>Well, I really know what is causing it. It is just the index on the field "SCO_parentID". If I delete it, the error is gone. When I reestblish it it is gone until any other error occurs when building the project.
>
>Really weird. However, it does not seem to do any harm, so I can live with this for a while. But it is still irritating.
>
>I've used the code references utility in VFP8 to search for all occurances, but even when I changed every occurrence into another name, the error still appeared. It really seems to have to do with the index.
>
>Walter,
>
>
>>There are project wide search utilities here on the UT. Good luck! I really sympathize with you.
>>
>>>Hi mike,
>>>
>>>Thanks, but unfortunately no matches. The projectfile itself does not seem to be the problem.
>>>
>>>Walter,
>>>
>>>>Hi Walter
>>>>
>>>>Here's a little program I use when things get weird.
>>>>
>>>>To call it, just do this...
>>>>
>>>>
USE THE.PJX AGAIN
>>>>DO SCANIT WITH "SCO_PARENTID"
>>>>
>>>>
>>>>
>>>>
***SCANIT.PRG
>>>>LPARAMETERS m.tcString
>>>>*Scan all fields in specified table
>>>>*for passed string
>>>>IF VARTYPE(m.tcString) # "C"
>>>> RETURN .F.
>>>>ENDIF
>>>>tcString = UPPER(m.tcString)
>>>>IF FILE("scanit.txt")
>>>>  ERASE scanit.txt
>>>>ENDIF
>>>>LOCAL lnOutput
>>>>lnOutput = FCREATE("scanit.txt",0)
>>>>LOCAL llFound, lnI
>>>>llFound = .F.
>>>>SCAN
>>>>  FOR lnI=1 TO FCOUNT()
>>>>    lcContent = EVALUATE(FIELD(m.lnI))
>>>>    IF VARTYPE(m.lcContent) $ "CM"
>>>>      IF m.tcString $ UPPER(m.lcContent)
>>>>        =FPUTS(m.lnOutput,"Found at :" + STR(RECNO())+","+FIELD(m.lnI))
>>>>        llFound = .T.
>>>>      ENDIF
>>>>    ENDIF
>>>>  ENDFOR
>>>>ENDSCAN
>>>>=FCLOSE(m.lnOutput)
>>>>IF m.llFound
>>>>  MODIFY FILE scanit.txt NOWAIT
>>>>ELSE
>>>>  LOCAL lcSetSafety
>>>>  lcSetSafety = SET("SAFETY")
>>>>  SET SAFETY OFF
>>>>  ERASE scanit.txt
>>>>  SET SAFETY &lcSetSafety.
>>>>  WAIT WINDOW "No Matches"
>>>>ENDIF
>>>>
>>>>>Hi Bill,
>>>>>
>>>>>No unfortunately that is not the case. I suspect my project file is corrupted to a minor extend.
>>>>>
>>>>>Walter,
>>>>>
>>>>>>Heya Walter -
>>>>>>do you have any #DEFINE set up for 'SCO_PARENTID' or
>>>>>>is it refererenced any where in a [.h] file ?
>>>>>>
>>>>>>just a swag .
>>>>>>
>>>>>>when I run into something like this i wanna look at the entire codebase [if possible] - so I'll stop for a moment, run the documenting wizard , and
>>>>>>study the big ascii output file that has everything in it, to see if there is some thing else using 'SCO_PARENTID' ..
>>>>>>
>>>>>>once i have the entire codebase in that one file, its rather easy to do a global search .
>>>>>>
>>>>>>hth - mondo regards [Bill]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform