<4d_tech@lists.4d.com>
>Cc: wan...@online.no
>Subject: Re: SV: OPEN DATA FILE gets endless loop
>Message-ID: <20191028163527822700.48a82...@pghrepository.org>
>Content-Type: text/plain; charset=iso-2022-jp
>Carl,
>Are you aware that once you point a 4D Database to a
dataPath:="" which obviously was not a particularly
> brilliant idea.
> I think I shall incorporate a Default.4DD file and try it from there.
> Regards
> Carl
>
>>
>> From: Jeremy Roussak
>> To: 4D iNug Technical <4d_tech@lists.4d.com>
>&
I think I shall incorporate a Default.4DD file and try it from there.
Regards
Carl
>
>From: Jeremy Roussak
>To: 4D iNug Technical <4d_tech@lists.4d.com>
>Cc: wan...@online.no
>Subject: Re: OPEN DATA FILE gets endless loop
>Message-ID: <8ef1b76a-1b3a-42d5-9bfb-aad0bd0fc.
Carl,
I hesitate to suggest something quite so obvious, but it seems to me that each
time you enter the On Startup method, you
1. Set $dataPath to a path
2. Test $dataPath is “”, which of course it isn’t
3. Open a data file
4. Set $dataPath to “” (effectively pointless)
5. Re-enter On startup
I am trying to use in "On Startup" but I get an endless
loop. The code is:
C_TEXT($dataPath)
$dataPath:="C:\\MyFolder\\MyData.4dd"
If ($dataPath#"")
OPEN DATA FILE($dataPath) //open it
$dataPath:=""
End if
What am I doing wrong?
Regards
Carl Aage Wangel
5 matches
Mail list logo