Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

** MAXIMUM TERMINALS ACTIVE. TRY AGAIN LATER **


devel / comp.lang.clipper / Re: expression error ( in index key )

SubjectAuthor
* expression error ( in index key )Scott Coffey
+- Re: expression error ( in index key )frank van nuffel
+- Re: expression error ( in index key )Dlzc
+- Re: expression error ( in index key )Scott Coffey
`* Re: expression error ( in index key )Scott Coffey
 `* Re: expression error ( in index key )frank van nuffel
  `* Re: expression error ( in index key )frank van nuffel
   `* Re: expression error ( in index key )frank van nuffel
    `- Re: expression error ( in index key )Scott Coffey

1
expression error ( in index key )

<2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=116&group=comp.lang.clipper#116

  copy link   Newsgroups: comp.lang.clipper
Path: i2pn2.org!i2pn.org!news.chmurka.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx13.iad.POSTED!not-for-mail
From: none@noemail.com.invalid (Scott Coffey)
Newsgroups: comp.lang.clipper
Subject: expression error ( in index key )
Organization: .
Message-ID: <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com>
User-Agent: ForteAgent/7.20.32.1218
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 44
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 19 Feb 2024 13:25:08 -0500
X-Received-Bytes: 2155
 by: Scott Coffey - Mon, 19 Feb 2024 18:25 UTC

Hoping for a minor miracle here...

I have a Clipper application running on a handheld device (Pocket PC).
I'm using PocketDOS as the OS on the handheld device. I'm trying to
port this application to a handheld running Windows CE 7.0. Although
I had some issues installing PocketDOS on the Windows CE device (was
unable to use the installer and had to install manually), I got it
installed and am able to launch and run the Clipper application on
this device.

The application runs fine until I try to create an index, then the
application fails when I try to use that index.

Example:

Program A uses the following statement:

use c:\SCANFILE.DBF index C:\SCANFILE.NDX alias SCANFILE

That works fine as long as I'm using the original index created on the
old Pocket PC handheld. Then I have a program that does:

if file( "SCANFILE.DBF" ) = .T.
if file( "SCANFILE.NDX" ) = .T.
erase ("SCANFILE.NDX")
endif
use SCANFILE.DBF
index on ITEM to SCANFILE.NDX
endif

That runs OK, but the next time I try to run program A, it fails on
the "use" statement with the error: "expression error ( in index key
)"

The database files and indexes were copied from the working device to
the new device. As stated, accessing the database files via the index
works OK initially, but when I try to recreate the index the program
then fails as described. If I re-copy the files, the program works
again until I try to recreate the index.

Any ideas out there?
--
Scott at Scott dash(-) Coffey dot net

Re: expression error ( in index key )

<b1f814aa-b142-4930-8efe-e3104a4420b4n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=117&group=comp.lang.clipper#117

  copy link   Newsgroups: comp.lang.clipper
X-Forwarded-Encrypted: i=1; AJvYcCVw+sD/9Km3fNhiBpAAeqW9grr9SH2x4GJWkQQbnbQ7ZRBSZf53LD5zvfchS2+aLLHBNd/W/trM9wn6EM0+Z1GIManVyL8Ns+0uit9uI1sMD6LPptwzTg==
X-Received: by 2002:a05:620a:408a:b0:787:76ed:f4af with SMTP id f10-20020a05620a408a00b0078776edf4afmr22586qko.12.1708436296066;
Tue, 20 Feb 2024 05:38:16 -0800 (PST)
X-Forwarded-Encrypted: i=1; AJvYcCWCs+2lgLVojfMCO01kjfIu2+SCjwP70D+rj/nO3co8y48+cN6yQQP5YxnxkYlhp9rC4O8kjvD1I9OlF00JEpncsy+yR4xdwr+bsF+wg7ueMB58Zw==
X-Received: by 2002:a0c:cd12:0:b0:68f:31a9:acc8 with SMTP id
b18-20020a0ccd12000000b0068f31a9acc8mr904380qvm.10.1708436295702; Tue, 20 Feb
2024 05:38:15 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper
Date: Tue, 20 Feb 2024 05:38:15 -0800 (PST)
In-Reply-To: <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=188.188.21.161; posting-account=7GTjmQoAAAAnuMu4_kB_Xb1f1ndGktlU
NNTP-Posting-Host: 188.188.21.161
References: <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b1f814aa-b142-4930-8efe-e3104a4420b4n@googlegroups.com>
Subject: Re: expression error ( in index key )
From: fannuffel@gmail.com (frank van nuffel)
Injection-Date: Tue, 20 Feb 2024 13:38:16 +0000
Content-Type: text/plain; charset="UTF-8"
 by: frank van nuffel - Tue, 20 Feb 2024 13:38 UTC

Hi Scott,

1. if file( "SCANFILE.DBF" ) = .T.

why not use

if file( "C:\SCANFILE.DBF" ) // = .T. is not necessary

2 after that line, is SCANFILE.DBF still in use? Then first close it, only then erase SCANFILE.NDX

3 do you suppose correctly that the DBFNDX RDD doesn't work with production indices?
if DBFNDX does use production indices, then USE SCANFILE.DBF fails because there is no SCANFILE.NDX on disk (it got erased)

4 use SCANFILE.DBF
index on ITEM to SCANFILE.NDX

can be omitted when DBFNDX tries to open the production index, just write

use c:\SCANFILE.DBF

5 if DBFNDX doesn't work with production indices (i really don't know), then check whether there is a second SCANFILE.DBF somewhere trailing in your PATH; use SCANFILE.DBF uses the SCANFILE.DBF that it finds first

hth,

lohen

Op maandag 19 februari 2024 om 19:25:10 UTC+1 schreef Scott Coffey:
> Hoping for a minor miracle here...
>
> I have a Clipper application running on a handheld device (Pocket PC).
> I'm using PocketDOS as the OS on the handheld device. I'm trying to
> port this application to a handheld running Windows CE 7.0. Although
> I had some issues installing PocketDOS on the Windows CE device (was
> unable to use the installer and had to install manually), I got it
> installed and am able to launch and run the Clipper application on
> this device.
>
> The application runs fine until I try to create an index, then the
> application fails when I try to use that index.
>
> Example:
>
> Program A uses the following statement:
>
> use c:\SCANFILE.DBF index C:\SCANFILE.NDX alias SCANFILE
>
> That works fine as long as I'm using the original index created on the
> old Pocket PC handheld. Then I have a program that does:
>
> if file( "SCANFILE.DBF" ) = .T.
> if file( "SCANFILE.NDX" ) = .T.
> erase ("SCANFILE.NDX")
> endif
> use SCANFILE.DBF
> index on ITEM to SCANFILE.NDX
> endif
>
> That runs OK, but the next time I try to run program A, it fails on
> the "use" statement with the error: "expression error ( in index key
> )"
>
> The database files and indexes were copied from the working device to
> the new device. As stated, accessing the database files via the index
> works OK initially, but when I try to recreate the index the program
> then fails as described. If I re-copy the files, the program works
> again until I try to recreate the index.
>
> Any ideas out there?
> --
> Scott at Scott dash(-) Coffey dot net

Re: expression error ( in index key )

<f427117b-c96b-419b-8a34-bb9df35cd6c2n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=118&group=comp.lang.clipper#118

  copy link   Newsgroups: comp.lang.clipper
X-Forwarded-Encrypted: i=1; AJvYcCWpTxfENvnHek1rGIvho+pF+nIsU6FXszRR12MNwsKB+hfJye3ohDKixb1vpUbDShvc1J6cAtseNRpp9XhLWo5GWWe1kKQttNvk8ABZjR/6WFwRPNelYg==
X-Received: by 2002:a05:6214:4118:b0:68f:4123:5070 with SMTP id kc24-20020a056214411800b0068f41235070mr713976qvb.5.1708443128605;
Tue, 20 Feb 2024 07:32:08 -0800 (PST)
X-Forwarded-Encrypted: i=1; AJvYcCWId4M3pnxmGjjtpAveaMp2qs5szSvOfvfIpglmrqgkb/BLr2GztwmmgIESHjO+Q9SGhYnaaDDb86mLDhP81s3HgZxm/HugMDBsRCvZUOCEW+OKaA==
X-Received: by 2002:a05:6214:5017:b0:68f:52c8:1265 with SMTP id
jo23-20020a056214501700b0068f52c81265mr310139qvb.3.1708443128354; Tue, 20 Feb
2024 07:32:08 -0800 (PST)
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper
Date: Tue, 20 Feb 2024 07:32:08 -0800 (PST)
In-Reply-To: <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:1700:15df:c8df:2d2e:6664:cf25:aaa;
posting-account=MVjzhQoAAAC9p_5zLm3q76BQ_cMWZzZC
NNTP-Posting-Host: 2600:1700:15df:c8df:2d2e:6664:cf25:aaa
References: <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f427117b-c96b-419b-8a34-bb9df35cd6c2n@googlegroups.com>
Subject: Re: expression error ( in index key )
From: turkeyheadedmutha@gmail.com (Dlzc)
Injection-Date: Tue, 20 Feb 2024 15:32:08 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Dlzc - Tue, 20 Feb 2024 15:32 UTC

On Monday, February 19, 2024 at 12:25:10 PM UTC-6, Scott Coffey wrote:
> Hoping for a minor miracle here...
....
move this code first adding explicit references to the drive you say crashes.
> if file( "c:\SCANFILE.DBF" ) = .T.
> if file( "c:\SCANFILE.NDX" ) = .T.
> erase ("c:\SCANFILE.NDX")
> endif
> use SCANFILE.DBF
> index on ITEM to SCANFILE.NDX

.... how do you know c:\ has been selected?

> endif
.... then
> use c:\SCANFILE.DBF index C:\SCANFILE.NDX alias SCANFILE
> Any ideas out there?

Micro$haft never did like code writing to the root of the C-drive. Why do you? All that would need to happen is for the application to have selected the "working" or "program" directory for this to fail.

David A. Smith

Re: expression error ( in index key )

<lo0ctipjr73pjc1fo4d4ks0lhrkct7d6t6@4ax.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=119&group=comp.lang.clipper#119

  copy link   Newsgroups: comp.lang.clipper
Path: i2pn2.org!rocksolid2!news.neodome.net!tncsrv06.tnetconsulting.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx13.iad.POSTED!not-for-mail
From: none@noemail.com.invalid (Scott Coffey)
Newsgroups: comp.lang.clipper
Subject: Re: expression error ( in index key )
Organization: .
Message-ID: <lo0ctipjr73pjc1fo4d4ks0lhrkct7d6t6@4ax.com>
References: <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com>
User-Agent: ForteAgent/7.20.32.1218
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 8
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Wed, 21 Feb 2024 09:06:47 -0500
X-Received-Bytes: 874
 by: Scott Coffey - Wed, 21 Feb 2024 14:06 UTC

Will certainly look at your suggestions.

Sorry to spam two different groups here... I'll be monitoring the
traffic in comp.lang.xharbour going forward.

Thanks
--
Scott at Scott dash(-) Coffey dot net

Re: expression error ( in index key )

<7u9ctipd3fs8arropvpqld9inrugnaogri@4ax.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=120&group=comp.lang.clipper#120

  copy link   Newsgroups: comp.lang.clipper
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!news.nntp4.net!paganini.bofh.team!nntp.comgw.net!peer01.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx44.iad.POSTED!not-for-mail
From: none@noemail.com.invalid (Scott Coffey)
Newsgroups: comp.lang.clipper
Subject: Re: expression error ( in index key )
Organization: .
Message-ID: <7u9ctipd3fs8arropvpqld9inrugnaogri@4ax.com>
References: <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com>
User-Agent: ForteAgent/7.20.32.1218
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 133
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Wed, 21 Feb 2024 13:00:24 -0500
X-Received-Bytes: 4626
 by: Scott Coffey - Wed, 21 Feb 2024 18:00 UTC

OK, belay that last message from me... I'll continue with this
thread...

Frank: I know the code is crappy, but I didn't write it, I'm only the
caretaker. :)

David: Thanks so much for your help... you've helped me many times in
the past.

I took your advice and created a folder in the root of C: on the
handheld to contain the application. The folder is called "HANDHELD".
I then added the following to the main calling program:

set default to C:\HANDHELD
set path to C:\HANDHELD

I then removed any specific references to C:\ in the program. For
example:

use c:\SCANFILE.DBF index C:\SCANFILE.NDX alias SCANFILE

now reads:

use SCANFILE.DBF index SCANFILE.NDX alias SCANFILE

But, that didn't help with my problem.

The issue seems to be with writing to .DBF files.

In a part of the application, it writes records to a database file. I
wrote a few records and then exited the program. I then attempted to
open the file on the handheld device using Advantage Data Architect,
and it failed to open the file with an error message that said "The
table contains more or less records than specified in the table
header." (Using ADA to open other database files that I haven't tried
to write to works OK.) I then copied that file to my PC and it opened
with no error, but the file was empty. So, the problem lies with
writes to .DBF files somehow, or possibly with how DOS is handling the
file tables. (Reading from .DBF files isn't an issue... I have a
program that verifies item numbers by accessing a master file of items
in a .DBF file and that works just fine.)

To eliminate a problem with writes in general, I wrote a program that
wrote directly to a text file. Here is the code:

set default to C:\HANDHELD
set path to C:\HANDHELD
cTEXT = memoread( "SCOTT.TXT" )
cNEWTEXT = stuff( cTEXT, 1, 4, "CHANGE" )
memowrit( "SCOTT2.TXT", cNEWTEXT )

I was able to open 'scott2.txt' just fine on the handheld and it
contained the data I was expecting. So, there doesn't seem to be a
problem with writes in general, but only with writes to .DBF files.

Here is my compile script:

Clipper C:\Handheld\%1 -oc:\Handheld > errors.txt
IF NOT ERRORLEVEL 1 BLINKER FI C:\Handheld\%1 @c:\CLIPS87\BCL.LNK <
C:\Handheld\C.TXT
IF NOT ERRORLEVEL 1 DEL C:\Handheld\%1.OBJ

Here is my link script:

BLINKER INCREMENTAL OFF
BLINKER EXECUTABLE CLIPPER F45
# BLINKER CACHE XMS 1024, 25%
BLINKER CACHE EMS 1024, 25%
BLINKER OVERLAY FIXED
# BEGINAREA
# #LIB \CLIPS87\EXTEND
#LIB \CLIPS87\NANFOR
# ENDAREA
# FILE \CLIPS87\NDX
@\BLINKER\CLP\LNK\CL87MID.LNK

I'm not sure what I can add/change here to affect writing to .DBF
files. Keep in mind that the applicatin has worked on two different
generations of handheld devices, as well as on my test box. Since the
only different variable here is (in theory) the version of PocketDOS
I'm using on the Windows CE device, it would seem that the problem is
there, rather than with the code or compiler. But I can't think of
any DOS configuration change that might help here. Here are my
autoexec.bat and config.sys files:

autoexec.bat:

cls

rem -----
rem The following line sets the DOS PATH
rem -----
PATH A:\DOS

rem ----
rem Display drive settings (for information only)
rem Type: SETDRIVE /? for more information.
rem Note: SETDRIVE must be run from AUTOEXEC.BAT to enable saved
redirections
rem ----
SETDRIVE NOBANNER
echo.

C:
cd handheld
main.exe

********************************

config.sys:

rem ----
rem Load File System Redirector
rem ----
DEVICEHIGH=\DOS\PKTDOSFS.SYS

rem ----
rem Load Expanded Memory (LIM EMS 3.2) Driver
rem ----
DEVICEHIGH=\DOS\EMSMEM.SYS

Sorry for the wall of text... just trying to provide all relevant
info.

Thanks
--
Scott at Scott dash(-) Coffey dot net

Re: expression error ( in index key )

<20692ba7-3315-4db4-b603-667270bf4fden@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=121&group=comp.lang.clipper#121

  copy link   Newsgroups: comp.lang.clipper
X-Forwarded-Encrypted: i=1; AJvYcCVAH2YRc7zoA6dipXNEi2SlLhZfK4p0M3UBiC2xfYMG6IkaDQT34DD4UgFMg5jhCoIt8L+1m4f3EW1/fljuTOF68ME15wN2d/A4gv+r/uYNNRpdaQ==
X-Received: by 2002:ad4:5b85:0:b0:68f:b716:9ba1 with SMTP id 5-20020ad45b85000000b0068fb7169ba1mr618qvp.13.1708540065454;
Wed, 21 Feb 2024 10:27:45 -0800 (PST)
X-Forwarded-Encrypted: i=1; AJvYcCXc4T3STs9rA8GbRiYWcFzo9OEGEkZVlroyJXGysgLzdIM5ygPpoIvE1mUKcxGhew4cP7QSsQuDeg4h+uvXp4jugKkEDJ5tGCiZXkzFA2/TGb4DNQ==
X-Received: by 2002:a05:6214:2468:b0:68f:8556:c48 with SMTP id
im8-20020a056214246800b0068f85560c48mr386936qvb.11.1708540065119; Wed, 21 Feb
2024 10:27:45 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper
Date: Wed, 21 Feb 2024 10:27:44 -0800 (PST)
In-Reply-To: <7u9ctipd3fs8arropvpqld9inrugnaogri@4ax.com>
Injection-Info: google-groups.googlegroups.com; posting-host=188.188.9.123; posting-account=7GTjmQoAAAAnuMu4_kB_Xb1f1ndGktlU
NNTP-Posting-Host: 188.188.9.123
References: <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com> <7u9ctipd3fs8arropvpqld9inrugnaogri@4ax.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <20692ba7-3315-4db4-b603-667270bf4fden@googlegroups.com>
Subject: Re: expression error ( in index key )
From: fannuffel@gmail.com (frank van nuffel)
Injection-Date: Wed, 21 Feb 2024 18:27:45 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 11
 by: frank van nuffel - Wed, 21 Feb 2024 18:27 UTC

Hi Scott, so, your device (or combination of device and filesystem/os) isn't forcing read-only mode?

Do you boot your device with PocketOS? Or does it run under a VM?

F

Ps: accessing clc from Google, last hours before read-only Google usenet policy kicks in!

Op woensdag 21 februari 2024 om 19:00:29 UTC+1 schreef Scott Coffey:
> Scott at Scott dash(-) Coffey dot net

I'll resume at your address when required

Re: expression error ( in index key )

<d9d46a1d-c235-4840-ae74-5c3d37665eeen@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=122&group=comp.lang.clipper#122

  copy link   Newsgroups: comp.lang.clipper
X-Forwarded-Encrypted: i=1; AJvYcCUnt9KhacF1lHYkzU2tLP94lrxqGXw5/8QK4EEm3VmPQTSYwUxkUADMSocoDnOBmb3TQgnz0aogc4pUP2lZTMf8sxoW1r114UVPhVkga91C1Du5nFV3
X-Received: by 2002:a05:622a:13cf:b0:42c:7857:d34d with SMTP id p15-20020a05622a13cf00b0042c7857d34dmr601059qtk.13.1708542628856;
Wed, 21 Feb 2024 11:10:28 -0800 (PST)
X-Forwarded-Encrypted: i=1; AJvYcCWipBd+4fGFHQ7tC6b1JH6ShX4Xhic+siloBdf4nz/L+lkVJsImF8diEWrKmFlTqWXHVSN6B+6l54tCNtDQXOnP1iJN+dz2jOjwMT/6izctcGcIsQ==
X-Received: by 2002:ac8:5e0c:0:b0:42d:d78e:ab62 with SMTP id
h12-20020ac85e0c000000b0042dd78eab62mr547458qtx.4.1708542628533; Wed, 21 Feb
2024 11:10:28 -0800 (PST)
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper
Date: Wed, 21 Feb 2024 11:10:28 -0800 (PST)
In-Reply-To: <20692ba7-3315-4db4-b603-667270bf4fden@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=213.251.99.124; posting-account=7GTjmQoAAAAnuMu4_kB_Xb1f1ndGktlU
NNTP-Posting-Host: 213.251.99.124
References: <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com> <7u9ctipd3fs8arropvpqld9inrugnaogri@4ax.com>
<20692ba7-3315-4db4-b603-667270bf4fden@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d9d46a1d-c235-4840-ae74-5c3d37665eeen@googlegroups.com>
Subject: Re: expression error ( in index key )
From: fannuffel@gmail.com (frank van nuffel)
Injection-Date: Wed, 21 Feb 2024 19:10:28 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2099
 by: frank van nuffel - Wed, 21 Feb 2024 19:10 UTC

Pocket OS _is_ a VM?

Does Pocket OS support FAT32? Does Windows CE have known issues with FAT32? Better not use a NTFS volume, even if Pocket OS supports it!

Do you combine the latest .libs for Clipper '87?

Does mounting to another drive letter than C:\ changes anything

>SETDRIVE NOBANNER

To me, there's the culprit - perhaps some incompatibility between SHARE (or Network Drive configuration at the Host OS, Windows CE) and Pocket OS

Just some ideas

Frank

Re: expression error ( in index key )

<821cc1bb-e91c-4872-bc7b-a93cd1f53ef9n@googlegroups.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=123&group=comp.lang.clipper#123

  copy link   Newsgroups: comp.lang.clipper
X-Forwarded-Encrypted: i=1; AJvYcCU5D4WY+iz5bfOFi/lc4lHcRDStN5akAzlkNB8kSNMq3gIi1oXp36XLtKgdMSkkR5EVEfq8+OzmKJPPs8BjFjby94Ig7faZV6jeO02aAVc02IrbXdKzqw==
X-Received: by 2002:a05:620a:2a02:b0:787:830e:24d9 with SMTP id o2-20020a05620a2a0200b00787830e24d9mr29514qkp.10.1708542924704;
Wed, 21 Feb 2024 11:15:24 -0800 (PST)
X-Forwarded-Encrypted: i=1; AJvYcCVuX/qiz6gbEVApPGIUF1iLxXBATaUwA/+HSRYY3yiQr0zoCUcACSXUvX2QiO6EXs1pz5REYAamasrpaPwWxOeVZ+mM77KttuYuokE5qrlsCoezGA==
X-Received: by 2002:a05:620a:17ab:b0:787:908f:f15f with SMTP id
ay43-20020a05620a17ab00b00787908ff15fmr1698qkb.7.1708542924361; Wed, 21 Feb
2024 11:15:24 -0800 (PST)
Path: i2pn2.org!rocksolid2!news.neodome.net!news.mixmin.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.clipper
Date: Wed, 21 Feb 2024 11:15:24 -0800 (PST)
In-Reply-To: <d9d46a1d-c235-4840-ae74-5c3d37665eeen@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=213.251.99.124; posting-account=7GTjmQoAAAAnuMu4_kB_Xb1f1ndGktlU
NNTP-Posting-Host: 213.251.99.124
References: <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com> <7u9ctipd3fs8arropvpqld9inrugnaogri@4ax.com>
<20692ba7-3315-4db4-b603-667270bf4fden@googlegroups.com> <d9d46a1d-c235-4840-ae74-5c3d37665eeen@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <821cc1bb-e91c-4872-bc7b-a93cd1f53ef9n@googlegroups.com>
Subject: Re: expression error ( in index key )
From: fannuffel@gmail.com (frank van nuffel)
Injection-Date: Wed, 21 Feb 2024 19:15:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: frank van nuffel - Wed, 21 Feb 2024 19:15 UTC

Can copying your files from the source to the destination be done from within Pocket OS? Iow, does Pocket OS recognize external volumes (even NTFS volumes), then try installing everything into your Pocket OS volume by hauling over from your source volume, not via the Host OS?

Mind, i'm unfamiliar with Pocket OS, but it's worth trying

Frank

Re: expression error ( in index key )

<uqqeti1n9gbv1klorbv1d62iggm91gjula@4ax.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=124&group=comp.lang.clipper#124

  copy link   Newsgroups: comp.lang.clipper
Path: i2pn2.org!rocksolid2!news.neodome.net!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx01.iad.POSTED!not-for-mail
From: none@noemail.com.invalid (Scott Coffey)
Newsgroups: comp.lang.clipper
Subject: Re: expression error ( in index key )
Organization: .
Message-ID: <uqqeti1n9gbv1klorbv1d62iggm91gjula@4ax.com>
References: <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com> <7u9ctipd3fs8arropvpqld9inrugnaogri@4ax.com> <20692ba7-3315-4db4-b603-667270bf4fden@googlegroups.com> <d9d46a1d-c235-4840-ae74-5c3d37665eeen@googlegroups.com> <821cc1bb-e91c-4872-bc7b-a93cd1f53ef9n@googlegroups.com>
User-Agent: ForteAgent/7.20.32.1218
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 86
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Thu, 22 Feb 2024 11:12:09 -0500
X-Received-Bytes: 5103
 by: Scott Coffey - Thu, 22 Feb 2024 16:12 UTC

On Wed, 21 Feb 2024 11:15:24 -0800 (PST), frank van nuffel
<fannuffel@gmail.com> wrote:

>Can copying your files from the source to the destination be done from within Pocket OS? Iow, does Pocket OS recognize external volumes (even NTFS volumes), then try installing everything into your Pocket OS volume by hauling over from your source volume, not via the Host OS?
>
>Mind, i'm unfamiliar with Pocket OS, but it's worth trying
>
>Frank

Thanks for the reply Frank.

> Do you boot your device with PocketOS? Or does it run under a VM?

The device boots from Windows CE 7.0. I use a DOS emulator
(PocketDOS) to run my Clipper application.

The client is currently using an Intermec handheld device that runs
Pocket PC ver 3.0 OS. My goal is to port the Clipper application
(scanning/data entry) to a newer (newish) handheld running Windows CE
7.0. The application that is currently running on the Intermec device
also runs under the same PocketDOS emulator, although an older version
that is designed to run under Pocket PC OS.

PocketDOS allows mapping drives to folders on the handheld. On the
Windows CE handheld device there is the root (\) where Windows/Program
Files, etc. live. Then there is a folder called "Application" where
developer apps live. The device can be "reset", which takes
everything except the "Application" folder back to a factory state.
IOW, if you have something you want to survive after a reset, it
should live in the "Application" folder. So I have the C: drive
mapped to the "Application" folder. The A: drive is mapped to a
virtual boot disk. I have the Clipper app running from a folder
called "Houser" (client's name) inside the "Application" folder. So
from a DOS perspective, the true root of the device (where Windows
lives) is hidden. It only knows about things in the "Application"
folder, because that's where C: is mapped.

> Does Pocket OS support FAT32? Does Windows CE have known issues with FAT32? Better not use a NTFS volume, even if Pocket OS supports it!

Since the application runs under the DOS emulator, it doesn't know
about NTFS. It thinks it's running under DOS, so FAT32 is the file
system.

> Do you combine the latest .libs for Clipper '87?

To the best of my knowledge. Keep in mind that the application has
run flawlessly for years under two generations of handheld devices
(Intermec and Janus). I haven't changed anything in my development
environment.

> Does mounting to another drive letter than C:\ changes anything

Possibly. I will probably try that next. Just caught Covid (again)
so not really in the mood to play with it ATM.

> Can copying your files from the source to the destination be done from within Pocket OS? Iow, does Pocket OS recognize external volumes (even NTFS volumes), then try installing everything into your Pocket OS volume by hauling over from your source volume, not via the Host OS?

> Mind, i'm unfamiliar with Pocket OS, but it's worth trying

Not 100% sure I follow you.

The method of moving files from my dev box to the handheld is via
Microsoft's Active Sync/Windows Mobile Device Center. I develop the
handheld applications on a Windows 7 box running in XP mode (where
there is still DOS support) and then copy the .exe and database files
via XP --> Windows 7 --> Windows 10 --> Windows Mobile Device Center.
Connection from handheld is USB.

PocketDOS *does* support network drives, so I may try mapping that,
leaving the application files on my dev box to see if that changes
anything. It's not a long-term solution, but it may provide some
insight.

I'll try installing on a different drive than C: when I get a chance,
although I'm not too hopeful it will help. I was really hoping that
following David's advice to move the application off the root of C:
would buy me something, but no joy.

If I can't make any additional progress, I may suggest to the client
that we try a handheld running Windows Embedded rather than Windows
CE. I've already tried an Android based device, but the DOS emulation
available for Android leave a lot to be desired.

Thanks,
--
Scott at Scott dash(-) Coffey dot net

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor