Search found 665 matches: length

Return to advanced search

Re: cloud or not cloud

... pads values based on their type. * - php4dbf_addRecordToDbf: Adds records to a DBF file. * - php4dbf_calculateRecordLength: Calculates the record length based on field descriptors. * - php4dbf_updateRecord: Updates a record in a DBF file. * - php4dbf_deleteRecord: Deletes a record in a DBF file. ...
by Otto
Fri Nov 15, 2024 9:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cloud or not cloud
Replies: 34
Views: 4128

different prompt lengths

... VAR aChk[1][1];      PROMPT aRuote[1] SIZE 90, 20 PIXEL OF oDlg COLOR CLR_BLACK, CLR_WHITE How can I get the length head in the checkbox control prompts? I tried with PAD(aRuote[1],12) but the string are different I wish all as the last prompt
by Silvio.Falconi
Wed Nov 13, 2024 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: different prompt lengths
Replies: 0
Views: 282

Re: How to add 2d barcode to fastreport or fwh/harbour?

... as LONG pascal FROM "ZBarcode_Create" lib hlib dll32 function ZBarcode_Encode_and_Buffer(symbol as LONG ,; source as LPSTR,length as LONG,rotate_angle as LONG) as LONG pascal FROM "ZBarcode_Encode_and_Buffer" lib hlib // int ZBarcode_Encode_and_Buffer(struct zint_symbol ...
by ShumingWang
Tue Oct 15, 2024 1:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to add 2d barcode to fastreport or fwh/harbour?
Replies: 7
Views: 606

Re: DBF How to obtain an array containing record number

... moved by an offset, which is determined by the definition of the header and fields to set the starting point. The pointer is then shifted by the length resulting from the sum of the field definitions. The result is a string corresponding to the record line. This string is then split into individual ...
by Otto
Thu Oct 10, 2024 12:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DBF How to obtain an array containing record number
Replies: 16
Views: 1095

Re: slowness

... = []; $fieldOffset = 1; // Skipping the deleted flag byte foreach ($fields as $field) { $fieldValue = trim(substr($record, $fieldOffset, $field['length'])); $result[$field['name']] = my_utf8_encode($fieldValue); // Ensure UTF-8 encoding $fieldOffset += $field['length']; } return $result; } Best ...
by Otto
Sun Sep 15, 2024 9:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: slowness
Replies: 76
Views: 9206

Re: copy and paste doubt

i use .res and when pasting it shows fewer characters, just 74167222000 any idea res or source code, the issue is the same. This works well if the length of your variable is 20 chars or more. Please let me know the FWH version you are using. I can suggest a modification to TGet.prg to use my 2nd ...
by wartiaga
Mon Aug 12, 2024 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy and paste doubt
Replies: 8
Views: 2505

Re: copy and paste doubt

i use .res and when pasting it shows fewer characters, just 74167222000 any idea res or source code, the issue is the same. This works well if the length of your variable is 20 chars or more. Please let me know the FWH version you are using. I can suggest a modification to TGet.prg to use my 2nd ...
by nageswaragunupudi
Sun Aug 11, 2024 5:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy and paste doubt
Replies: 8
Views: 2505

Re: IP, Mac Address, Name desde mi modem

... [ 1] = A {"","Configura‡Æo de IP do Windows",""," Nome do host. . . . . . . . . . . . . . . . : pc-PC ... } length: 114 [ 2] = N 0 Stack Calls =========== Called from: IPMAC3.prg => EQUIPOHOST( 28 ) Called from: IPMAC3.prg => MAIN( 5 ) */ Regards, saludos.
by karinha
Wed Jul 17, 2024 3:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: IP, Mac Address, Name desde mi modem
Replies: 49
Views: 5927

Re: Separar nombre y apellidos en una consulta mysql

prueba asi SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(nombres, ' ', 1), ' ', -1) AS PrimerNombre, IF( LENGTH(nombres) - LENGTH(REPLACE(nombres, ' ', ''))>1, SUBSTRING_INDEX(SUBSTRING_INDEX(nombres, ' ', 2), ' ', -1) ,NULL) AS SegundoNombre, SUBSTRING_INDEX(SUBSTRING_INDEX(nombres, ...
by jbrita
Thu Jul 04, 2024 1:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Separar nombre y apellidos en una consulta mysql
Replies: 15
Views: 2584

Re: CODIGO DE BARRAS. ERROR CON FILLRECT()

Barcode requires a minimum width in pixels depending on the length of the text. Harupdf uses 72 pixels per inch and so the barcode can not fit the size you require. So let us not use Harupdf. FWH can still produce PDF files without using Harupdf Please ...
by nageswaragunupudi
Wed May 15, 2024 12:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CODIGO DE BARRAS. ERROR CON FILLRECT()
Replies: 31
Views: 3866

Re: CODIGO DE BARRAS. ERROR CON FILLRECT()

...  nWidth, nHeight UNITS INCHES/CM/MM Please give me a sample text and the maximum width and height ( in CM ) you want. In any case, text of a given length requires a minimum width because each character requires some minimum number of pixels.
by nageswaragunupudi
Tue May 14, 2024 5:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CODIGO DE BARRAS. ERROR CON FILLRECT()
Replies: 31
Views: 3866

Re: ayuda con uso de hb_xfree

... el objeto. Se establece el tipo de objeto pItem como una cadena (HB_IT_STRING). Se establece la longitud de la cadena en pItem->item.asString.length con el valor de nLen. Ahora, se verifica si la longitud de la cadena es menor o igual a 1 (nLen <= 1). Si es así: Se establece pItem->item.asString.allocated ...
by Antonio Linares
Mon Apr 29, 2024 6:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con uso de hb_xfree
Replies: 6
Views: 998

ayuda con uso de hb_xfree

... PHB_ITEM pItem, char * szText, HB_SIZE nLen ); ! hb_itemPutCPtr(), hb_itemPutCLPtr() fixed to put empty string to item if szText is NULL and length is non-zero, instead of trying to free NULL pointer causing internal error. * contrib/examples/rdddbt/dbfdbt1.c * I did a mistake in 1999 by ...
by carlos vargas
Sun Apr 28, 2024 2:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con uso de hb_xfree
Replies: 6
Views: 998

AYUDA Validacion LRC para datafono

... s As String) As String Dim result As String = Nothing Dim s2 As String = s.Replace(" ", Nothing) For i As Integer = 0 To s2.Length - 1 Step 2 result += Convert.ToChar(Integer.Parse(s2.Substring(i, 2), System.Globalization.NumberStyles.HexNumber)) Next Return result End Function ...
by russimicro
Sat Mar 30, 2024 6:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA Validacion LRC para datafono
Replies: 2
Views: 704

Re: Problemas con ordenamiento de datos.

hi,

Code: Select all  Expand view  RUN
(domicilio  )+Alltrim  (piso  )+Alltrim  (depto  )

a Index Expression must be "same Length" so ALLTRIM() are NOT working "in" a Index :!:

---

it seem me that your YEAR use only 2 Digit ?
than try
Code: Select all  Expand view  RUN
SET EPOCHE TO YEAR(DATE()) -50
by Jimmy
Fri Feb 23, 2024 3:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con ordenamiento de datos.
Replies: 4
Views: 472
Next

Return to advanced search

cron