Search found 7049 matches: array

Return to advanced search

Re: Browse of my ADO Class

... Windows: Windows 10 10.0.19045 Harbour: Harbour 3.2.0dev (r2412130806) Compiler: MinGW GNU C 14.2 (32-bit) GT: WVG Error BASE/1068 Argument error: array access Called from (b)FWDELRESOURCE(0) Called from ASCAN(0) Called from FWDELRESOURCE(0) Called from DELETEOBJECT(0) Called from FILLRECTEX(0) ...
by JoséQuintas
Wed Dec 18, 2024 4:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Browse of my ADO Class
Replies: 55
Views: 5196

Re: Stuck - Database update via .csv file

Dear Jeff, From chatgpt: 1. Load the CSV into a Memory Array Read the .csv file into a memory array or hash table. This allows quick lookups by cOld and cName. 2. Iterate Over the Database Efficiently Use a single loop through your database and check ...
by Antonio Linares
Tue Dec 17, 2024 7:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Stuck - Database update via .csv file
Replies: 8
Views: 198

Re: Veri*Factu

... entenderla, pensé que para leerlo me costaría también, por lo que opté por lo que me es fácil, y cuando quiero leer un XML paso su contenido a una array. Me creé una función LoadXML() que devuelve una Array de arrays tridimensionales, cada array de esta array tiene: -una cadena del path del tag ...
by paquitohm
Mon Dec 16, 2024 8:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Veri*Factu
Replies: 20
Views: 514

Re: Veri*Factu

... entenderla, pensé que para leerlo me costaría también, por lo que opté por lo que me es fácil, y cuando quiero leer un XML paso su contenido a una array. Me creé una función LoadXML() que devuelve una Array de arrays tridimensionales, cada array de esta array tiene: -una cadena del path del tag ...
by FiveWiDi
Mon Dec 16, 2024 7:58 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Veri*Factu
Replies: 20
Views: 514

Re: change special chars in memo for use with Json

... thank you very much. This is exactly what I was looking for. From what I understand so far I now can break the string apart into tokens within an array and handle them according to my needs. For me this is very useful - since the csv is build from different sources like inis, dbfs etc all encoded ...
by Ruth
Mon Dec 02, 2024 4:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: change special chars in memo for use with Json
Replies: 9
Views: 884

Re: change special chars in memo for use with Json

Ruth, I build my Json the old way... There will be functions I suppose but this works for me. aVelden = array with selected fields to update the online shop.    cBuffer := '{'   cBuffer = cBuffer + '"model":"'+cCode+'",'  //  Geen ""   IF AScan( ...
by Marc Venken
Fri Nov 29, 2024 8:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: change special chars in memo for use with Json
Replies: 9
Views: 884

Re: Sorting strings in a NON logical way

... way... My dbf field will hold data like this (sizes) cData = "XL,S,M,2X,3X" // or any combination like ( "S,L,M") Make a array from cData (I can) aArray1 := { "XL", "S", "M", "2X", "3X" } aOrder := { "XS" ,"S", ...
by Marc Venken
Tue Nov 26, 2024 11:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sorting strings in a NON logical way
Replies: 5
Views: 623

Re: Array aControls en un Dialogo

... posición de la columna del objeto/control anterior? Buscas el control que desees en oDlg:aControls y simplemente coges el control anterior en ese array y oControl:nLeft
by Antonio Linares
Tue Nov 26, 2024 7:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Array aControls en un Dialogo
Replies: 3
Views: 688

Re: Sorting strings in a NON logical way

Dear Marc,

If we can take all the fields values to an array then we can use ASort() with a codeblock
by Antonio Linares
Mon Nov 25, 2024 4:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Sorting strings in a NON logical way
Replies: 5
Views: 623

Re: Array aControls en un Dialogo

Hola.
Como hago para saber el nombre de cada control?
Como Se puede obtener (de manera directa, si se puede ) la posición de la columna del objeto/control anterior?
Me pueden indicar donde puedo conseguir ejemplos al respecto?
Gracias.
by asesormix
Mon Nov 25, 2024 3:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Array aControls en un Dialogo
Replies: 3
Views: 688

Re: Soporte a mariaConnect ?

Jhonsson: Podría servirte crear una TABLA temporal?, es prácticamente lo mismo que un array. Saludos If I remember right, you are working with MSSQL and ADO. Am I right? May I know why are you interested in temporary tables of MySQL? FWmaria lib provides functions ...
by nageswaragunupudi
Fri Nov 22, 2024 3:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Soporte a mariaConnect ?
Replies: 11
Views: 1212

xbrowse excessive lines

... ntipo =2 https://i.postimg.cc/TPfd9Yyw/secondo.png when I set ntipo1 I declare local aTabella := array(101, 11) when I set ntipo2 I declare local aTabella := array(10, 11) I tried to set local aTabella :={} for all types https://i.postimg.cc/SRr3mkSZ/v.gif ...
by Silvio.Falconi
Fri Nov 22, 2024 8:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xbrowse excessive lines
Replies: 2
Views: 353

Re: Soporte a mariaConnect ?

... está orientado a las operaciones CRUD directamente a la base datos... es ahí donde difiere de la lógica que usamos con objetos en memoria tipo, array, json , hash, etc, para manejar datos recuperados en sistemas sql : requestApi,,, donde estos objetos en memoria los manipulamos, y ya en otra ...
by russimicro
Tue Nov 19, 2024 8:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Soporte a mariaConnect ?
Replies: 11
Views: 1212

Re: Soporte a mariaConnect ?

Jhonsson:

Podría servirte crear una TABLA temporal?, es prácticamente lo mismo que un array.

Saludos
by Armando
Tue Nov 19, 2024 6:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Soporte a mariaConnect ?
Replies: 11
Views: 1212

Mysql recover values usaing field names

How can I recover values from a SELECT using the field name and not its position in th array? oCn :=maria_Connect( cHost,cUser,cDb,cPwd ) IF oCn=NIL msgwait("Error conectando con eventos en la nube","") return nil ENDIF cQwery:="SELECT * FROM ...
by PAUL SIMM
Mon Nov 18, 2024 6:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Mysql recover values usaing field names
Replies: 3
Views: 595
Next

Return to advanced search