CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Español

 recuperar valor del listbox en BeforeBuildUpdate

Print topic Send  topic

Author Message
alexcos

Posts: 8
Posted: 11/29/2007, 12:43 AM

Hola me he quedado estancado en una simple situación:

Tengo un editablegrid su form se llama comunicaciones

Fuera de BeginRow he añadido un listbox donde selecciono un valor de otra tabla de la base de datos se llama comunicaciones.elegido.value

He añadido en BeforeBuildUpdate el siguiente custom code


if comunicaciones.DataSource.r1box.value = True then
comunicaciones.DataSource.r1.Value = comunicaciones.elegido.value
end if

Mi problema es que comunicaciones.elegido.value no me devuelve el valor seleccionado.
En cambio si modifico comunicaciones.elegido.value por “test” si me modifica comunicaciones.datasource.r1 a “test”

si alguien sabe que es lo que estoy haciendo mal
Gracias
View profile  Send private message
lvalverdeb

Posts: 299
Posted: 12/17/2007, 5:55 AM

Prueba con:

if comunicaciones.DataSource.r1box.value = True then
comunicaciones.DataSource.r1.Value = comunicaciones.DataSource.elegido.value
end if

_________________
lvalverdeb
CR, GMT-6
XAMPP/Ubuntu/CCS3.2/4
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.