Hi everybody!
I download win Mobile 6 emulators from MS, and try run application on this emulators.
This code is OK.
//
cFileName := "\kaptar"+ ".dbf"
USE ( CurDir() + cFileName ) ALIAS BASE NEW
Index On Upper(Field->RFIDTAG) To Base1
Set Index To Base1
//
After run application on emulator I can't find any Base1 file on my HD..
Well. I try this
//
Set default to (CurDir())
//
Application don't run on Mobile 6 emulator, but run on mobile 5 or PC 2003 emulator
Base1.ntx file is in current directory!
After I try
//
cFileName := "\kaptar"+ ".dbf"
USE ( CurDir() + cFileName ) ALIAS BASE NEW
Index On Upper(Field->RFIDTAG) To (CurDir()+"\Base1")
Set Index To (CurDir()+"\Base1")
//
It's not work on Mobile 6 emulator but run on mobile 5 or PC 2003 , and Base1.ntx file is in current directory!
Question : "Why I don"t find any base1.* files when run my first code ?"
Regards.
Andrej
Device emulators. Where are ntx files?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Device emulators. Where are ntx files?
Andrej,
You have to specify CurDir() to let Harbour exactly know where the file is.
Please compile using /p flag to create a preprocessed PPO file (ascii) and check the resulting code when you use those commands.
You have to specify CurDir() to let Harbour exactly know where the file is.
Please compile using /p flag to create a preprocessed PPO file (ascii) and check the resulting code when you use those commands.
Re: Device emulators. Where are ntx files?
OK. Thanks. Andrej.