PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Creacion de control table
Creacion de control table
Started by Victor Maturana, Nov., 29 2017 3:41 PM - 1 reply
Connect yourself…
Victor Maturana
#1
Posted on November, 29 2017 - 3:41 PM
se puede crear una control table via programacion ?? péro como lo hago
Report
0
0
Victor Hugo Pereyra
#2
Posted on November, 30 2017 - 1:33 AM
Hola Victor
Te paso un ejemplo, aqui tienes un carga por programacion de un objeto
table:
Llama un query y luego recorro los resultados y voy cargando el table.
TableDeleteAll(TABLE_inventario)
QRY_ItemsporLote.pCodigo=Null
QRY_ItemsporLote.pComienzaConDescripcion=Null
HExecuteQuery(QRY_ItemsporLote)
IF HReadFirst(QRY_ItemsporLote) = True THEN
WHILE NOT HOut
TableAddLine(TABLE_inventario, + ...
QRY_ItemsporLote.TCODIGO, QRY_ItemsporLote.TDESCRI,
QRY_ItemsporLote.TLOTE, QRY_ItemsporLote.TSTOCK, + ...
QRY_ItemsporLote.COSUNIT_S,QRY_ItemsporLote.COSUNIT_D,QRY_ItemsporLote.VSTOCK_S,QRY_ItemsporLote.VSTOCK_D,
QRY_ItemsporLote.PREC_VS, QRY_ItemsporLote.PREC_VD, + ...
QRY_ItemsporLote.CONTABLE, QRY_ItemsporLote.INICIAL,
QRY_ItemsporLote.TMARCA, QRY_ItemsporLote.TMODEL, + ...
QRY_ItemsporLote.TSERIES, QRY_ItemsporLote.PREC_CS,
QRY_ItemsporLote.PREC_CD)
HReadNext(QRY_ItemsporLote)
END
END
Espero que te sirva.
Saludos
Victor.
---
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text