Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Catch a build error, part 2
Message
De
15/12/2007 18:53:53
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
15/12/2007 15:22:51
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Divers
Thread ID:
01276105
Message ID:
01276122
Vues:
25
>"This CD is a fake - it says 5th symphony, by Thcaikovsky, but 5th was written by Beethoven"... so the old question, who wrote the 2nd part, is hereby solved: I did.
>
>Revisiting the short lived thread #1275758. After looking around for a solution, I just gave up and added an
>
>External Procedure MySomething
>
>into .init() of a form. No dice, still getting
>
Locate File
>Unable to find Proc./Func. MySomething
>Locate/Ignore/Ignore all/Cancel
>
>OK, maybe project manager has more important things to do than to peek into every snippet everywhere - I'll put it in a .prg file, just before a Define Class statement (there's nothing else in that .prg anyway). No dice.
>
>Because, guess what, MySomething is a stored procedure in a dbc, which is not included in the pjx - this is a side project, which doesn't have to contain everything that the main project does.
>
>So here was the solution: the missing piece was the new key generator from the main dbc; the subproject has its own dbc, copy the function from the main dbc because the function would be out of scope, and the subproject would still need it.
>
>Still... I wish there was a way to catch this as an error, no clicking.

Dragan,
Not quite understood if you want error to occur or suppress it wıth an alternatıve to "external" (which doesn't always work). To suppress (for dbc SPs and FLL functions when I don't have the FLL on hand etc) I add a dummy.prg to project with content like:
Procedure MySomething
Procedure MyOtherThing
Procedure MyMissing
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform