Search found 24 matches: habit

Return to advanced search

Re: Cut & Paste limit

... the paste. Thank you so much for that answer. It also explains why I could not duplicate the problem here. I know to click on the left side ( by habit ) and do my paste. Tim
by TimStone
Fri Sep 08, 2023 4:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cut & Paste limit
Replies: 7
Views: 814

Re: Sql Filter between two dates - ADO

... )" than "HDATE <= (date)", because many RDBMS use datetime fields. How to easily generate these expressions? We better make it a habit to open an ADO connection using FW_OpenAdoConnection() of FWH instead of opening on our own with ADODB.Connection. If we open using FWH function ...
by nageswaragunupudi
Sun Jun 25, 2023 3:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sql Filter between two dates - ADO
Replies: 3
Views: 421

Disk activity when using a record

I wonder... (Antonio, ChatGPT is not accessible, to much hits at this time ))))) When a dbf is on a record I have the (BAD) habit of doing calculations like : nAankoop = artikel->new_bruto - (artikel->new_bruto * artikel->korting)/100 nAankoop = nAankoop - (new_bruto * artikel->korting2)/100 ...
by Marc Venken
Fri Feb 03, 2023 3:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disk activity when using a record
Replies: 1
Views: 262

Re: MSVC buildh32.bat

Enrico,

That works fine. I guess I was just working from habit with the older versions. I just tested to be sure.

Tim
by TimStone
Mon Oct 17, 2022 5:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MSVC buildh32.bat
Replies: 10
Views: 853

Re: Which C compiler and which Harbour should be used for FW?

Thanks Antonio, now works fine.

Use uppercase for preprocessed keywords only (my advise)


Interesting point for a good technical discussion. My former editor does this almost automatically, it has become a habit. But I see no problem with making a general change, if there are benefits.
Thankful,
by Eroni
Fri Sep 18, 2020 4:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Which C compiler and which Harbour should be used for FW?
Replies: 27
Views: 4458

Re: Write a Block

Code: Select all  Expand view
function bCampo2( aFields, nFor,oDbf)
return fieldWBlock( aField[nFor], oDbf:nArea )
 


I still advise you to use the sample I posted and please change your habit.
by nageswaragunupudi
Thu Jun 27, 2019 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Write a Block
Replies: 4
Views: 911

Re: Change XBROWSE Style?

Add the clause NOBORDER to XBROWSE command, whenever you create from sourcecode. Just make it a habit to use always. (Not for resources) On bottom and right, you see the border drawn by lDrawBorder when HScroll and VScroll are absent. https://imagizer.imageshack.com/v2/xq90/923/KOSRtP.png
by nageswaragunupudi
Tue Jul 10, 2018 2:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change XBROWSE Style?
Replies: 15
Views: 2829

Re: ADO RDD xHarbour

... till '2015-04-30 23:59:59.999' This is just an example to show how deceptive can be date comparisons. In addition MS Sql server has a very awkward habit of storing '2014-04-01' internally as '2014-04-01 12:00:00' in the field. So, the safer construct is SELECT * WHERE INVDT >= '2015-04-01' AND ...
by nageswaragunupudi
Wed Apr 29, 2015 7:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ADO RDD xHarbour
Replies: 1047
Views: 485341

Re: problema con ado mysql y fwh

... in maintaining the SQL Table and at the same time gives the programmer the same experience as we handle DBF tables. ( If we give up the old habit of directly using bStrdata, etc ) TDataRow: Same way like XBrowse the values are padded for editing and trimmed for storing. TRecSet (new class) ...
by nageswaragunupudi
Wed Nov 12, 2014 4:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con ado mysql y fwh (solucionado)
Replies: 12
Views: 2847

Re: Major problems with FWH 13.09 / xHb ...

... Meanwhile please let us know: a) Approx size of the DBF ( number or records ) b) Does the DBF contain many deleted records? c) Do you have the habit of creating an index tag on DELETED() and setting filter to "!DELETED()" ? Notes on point (c): If we set filter to "!DELETED()", ...
by nageswaragunupudi
Wed Nov 20, 2013 11:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Major problems with FWH 13.09 / xHb ...
Replies: 6
Views: 2758

Re: Ado - consulta en xbrowse

... to refer to oRs in program code, it is always better to use oBrw:oRs Example Instead of oRs:fields( 2 ):Value Use oBrw:oRs:Fields( 2 ):Value This habit of coding enables swithing oRs at runtime easier. 3. As far as possible, you may use built in edit features of xbrowse. I can advise better if ...
by nageswaragunupudi
Thu Aug 29, 2013 6:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ado - consulta en xbrowse
Replies: 17
Views: 3228

Re: force table alias in complex select

... all field names in the select clause. Sad no DBMS, except MSACESS provides this automatic feature. Any way, provided you do not make it a habit, you can tolerate the duplicate field names in the recordset and it does not hurt you much if you take some precautions like refer to fields by ...
by nageswaragunupudi
Sat Jul 20, 2013 7:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: force table alias in complex select
Replies: 5
Views: 1243

Re: Operaciones con fechas en ADO

... also. So, better to avoid BETWEEN for dates. Use " field >= d1 and field < ( d2 + 1 ) When we move on to RDMSs, we better make it a habit to think that the date-fields can contain time part also.
by nageswaragunupudi
Tue Mar 19, 2013 3:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Operaciones con fechas en ADO
Replies: 21
Views: 5066

Re: WinRT - learning

Thank you. I think that MS still continue with its bad habit of reinventing the wheel to include some custom extension. Something like C++ smart pointers would be enough.

EMG
by Enrico Maria Giordano
Wed Oct 10, 2012 10:24 am
 
Forum: Utilities / Utilidades
Topic: WinRT - learning
Replies: 14
Views: 6846

Re: UE Studio & xHarbour Builder

Tim,

yes, one of the most important aspect is the lack of time, that's hiding behind my first reason 'By habit'.
by frose
Wed Jul 14, 2010 2:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: UE Studio & xHarbour Builder
Replies: 22
Views: 6422
Next

Return to advanced search