Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How could you explicitly call stored proc
Message
 
 
À
06/06/2002 13:03:21
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00665497
Message ID:
00665810
Vues:
25
>>>>
>>>>The question is, what takes precedance, if you have x function in Procedure file, in fll (dll) or as a stored procedure and how you can explicitly invoke the needed one.
>>>>
>>>>I believe, this is a case, which doesn't have a solution except for renaming...
>>>
>>>Thanks for description Nadya :)
>>>My current solution is like this (renaming is far more harder on live data around the world, and no existing field could set as default) :
>>>
>>>
*DBC is currently open and selected one
>>>lcDummy = sys(2015)
>>>create table (lcDummy) (dummy l,mySPCaller i default x())
>>>*A loop
>>>insert into (lcDummy) values (.f.)
>>>RetVal = eval(lcDummy+'.mySPCaller')
>>>*end loop
>>>use in (lcDummy)
>>>drop table (lcDummy)
>>>erase (lcDummy+'.*')
>>>
>>>Cetin
>>
>>Interesting. Why in this case it automatically takes x from Database and not another x? What if your x uses field values? I'm afraid, this code is not 100% reliable.
>
>It's by design :)
>
>Update: I don't know a single line of code that's 100% reliable :)
>Cetin

LOL ;)

Even more update: I don't know a single entity in VFP code line that is 100% reliable ;-)
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform