Re: Last VDC Version
Luis Carlos Díaz Otero <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <[email protected]> |
Now runs O.K. Thanks a lot.
But there is a problem with the PROGRESSBAR attribute.
Randomly appears an error of PROTOCOL ERROR TAG MISMATCH i don't know from where.
This is the form:
database formonly
LAYOUT
VBOX
GRID
{
[nn ]
-----------------------------------------------------------------
Archivo [nombre ]
-----------------------------------------------------------------
Dato procesándose [dato ]
-----------------------------------------------------------------
Tamaño del listado: ancho [c ] X [pag ] páginas de largo
-----------------------------------------------------------------
Progreso [pro ]
}
END
END
END
ATTRIBUTES
LABEL nn = FORMONLY.comentario1;
nombre = FORMONLY.nombre;
dato = FORMONLY.dato;
pag = FORMONLY.paginas;
c = FORMONLY.columnas;
PROGRESSBAR pro = FORMONLY.progreso,valuemin=0,valuemax=100;
end
The datum being sent to be displayed in the PROGRESSBAR field is always between 0 and 100 as it is calculated in this way:
datum_to_send=counter*100/total_of_records_to_send
Where counter goes from 0 (zero) to total_of_records_to_send, and of course the minimal value for datum_to_send is 0 (zero, when counter=0), and the maximal value is 100 (when counter be equal to total_of_records_to_send)
I defined all of the three variables as INTEGER, although i tested with datum_to_send as SMALLINT because its maximal values is 100, but with INTEGER or SMALLINT, the result is the same:
So, in the program i do:
DISPLAY datum_to_send TO progreso
I have tested with tables having between 1 AND 8000 records and with them, there is no problem, but one of my tables has 9000 records and with it, the problem begins (there are tables with up to 700000 records)
Cordial saludo:
Luis Carlos Díaz Otero
________________________________
Hay 10 clases de personas en el mundo: las que saben de números binarios y las que no
________________________________
Asesoramos y acompañamos su presentación de tareas y trabajos de matemáticas:
http://www.facebook.com/pages/Asesorias-Matematicas/142808622433724?created
>________________________________
> De: Daniel Kroker <[email protected]>
>Para: ""Luis Carlos Díaz Otero"" <[email protected]>; AUBIT4GL <[email protected]>
>Enviado: Viernes, 22 de junio, 2012 2:31 A.M.
>Asunto: Re: [Aubit4gl-discuss] Last VDC Version
>
>
>Hi,
>
>can you download again and test?
>
>"Luis Carlos Díaz Otero" <[email protected]> hat am 21. Juni 2012 um 21:06 geschrieben:
>
>
>Hi everyone.
>>
>>I just downloaded and installed the last version of VDC (http://www.ventas.de/download/VDCsetup.exe), but after rebooting my pc (Windows 7) it refuses to run: nothing happens.
>>Only the previous (zipped) versions run as expected.
>>It was installed at c:\program files\VENTAS.software
>>
>>
>>Cordial saludo:
>>
>>Luis Carlos Díaz Otero
>>
>>
>>________________________________
>>
>>Hay 10 clases de personas en el mundo: las que saben de números binarios y las que no
>>________________________________
>>
>>Asesoramos y acompañamos su presentación de tareas y trabajos de matemáticas:
>> http://www.facebook.com/pages/Asesorias-Matematicas/142808622433724?created
>>
>>
>
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss