Search found 187 matches

by ORibeiro
Mon Feb 14, 2022 7:22 am
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

Thanks Rao,
With oCn:time_zone := '+00:00' is Correct.
Thanks a lot.

function Main()   local oCn, oRs[4], oDlg, oFont   SET DATE ITALIAN   SET CENTURY ON   SET TIME FORMAT TO "HH:MM:SS"   FWCONNECT oCn HOST "208.91.198.197:3306 ...
by ORibeiro
Fri Feb 11, 2022 6:13 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

Mr. Rao,

Did you notice that the "00:mm:ss" records on the 13th day are showing up on the 12th day?

Do you have any news on this?
by ORibeiro
Wed Feb 09, 2022 10:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

Thaks João.

Here it are the image:

https://uploaddeimagens.com.br/imagens/VCBQyKo
by ORibeiro
Wed Feb 09, 2022 5:10 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

Hi Raw,

I sent the image to your e-mail because I don't know how to attach it here on the forum.

Thank your help.
by ORibeiro
Wed Feb 09, 2022 1:18 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

Please run this test.

#include "fivewin.ch"function Main()   local oCn, oRs   local t   SET DATE ITALIAN   SET CENTURY ON   FWCONNECT oCn HOST "208.91.198.197:3306" USER "gnraofwh" PASSWORD "Bharat@1950" DATABASE "fwhdemo" PORT "3306 ...
by ORibeiro
Wed Feb 09, 2022 12:50 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

Hi Rao,

I was able to reproduce the situation. Please run the code below that it will return 31 records, but actually are 29.

The same select in HeidiSQL correctly returns 29 records.

#include "fivewin.ch"function Main()   local oCn, oRs   local t   SET DATE ...
by ORibeiro
Mon Feb 07, 2022 8:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

The FW_DemoDB( 6 ) doesn’t work.
by ORibeiro
Mon Feb 07, 2022 4:56 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

Raw,

I tried to run your example but returned the error: 1045 Acess denied for user 'sql7148817@'189-46-180-40.dsl.telesp.net.br (using password: YES).

Thanks
by ORibeiro
Sun Feb 06, 2022 10:30 am
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

Unfortunately it didn't work.
Could the problem be with my DLL version?
by ORibeiro
Sat Feb 05, 2022 12:14 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

Hello,

I would like to know if this issue in select with TIMESTAMP field has been fixed in newer versions of FWH.

The same SELECT in SQLRDD and HeidiSQL brings the correct records, but in native mode it brings records from other dates.

Thanks.
by ORibeiro
Fri Feb 04, 2022 2:24 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

Hi Raw,

The type of field is TIMESTAMP.

If I don´t put date(casps.data) the query does´t work and return all records.
by ORibeiro
Wed Feb 02, 2022 4:37 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Re: Problem with SQL Native

Thanks Raw,

I modified to:
WHERE date(casos.data)>=date('2022-01-01') AND date(casos.data)<date('2022-01-12')+1;

The result is 31 records, like before.

There are two records in casos.data = date('2022-01-13') in the result.

I don´t know why.

Do you have another idea?
by ORibeiro
Wed Feb 02, 2022 12:52 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

Problem with SQL Native

Hello Friends,

With this command in oQry:Query() in MySQL
WHERE cases.date BETWEEN '2022-01-01 00:00:00' AND '2022-01-12 23:59:59';
Return 31 records, the last two with date '2022-01-13 00:47:50'

Using the same Select in HeidiSql, 29 records are returned correctly within the period 01 to 12 ...
by ORibeiro
Fri Aug 21, 2020 7:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic:
Replies: -1
Views:

ACBrNFe32

Pessoal,

Já tem alguém usando a lib ACBRNFE32.DLL para emitir NF-e em modo de produção no lugar do ACBrNFeMonitor?

Quero compartilhar os resultados e trocar experiências.
by ORibeiro
Wed Aug 19, 2020 12:14 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Abrir un archivo CSV forzando en UTF-8
Replies: 8
Views: 1451

Re: Abrir un archivo CSV forzando en UTF-8

Na mosca! Resolveu. Obricado.