I need to make a scope on a date Field for example January 2009 or Dezember 2010
index is dtoc(datefield)
i tested scope on "01.01.2009" , "31.01.2009"
but dont work
tx
Need Help with date and scope
Re: Need Help with date and scope
Hi Sepp
I use scopes with no problem with DBFCDX, but when I build indexes I do it with DTOS(DATE)
Select 1
Use Contracts Index Contracts alias con Shared
Set Order to 2 //This is my DTOS(DATE) Index
Fec1:="20000101" // 01/01/2000
Fec2:="20000530" //30/05/2000
con->(OrdScope(0,Fec1))
con->(OrdScope(1,Fec2))
con->(DbGoTop())
Hope it helps
From Chile
Adolfo
I use scopes with no problem with DBFCDX, but when I build indexes I do it with DTOS(DATE)
Select 1
Use Contracts Index Contracts alias con Shared
Set Order to 2 //This is my DTOS(DATE) Index
Fec1:="20000101" // 01/01/2000
Fec2:="20000530" //30/05/2000
con->(OrdScope(0,Fec1))
con->(OrdScope(1,Fec2))
con->(DbGoTop())
Hope it helps
From Chile
Adolfo
Ji,ji,ji... buena la cosa... "all you need is code"
http://www.xdata.cl - Desarrollo Inteligente
----------
Lenovo Legion Y520, 16GB Ram, 1 TB NVME M.2, 1 TB SSD, GTX 1050
http://www.xdata.cl - Desarrollo Inteligente
----------
Lenovo Legion Y520, 16GB Ram, 1 TB NVME M.2, 1 TB SSD, GTX 1050
- Sepp Hinterhuber
- Posts: 8
- Joined: Thu Jun 03, 2010 9:15 am
Re: Need Help with date and scope
Yes it helps
Thanks You
Thanks You