Search found 1030 matches: odbc

Return to advanced search

Re: ODBC Date Format

I don't know.
Haven't touched ODBC for a very long time.
by nageswaragunupudi
Tue Jul 18, 2023 9:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ODBC Date Format
Replies: 3
Views: 206

Re: ODBC Date Format

hi,
nageswaragunupudi wrote:That is a character value

Please see:
Code: Select all  Expand view
     oDbf:lDateAsStr := .t.

at line 95 of testodbc.prg

ok, thx

when set .F. and use SET DATE GERMAN it display right
by Jimmy
Tue Jul 18, 2023 8:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ODBC Date Format
Replies: 3
Views: 206

Re: XBROWSER ODBC / ADO -> read only ?

hi,
nageswaragunupudi wrote:Using fwh\samples\access.prg, the msaccess database of Read/Write.
We revised access.prg and here it is:

Please copy this program to 32-bit fwh\samples folder overwriting the existing access.prg and build with

Great, thx
by Jimmy
Tue Jul 18, 2023 8:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSER ODBC / ADO -> read only ?
Replies: 3
Views: 205

Re: ODBC Date Format

That is a character value
You con covert to date with
Code: Select all  Expand view
dDate := FW_Str2Dt( strDate )


Please see:
Code: Select all  Expand view
  oDbf:lDateAsStr := .t.

at line 95 of testodbc.prg
by nageswaragunupudi
Tue Jul 18, 2023 6:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ODBC Date Format
Replies: 3
Views: 206

Re: XBROWSER ODBC / ADO -> read only ?

Using fwh\samples\access.prg, the msaccess database of Read/Write. We revised access.prg and here it is: #include "fivewin.ch"REQUEST DBFCDXstatic oCn//----------------------------------------------------------------------------//function Main()   local aTables  &nbs...
by nageswaragunupudi
Tue Jul 18, 2023 5:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSER ODBC / ADO -> read only ?
Replies: 3
Views: 205

XBROWSER ODBC / ADO -> read only ?

hi,

i try c:\fwh\samples\testodbc.prg and c:\fwh\samples\access.prg (BUG ISKINDOF)
i can open "Edit" but all are "read only" :shock:

what do i miss :?:
by Jimmy
Mon Jul 17, 2023 11:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBROWSER ODBC / ADO -> read only ?
Replies: 3
Views: 205

ODBC Date Format

hi,

i notice that Sample c:\fwh\samples\testodbc.prg show DATE as YYYY-DD-MM
i have SET DATE GERMAN but it does not help

how to use ODBC and GERMAN Date Format :?:
by Jimmy
Mon Jul 17, 2023 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ODBC Date Format
Replies: 3
Views: 206

Re: FWH new AutoHelp feature !!!

Testing.

Wen can create a help text. ex. COPY button (ok)
When you go to a other control (ODBC) it will sometimes show the txt from COPY.
But when you click ODBC, see the menu and return, when you click then, the correct help is shown.

Could it be that the ID is not always correct ?
by Marc Venken
Wed Jul 12, 2023 10:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH new AutoHelp feature !!!
Replies: 14
Views: 824

Re: Lentitud al abrir una dbf en red

... is an excellent database choice but for large enterprise apps I like Sql Server. ADO does NOT require any 3rd party connection libraries ( like odbc ) and all the ADO drivers ( connectivity ) are contained on every Microsoft windows 10 workstation .. ADO is very much like the syntax of TDatabase ...
by Rick Lipkin
Sat Jul 08, 2023 1:59 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Lentitud al abrir una dbf en red
Replies: 31
Views: 1637

Re: use Result of SQL Query like "ADODB.Recordset"

... for it but it "seems" it is not "free" for PostgreSQL any more Microsoft introduced ADO as an advancement over ODBC. ADO is designed work both with ODBC drivers and OLEDB providers. We need not have OLEDB provider to use ADO. We can use ADO with ODBC drivers ...
by nageswaragunupudi
Sat Jul 01, 2023 3:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: use Result of SQL Query like "ADODB.Recordset"
Replies: 4
Views: 389

Re: use Result of SQL Query like "ADODB.Recordset"

... even in PgAdmin next is to "browse" and "navigate" ... when using ADODB i got Method to "navigate" but how with ODBC :?: for my "native" Solution i use Listview and a "Cursor" which is "LIMITed" to Size of "Browse" so i ...
by Jimmy
Fri Jun 30, 2023 9:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: use Result of SQL Query like "ADODB.Recordset"
Replies: 4
Views: 389

Re: use Result of SQL Query like "ADODB.Recordset"

As Rao mentions ODBC is a thing of the past .. specifically, lets say I have a corporate SQL application that needs to run on 3000 machines .. that means that (someone ) has to physically go to each of those machines and make sure ...
by Rick Lipkin
Fri Jun 30, 2023 1:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: use Result of SQL Query like "ADODB.Recordset"
Replies: 4
Views: 389

Re: use Result of SQL Query like "ADODB.Recordset"

Do you mean you want to connect using ODBC driver natively and not through ADO? You can do it, though it is a thing of the past. FWH provides todbc.prg and todbcrdd.prg and more You can also test TOdbcDirect class in tdbodbcd.prg To be honest, ...
by nageswaragunupudi
Fri Jun 30, 2023 12:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: use Result of SQL Query like "ADODB.Recordset"
Replies: 4
Views: 389

use Result of SQL Query like "ADODB.Recordset"

... and "ADODB.Recordset" it is easy to "navigate" as "ADODB.Recordset" have Method for it Question : what to use with ODBC or "native" :?: "normal" i would say : fill Array with "Result" ... is there a "other" Way :idea:
by Jimmy
Fri Jun 30, 2023 6:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: use Result of SQL Query like "ADODB.Recordset"
Replies: 4
Views: 389
PreviousNext

Return to advanced search