Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fatal error. Exception code=C0000005
Message
From
30/08/1999 16:04:42
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00259355
Message ID:
00259367
Views:
15
1. Is service pack 3 installed?
2. Try using () instead of &
3. Try changing goofy things, like the name of the filename variable or the type of file that you are importing.
4. If there are dates in temptabl.dbf try changing them to character fields.
5. Good luck, son!

>I've the all too familiar error:
>Exception code=C0000005
>Called from - form1.cmdimport.click line 5
>{c:\mydir\forms\myform.sct}
>
>Here is what my command button click code looks like on my form:
>LOCAL lcFileName
>USE \mydir\data\temptabl IN 0 SHARED
>SELECT temptabl
>lcFileName = ALLT(THISFORM.txtFileName.Value)
>APPEND FROM &lcFileName XL8
>
>I get the error on the APPEND FROM line and that throws me out of VFP running of the form. I have a filename for an EXCEL spreadsheet which is displayed on the form after I do the "Open File" command button on my form just before I press this "Import File" button. The error happens on the "Import File" button. All I am trying to do is take an Excel spreadsheet and append it to a table that has prestructured fields that will contain all of the spreadsheets columns. Or is my table that I am appending to setup wrong? Usually I can work around this error, but not this time.
>
>Any ideas? Thanks for the help.
>
>Steve Kramer
>Kramer & Kramer Design
>http://members.aol.com/gocartoons
>gocartoons@aol.com
>Home of over 260 original, off-the-wall cartoons by your truly.
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Reply
Map
View

Click here to load this message in the networking platform