With 31.12.2005 I got another strange result:
SET FDOW TO 2 && week starts with monday
SET FWEEK TO 1 && The first week contains January 1st
? WEEK({31.12.2005}) && returns 53 (correct)
? WEEK({31.12.2005},1) && returns 53 (correct)
? WEEK({31.12.2005},1,2) && returns 1 (incorrect)
SET FDOW TO 2 && week starts with monday
SET FWEEK TO 1 && The first week contains January 1st
? WEEK({31.12.2006}) && returns 1 but should return 53
? WEEK({31.12.2006},1) && returns 1 but should return 53
? WEEK({31.12.2006},1,2) && returns 53
It seems, that the set instructions...
Hallo everybody
Since more than 10 years I am working with Vfp. Mostly with his native database, sometimes with a local MySQL server.
In my current project the MySQL server is in a datacenter where users, who are running my program, are allowed to access the database from internet.
- Because I...
@Stella740pl
With STRCONV() everythink runs fine. E.g.
SELECT * FROM Cards Where STRCONV(KartNr,15) == STRCONV(cKartNr,15)
returns only the specific record.
Thanks for this hint! But I am still confused, why the orginal code
SELECT * FROM Cards Where KartNr == cKartNr
returns not the...
@Stella740pl
I understand your argument with the deleted problem. But there are no duplicate records. And the SELECT statement returns all records, not only a few: all!
Thanks for the article. I also think, that there I am able to find the answer.
Say we have a table created like
CREATE TABLE Cards (KartNr C(6) NOCPTRANS)
The index is created with:
SET COLLATE TO "machine"
INDEX ON kartnr TAG kartnr_idx
KartNr contains binary informations. With the browse command there are displayed as garbage characters. To display them, I have to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.