Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C0000005 fatal error in stored procedure!
Message
 
 
À
30/09/2006 09:16:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01157450
Message ID:
01158402
Vues:
23
Denis,

I wonder if you have some sort of DBC corruption going on? This works fine for me:
create database denis
create table test ( i1 i, c1 c(10), m1 m )
insert into test values ( 1, "test 1", "testmemo1" )
insert into test values ( 2, "test 2", "testmemo2" )

MODIFY PROCEDURE

* these are the two SPs I've created

function denis1(lnI1)
create sql view denis1 as select * from denis!test where i1 = (?lnI1)
endfunc

function denis2()
create sql view denis2 as select * from denis!test where i1 = (?gnI1)
endfunc

* now back to the test code

lnI1 = 2
denis1() && view gets created
use denis!denis1
browse last  && displays the 2 row

denis2() && view gets created
use denis!denis2 && get prompted for a value for gnI1
>Yes. I can create view from code - not from stord proc. This bug happens in the VFP8.. and all works perfect in VFP9. So..I think its bug of VFP8
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform