||Re: But there is no custom class
Andy Taylor <firstname.lastname@example.org>
||Sat, 17 Sep 2022 16:06:35 +0100
We've _all_ been there. :-)
> On 9/17/22 5:45 AM, Andy Taylor wrote:
>> Hi Tom,
>> The error message only comes up when you try to run or design a simple
>> form. So, logic says that the problem will be somehow related to that
>> form. You don't post any code but I reckon something in that form
>> points dBASE into trying to use a custom class (probably a *.cfm or
>> Please remove stuff from the form until the error goes away.
>> Alternatively, try the simplest form possible in the command window:
>> f=new form()
>> If that opens a form then the error is somewhere in your form.
>> If you get the same error message then the error is in the dBASE setup
>> probably lurking, as Ken says, in the ini file.
>>> Hi all,
>>> For whatever reason, dBase has suddenly started displaying the
>>> attached message when I try to design or run a very simple form.
>>> Seems to me I have seen this before some time ago and it had to do
>>> with a problem in the INI file but I cannot recall further details.
>>> As the title would imply, the form uses no custom class or components.
>>> Help appreciated,
> Tried the following this morning ...
> f = new form()
> Form opened just fine.
> Checked the INI. Results in image attached. No entry under [Custom]
> Followed Andy's line "the error is somewhere in your form"
> Sure enough, way down in a function block that I had commented out,
> there was an extra 'return' that I failed to notice or comment out.
> Gave it the old '//' preface and the problem went away. Form runs and
> can be designed as expected. A good nights sleep does wonders for
> detecting errors in your code.
> Thanks much for your responses. I will try to do better next time.