Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C0000005 fatal error in stored procedure!
Message
 
 
To
30/09/2006 09:16:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01157450
Message ID:
01158402
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform