Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access Denied C0000005 error in VFP5
Message
From
30/12/1998 20:56:14
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00171005
Message ID:
00171783
Views:
44
>George,
>Please note that this has NOT been tested completely!!
>
>We found the problem occurred when I used a grid based on the VMF grdPickList or grdDataEntry classes. If we entered code to programmatically set the controls source property it would bomb IF we entered a line for each column. In other words, if I was using 6 columns and had six lines:
>this.column1.controlsource = 'chnum'
>...
>this.column6.controlsource = 'Description'
>then I had a problem. If I added a seventh column, leaving the controlsource, header, etc. blank I had no problem. Cheesy solution: Add an extra column to my grids.
>
>I've tested this by removing code lines one by one. It's definitely the line corresponding to the 'last' column that's causing the problem. We've repeated it on 3 machines, 2 OS and about 6 forms, so it is consistent and repeatable.
>The code was moved from the 'SetColumnControlSources' method to the 'ShellAdditionalInit' method but still caused the same problem. It's grid-based, not method-based.
>
>HTH
>Barbara
>
>>Can you be more specific about the problem and your work around. We are also using MaxFrame. I would really appreciate it.

We just recently started adding control sources in the ''SetColumnControlSources" method. Have you tried adding the alias to the front of the field name. I've got a few examples that are working fine and that's the only difference that I can see.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform