Hello,
Can someone help me please.
I try with:
index on field-> ORDER DAY TmpAUFT6 TO TEMPUMS TEMPORARY
to create a temporary index.
Where is it created?
Error description: (DOS Error 267) DBFCDX/1006 Create error: TEMPUMS.cdx
Best regards
Otto
Error description: (DOS Error 267) DBFCDX/1006 Create error
- Otto
- Posts: 6412
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 26 times
- Been thanked: 2 times
- Contact:
Error description: (DOS Error 267) DBFCDX/1006 Create error
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Enrico Maria Giordano
- Posts: 8761
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 5 times
- Contact:
Re: Error description: (DOS Error 267) DBFCDX/1006 Create error
Otto wrote:Hello,
Can someone help me please.
I try with:
index on field-> ORDER DAY TmpAUFT6 TO TEMPUMS TEMPORARY
This is a wrong syntax. You can't use spaces inside a field name.
EMG
- Otto
- Posts: 6412
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 26 times
- Been thanked: 2 times
- Contact:
Re: Error description: (DOS Error 267) DBFCDX/1006 Create error
Hello Enrico,
I am sorry, but autocorrection changed the expression.
I have:
index on field->AUFTRAGNUM TAG TmpAUFT6 TO TEMP5 TEMPORARY
( Auftragnum was translated to order and TAG to day )
Can you please help me. Where do I find the directory.
Best regards
Otto
I am sorry, but autocorrection changed the expression.
I have:
index on field->AUFTRAGNUM TAG TmpAUFT6 TO TEMP5 TEMPORARY
( Auftragnum was translated to order and TAG to day )
Can you please help me. Where do I find the directory.
Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Enrico Maria Giordano
- Posts: 8761
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 5 times
- Contact:
Re: Error description: (DOS Error 267) DBFCDX/1006 Create error
I can't reproduce the problem. Can I have your DBF and all that is required to reproduce the problem here, please?
EMG
EMG
- Otto
- Posts: 6412
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 26 times
- Been thanked: 2 times
- Contact:
Re: Error description: (DOS Error 267) DBFCDX/1006 Create error
Hello Enrico,
I have the problem in a vm. Everything works fine for me local. In this VM I get the error with every database.
I asked the question before, then I was able to solve the problem, but I don't remember where the temp folder is.
viewtopic.php?f=3&t=37533&p=224442&hilit=temporary+index#p224442
Thank you for your help.
Best regards
Otto
I have the problem in a vm. Everything works fine for me local. In this VM I get the error with every database.
I asked the question before, then I was able to solve the problem, but I don't remember where the temp folder is.
viewtopic.php?f=3&t=37533&p=224442&hilit=temporary+index#p224442
Thank you for your help.
Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Otto
- Posts: 6412
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 26 times
- Been thanked: 2 times
- Contact:
Re: Error description: (DOS Error 267) DBFCDX/1006 Create error
Hello Enrico,
now I inserted
? GETENV("TMP")
and I see that the environment is:
WINDOWS 10
c:\Users\Otto Buero\AppData\Local\Temp\
SERVER 2019
c:\Users\Otto Buero\AppData\Local\Temp\16
If I create 16 my self all is working.
But what is the correct way.
Best regards
Otto
now I inserted
? GETENV("TMP")
and I see that the environment is:
WINDOWS 10
c:\Users\Otto Buero\AppData\Local\Temp\
SERVER 2019
c:\Users\Otto Buero\AppData\Local\Temp\16
If I create 16 my self all is working.
But what is the correct way.
Best regards
Otto
Code: Select all | Expand
#include 'fivewin.ch'
//----------------------------------------------------------------------------//
REQUEST DBFCDX
REQUEST DBFFPT
//----------------------------------------------------------------------------//
Function main()
//----------------------------------------------------------------------------//
? GETENV("TMP")
use "umsatz.dbf" new
index on field->bezeichnun TAG TmpB5Nr TO TEMP5 TEMPORARY
xbrowse("umsatz")
msginfo( procname() + " " + str(procline()) + " " + str( 1 ) )
return nil
//----------------------------------------------------------------------------//
INIT PROCEDURE PrgInit
SET CENTURY ON
SET EPOCH TO YEAR(DATE())-98
SET DELETED ON
SET EXCLUSIVE OFF
REQUEST HB_Lang_DE
HB_LangSelect("DE")
SET DATE TO GERMAN
SetHandleCount(205)
rddsetdefault( "DBFCDX" )
SetGetColorFocus()
EXTERN DESCEND
SetBalloon( .F. )
SetKinetic( .T. )
fwNumFormat( 'E', .t. )
RETURN
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Enrico Maria Giordano
- Posts: 8761
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 5 times
- Contact:
Re: Error description: (DOS Error 267) DBFCDX/1006 Create error
Sorry, I'm not familiar with VMs.
EMG
EMG
- karinha
- Posts: 7948
- Joined: Tue Dec 20, 2005 7:36 pm
- Location: São Paulo - Brasil
- Been thanked: 3 times
- Contact:
Re: Error description: (DOS Error 267) DBFCDX/1006 Create error
Mister otto, test please.
Regards.
Code: Select all | Expand
#include 'Fivewin.ch'
#Include "Directry.ch"
#Include "Ord.Ch"
ANNOUNCE RDDSYS
REQUEST DBFCDX
REQUEST DBFFPT
EXTERNAL DESCEND
FUNCTION Main()
//----------------------------------------------------------------------------//
? GETENV( "TMP" )
// USE "umsatz.dbf" new
// INDEX ON field->bezeichnun TAG TmpB5Nr TO TEMP5 TEMPORARY
// xbrowse( "umsatz" )
USE CUSTOMER NEW
INDEX ON FIELD->FIRST TAG FIRST TO TEMP5 TEMPORARY // MEMORY
GO TOP
xbrowse( "CUSTOMER" )
msginfo( procname() + " " + str( procline() ) + " " + str( 1 ) )
RETURN nil
//----------------------------------------------------------------------------//
INIT PROCEDURE PrgInit
SET DATE TO GERMAN
SET CENTURY ON
// SET EPOCH TO YEAR( DATE() ) - 98 //??
SET EPOCH TO YEAR( DATE() ) - 50 // OR 30
SET DELETED ON
SET EXCLUSIVE OFF
SET MULTIPLE OFF
REQUEST HB_Lang_DE
HB_LangSelect( "DE" )
// SetHandleCount( 205 ) // 16 Bits ??
rddsetdefault( "DBFCDX" )
SetGetColorFocus()
SetBalloon( .F. )
SetKinetic( .T. )
fwNumFormat( 'E', .T. )
RETURN NIL
Regards.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
- Otto
- Posts: 6412
- Joined: Fri Oct 07, 2005 7:07 pm
- Has thanked: 26 times
- Been thanked: 2 times
- Contact:
Re: Error description: (DOS Error 267) DBFCDX/1006 Create error
Hello João,
I tried the changes but with no success.
As for the moment I implemented this solution which seems to work:
LOCAL CtMP := GETENV( "TMP" )
//----------------------------------------------------------------------------//
lMKDir(CtMP)
Thank you for your help and best regards
Otto
I tried the changes but with no success.
As for the moment I implemented this solution which seems to work:
LOCAL CtMP := GETENV( "TMP" )
//----------------------------------------------------------------------------//
lMKDir(CtMP)
Thank you for your help and best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************