solution to Fatal error: Exception code = C0000005
had the same problem gave me the following error:
Fatal error : Exception code = C0000005 @ 17/04/09 8:55:09 AM .
Error log file : C: \ Program Files (x86 ) \ Common Files
\ Microsoft Shared \ VFP \ vfp9rerr.log
Install your version 9 Sp2 , yet was still giving the error.
I started to check all code again and I realized that as
I was working with forms grid , the grid was created to
load the form , but had no table is selected in the grid
builder and this caused me an error.
I give an example
In the button command1 had.
Thisform.Grid1.RecordSource = 'You imprimir_portadas '
thisform.grid1.ColumnCount = 2
thisform.grid1.column1.Width = 75
thisform.grid1.column1.Alignment = 2
thisform.grid1.column2.Width = 601
thisform.grid1.column2.Alignment = 3
thisform.grid1.column1.header1.caption = "Code "
thisform.grid1.column2.header1.caption = " Product Name "
thisform.grid1.Refresh ( )
thisform.grid1.column1.text1.setfocus
I loaded the data in the grid in recordsource
but had not selected the table in the grid builder , to give
clicking the second mouse button and select the build grid .
I hope to help them
To me it served me .