Groups | Search | Server Info | Login | Register


Groups > comp.lang.clipper > #1735

Re: expression error ( in index key )

Newsgroups comp.lang.clipper
Date 2024-02-20 07:32 -0800
References <2467ti5rrggd0u5eipkrp8vcs8c9qjcdfo@4ax.com>
Message-ID <f427117b-c96b-419b-8a34-bb9df35cd6c2n@googlegroups.com> (permalink)
Subject Re: expression error ( in index key )
From Dlzc <turkeyheadedmutha@gmail.com>

Show all headers | View raw


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

Back to comp.lang.clipper | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

expression error ( in index key ) Scott Coffey <none@noemail.com.invalid> - 2024-02-19 13:25 -0500
  Re: expression error ( in index key ) frank van nuffel <fannuffel@gmail.com> - 2024-02-20 05:38 -0800
  Re: expression error ( in index key ) Dlzc <turkeyheadedmutha@gmail.com> - 2024-02-20 07:32 -0800
  Re: expression error ( in index key ) Scott Coffey <none@noemail.com.invalid> - 2024-02-21 09:06 -0500
  Re: expression error ( in index key ) Scott Coffey <none@noemail.com.invalid> - 2024-02-21 13:00 -0500
    Re: expression error ( in index key ) frank van nuffel <fannuffel@gmail.com> - 2024-02-21 10:27 -0800
      Re: expression error ( in index key ) frank van nuffel <fannuffel@gmail.com> - 2024-02-21 11:10 -0800
        Re: expression error ( in index key ) frank van nuffel <fannuffel@gmail.com> - 2024-02-21 11:15 -0800
          Re: expression error ( in index key ) Scott Coffey <none@noemail.com.invalid> - 2024-02-22 11:12 -0500

csiph-web