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 13:42:51
 
 
To
18/02/2004 13:19:55
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00878242
Message ID:
00878434
Views:
25
Walter, I noticed you said the dbc was included in the project. Do you get the same error if the dbc is excluded from the project?

Alan

>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
Reply
Map
View

Click here to load this message in the networking platform