Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBC procedures
Message
From
06/02/2017 07:39:37
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/02/2017 07:08:59
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2016
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
Hyper-V
Miscellaneous
Thread ID:
01647575
Message ID:
01647583
Views:
54
>>>With APPEND PROCEDURES include a procedures file in a foxpro dbc database.
>>>The text prg file is included in the application.
>>>In some installations it works fine,
>>>in some other I have a "file error not exists".
>>>Some idea ?
>>>application run with SYS(2450,1)
>>
>>You are saying "application", do you mean executable? If so "Append procedures" is not supported at runtime. Instead you could have the source and compiled code and directly replace the memo fields in the dbc. That is how Gendbc too handles the programmatic generation. Use gendbc to generate programmatic version of your database and then check how it handles adding the stored procedures at the end of creating table and indexes (from your.KRT file which contains both the source code and compiled code for SP).
>
>You are saying: If so "Append procedures" is not supported at runtime.
>but it works in same exe file on different pc.
>how do you explain this ?

I replied based on documentation but trying as Thierry suggested it works. I stand corrected.

I would save the code to a temp file and append from there.
Ç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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform