[FLEX]Datos tipo CLOB
Hola a todos, alguien que me pudiera ayudar, esk tengo un
gran problema,
estoy trbajando con oracle y estoy usando typos de datos CLOB
y BLOB pero no
se como mostrarlo, estoy usando Flex 2.0 para la aplicacion y
ColdFusion
para hacer las consultas, cree una tabla llamada TEMAS con un
tipo de dato
LONG llamado TEMOBjJETIVO, que el componente que utilizo en
flex mostrar la
informacion es un RichTextEditor, pero bueno a lo que voy esk
si pongo el
campo de tipos LONG, no tengo problema en verlo solo que no
me permite
guardar demasiada informacion, es decir si introdusco un
texto lo corta y
asi, es por eso que necesito el tipo de dato CLOB, pero si
solo le cambio el
tipo de dato a la tabla, para empezar ya no me aparace el
campo, en vista de
diseno, y luego me pues no lo puedo mostrar, pork la
informacion que ya
tenia en ese campo me desaparece, y pues ya no la puedo
mostrar, y marca
errores.
El query de CF es algo asi:
<cffunction name="AddTema" access="remote"
returntype="string">
<cfargument name="temObjetivo" type="string"
required="yes">
<CFQUERY NAME="AgregarTema" DATASOURCE="calmecac">
INSERT INTO HR.TEMAS(TEMOBJETIVO) VALUES
('#arguments.temObjetivo#')
</CFQUERY>
<cfset aviso="Se ha agregado el Tema Exitosamente">
<cfreturn aviso>
</cffunction>
Luego lo quiero cargar desde un grid, bueno en si la tabla
tiene mas campos
pero solo con ese es con el que tengo el problema.
<mx:DataGridColumn headerText="OBJETIVO"
dataField="TEMOBJETIVO" width="0"
resizable="false" visible="false"/>
y despues lo cargo con una funcion desde ActionScrip
public function CargarDGTema():void
{ RichTextObjetivo.htmlText =
dgTemas.selectedItem.TEMOBJETIVO; }
pero me marca error, y aparte no me muestra todo el texto que
le puse lo
corta. No se que es lo que me falte, si librerias, o no estoy
usando bien
los tipos de datos en CF estoy hecha nudos, please ayudenme.
Espero haberme explicado bien que es lo que necesito, si
alguien me pudiera
ayudar muchismimas gracias, se los agradesco.
Saludos
Hola a todos, alguien que me pudiera ayudar, esk tengo un
gran problema,
estoy trbajando con oracle y estoy usando typos de datos CLOB
y BLOB pero no
se como mostrarlo, estoy usando Flex 2.0 para la aplicacion y
ColdFusion
para hacer las consultas, cree una tabla llamada TEMAS con un
tipo de dato
LONG llamado TEMOBjJETIVO, que el componente que utilizo en
flex mostrar la
informacion es un RichTextEditor, pero bueno a lo que voy esk
si pongo el
campo de tipos LONG, no tengo problema en verlo solo que no
me permite
guardar demasiada informacion, es decir si introdusco un
texto lo corta y
asi, es por eso que necesito el tipo de dato CLOB, pero si
solo le cambio el
tipo de dato a la tabla, para empezar ya no me aparace el
campo, en vista de
diseno, y luego me pues no lo puedo mostrar, pork la
informacion que ya
tenia en ese campo me desaparece, y pues ya no la puedo
mostrar, y marca
errores.
El query de CF es algo asi:
<cffunction name="AddTema" access="remote"
returntype="string">
<cfargument name="temObjetivo" type="string"
required="yes">
<CFQUERY NAME="AgregarTema" DATASOURCE="calmecac">
INSERT INTO HR.TEMAS(TEMOBJETIVO) VALUES
('#arguments.temObjetivo#')
</CFQUERY>
<cfset aviso="Se ha agregado el Tema Exitosamente">
<cfreturn aviso>
</cffunction>
Luego lo quiero cargar desde un grid, bueno en si la tabla
tiene mas campos
pero solo con ese es con el que tengo el problema.
<mx:DataGridColumn headerText="OBJETIVO"
dataField="TEMOBJETIVO" width="0"
resizable="false" visible="false"/>
y despues lo cargo con una funcion desde ActionScrip
public function CargarDGTema():void
{ RichTextObjetivo.htmlText =
dgTemas.selectedItem.TEMOBJETIVO; }
pero me marca error, y aparte no me muestra todo el texto que
le puse lo
corta. No se que es lo que me falte, si librerias, o no estoy
usando bien
los tipos de datos en CF estoy hecha nudos, please ayudenme.
Espero haberme explicado bien que es lo que necesito, si
alguien me pudiera
ayudar muchismimas gracias, se los agradesco.
Saludos
Similar Messages
-
Remplazar '.' en un tipo quan
Hola, tendo un dato tipo quan (13,3), y quiero remplazar los '.' por ',' , pero claro, cuando realizo un replace, me dice que no es de tipo char, alguin se le ocurre alguna idea.
La cosa esque si va el dato en coma va bien, pero si va en punto, al moverlo a otra campo que es de tipo int1, me da un dump.Hola,
Cuando he visto la definición de los tipos, he pensado que el dump te da porque intentas pasar un quan de longitud mayor o igual que 4 a una variable tipo int1? Por ejemplo, lv_quan = 1000 --> Esto da dump porque no cabe en una variable de longitud 3. He intentado poner el valor de un tipo quan con coma en vez de con punto ( por debuging y sap no me deja ) me dice que no se puede interpretar como un número.
Por otro lado, el tipo int1 no tiene decimales, así que SAP va a redondear dependiendo del valor de los decimales por arriba o por abajo. Con lo que si tienes en tu variable tipo quan un valor >= 999.5 ( p.ej. 999.6 ) SAP hace la conversion hacia arriba con lo que intentaria guardar el valor 1000 en una variable de tamaño 3 ==> DUMP
Aún asi, he hecho la prueba por debuging, y no me ha dejado guardar el valor en la variable de tipo quan con coma, sólo me admite el punto. Y no me ha dado ningún problema al pasarlo a INT1 ( siempre que se respete el tema de la longitud, claro )
Si tu problema no es por la longitud, yo he usado la sentencia MOVE var1 TO var2., en vez de Var1 = var2
Espero que te sirva! -
Hola a todos,
Espero esten bien. Estoy realiando un systema copy y cuando me encuentro importando el culimina con 80 job pero quedan 6 failed y me indica varios errores en los logs. No se de que se tratan pero por lo que veo tiene que ver con la BD que es SQL Server 2005. Uno de los Logs es el DOKCLU:
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20090412033739
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jan 24 2008 01:41:39
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe -ctf I J:\esport1\ABAP\DATA\DOKCLU.STR C:\Program Files\sapinst_instdir\ERP\LM\COPY\MSS\SYSTEM\CENTRAL\AS-ABAP\DDLMSS.TPL DOKCLU.TSK MSS -l DOKCLU.log
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: job completed
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20090412033739
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20090412033739
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jan 24 2008 01:41:39
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe -i DOKCLU.cmd -dbcodepage 4103 -l DOKCLU.log -loadprocedure fast
(DB) INFO: connected to DB
(GSI) INFO: dbname = "DEPSRVCONVER "
(GSI) INFO: vname = "MSSQL "
(GSI) INFO: hostname = "SRVCONVER "
(GSI) INFO: sysname = "Windows NT"
(GSI) INFO: nodename = "SRVCONVER"
(GSI) INFO: release = "5.2"
(GSI) INFO: version = "3790 Service Pack 1"
(GSI) INFO: machine = "4x Intel 80686 (Mod 15 Step 6)"
(DB) INFO: DOKCLU created
(DB) INFO: DOKCLU~0 created
myCluster (63.21.Imp): 655: error when retrieving table description for physical table DOKCLU.
myCluster (63.21.Imp): 656: return code received from nametab is 32
myCluster (63.21.Imp): 299: error when retrieving physical nametab for table DOKCLU.
(CNV) ERROR: data conversion failed. rc = 2
(DB) INFO: disconnected from DB
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20090412033740
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20090412171948
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jan 24 2008 01:41:39
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe -i DOKCLU.cmd -dbcodepage 4103 -l DOKCLU.log -loadprocedure fast
(DB) INFO: connected to DB
(GSI) INFO: dbname = "DEPSRVCONVER "
(GSI) INFO: vname = "MSSQL "
(GSI) INFO: hostname = "SRVCONVER "
(GSI) INFO: sysname = "Windows NT"
(GSI) INFO: nodename = "SRVCONVER"
(GSI) INFO: release = "5.2"
(GSI) INFO: version = "3790 Service Pack 1"
(GSI) INFO: machine = "4x Intel 80686 (Mod 15 Step 6)"
(DB) INFO: DOKCLU deleted/truncated
myCluster (63.21.Imp): 655: error when retrieving table description for physical table DOKCLU.
myCluster (63.21.Imp): 656: return code received from nametab is 32
myCluster (63.21.Imp): 299: error when retrieving physical nametab for table DOKCLU.
(CNV) ERROR: data conversion failed. rc = 2
(DB) INFO: disconnected from DB
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20090412171948
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20090412172804
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jan 24 2008 01:41:39
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe -i DOKCLU.cmd -dbcodepage 4103 -l DOKCLU.log -loadprocedure fast
(DB) INFO: connected to DB
(GSI) INFO: dbname = "DEPSRVCONVER "
(GSI) INFO: vname = "MSSQL "
(GSI) INFO: hostname = "SRVCONVER "
(GSI) INFO: sysname = "Windows NT"
(GSI) INFO: nodename = "SRVCONVER"
(GSI) INFO: release = "5.2"
(GSI) INFO: version = "3790 Service Pack 1"
(GSI) INFO: machine = "4x Intel 80686 (Mod 15 Step 6)"
(DB) INFO: DOKCLU deleted/truncated
myCluster (63.21.Imp): 655: error when retrieving table description for physical table DOKCLU.
myCluster (63.21.Imp): 656: return code received from nametab is 32
myCluster (63.21.Imp): 299: error when retrieving physical nametab for table DOKCLU.
(CNV) ERROR: data conversion failed. rc = 2
(DB) INFO: disconnected from DB
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20090412172805
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20090412173047
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jan 24 2008 01:41:39
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe -i DOKCLU.cmd -dbcodepage 4103 -l DOKCLU.log -loadprocedure fast
(DB) INFO: connected to DB
(GSI) INFO: dbname = "DEPSRVCONVER "
(GSI) INFO: vname = "MSSQL "
(GSI) INFO: hostname = "SRVCONVER "
(GSI) INFO: sysname = "Windows NT"
(GSI) INFO: nodename = "SRVCONVER"
(GSI) INFO: release = "5.2"
(GSI) INFO: version = "3790 Service Pack 1"
(GSI) INFO: machine = "4x Intel 80686 (Mod 15 Step 6)"
(DB) INFO: DOKCLU deleted/truncated
myCluster (63.21.Imp): 655: error when retrieving table description for physical table DOKCLU.
myCluster (63.21.Imp): 656: return code received from nametab is 32
myCluster (63.21.Imp): 299: error when retrieving physical nametab for table DOKCLU.
(CNV) ERROR: data conversion failed. rc = 2
(DB) INFO: disconnected from DB
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20090412173047
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20090412174259
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jan 24 2008 01:41:39
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe -i DOKCLU.cmd -dbcodepage 4103 -l DOKCLU.log -loadprocedure fast
(DB) INFO: connected to DB
(GSI) INFO: dbname = "DEPSRVCONVER "
(GSI) INFO: vname = "MSSQL "
(GSI) INFO: hostname = "SRVCONVER "
(GSI) INFO: sysname = "Windows NT"
(GSI) INFO: nodename = "SRVCONVER"
(GSI) INFO: release = "5.2"
(GSI) INFO: version = "3790 Service Pack 1"
(GSI) INFO: machine = "4x Intel 80686 (Mod 15 Step 6)"
(DB) INFO: DOKCLU deleted/truncated
myCluster (63.21.Imp): 655: error when retrieving table description for physical table DOKCLU.
myCluster (63.21.Imp): 656: return code received from nametab is 32
myCluster (63.21.Imp): 299: error when retrieving physical nametab for table DOKCLU.
(CNV) ERROR: data conversion failed. rc = 2
(DB) INFO: disconnected from DB
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20090412174259
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20090412180056
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jan 24 2008 01:41:39
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe -i DOKCLU.cmd -dbcodepage 4103 -l DOKCLU.log -loadprocedure fast
(DB) INFO: connected to DB
(GSI) INFO: dbname = "DEPSRVCONVER "
(GSI) INFO: vname = "MSSQL "
(GSI) INFO: hostname = "SRVCONVER "
(GSI) INFO: sysname = "Windows NT"
(GSI) INFO: nodename = "SRVCONVER"
(GSI) INFO: release = "5.2"
(GSI) INFO: version = "3790 Service Pack 1"
(GSI) INFO: machine = "4x Intel 80686 (Mod 15 Step 6)"
(DB) INFO: DOKCLU deleted/truncated
myCluster (63.21.Imp): 655: error when retrieving table description for physical table DOKCLU.
myCluster (63.21.Imp): 656: return code received from nametab is 32
myCluster (63.21.Imp): 299: error when retrieving physical nametab for table DOKCLU.
(CNV) ERROR: data conversion failed. rc = 2
(DB) INFO: disconnected from DB
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20090412180056
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20090412180316
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jan 24 2008 01:41:39
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe -i DOKCLU.cmd -dbcodepage 4103 -l DOKCLU.log -loadprocedure fast
(DB) INFO: connected to DB
(GSI) INFO: dbname = "DEPSRVCONVER "
(GSI) INFO: vname = "MSSQL "
(GSI) INFO: hostname = "SRVCONVER "
(GSI) INFO: sysname = "Windows NT"
(GSI) INFO: nodename = "SRVCONVER"
(GSI) INFO: release = "5.2"
(GSI) INFO: version = "3790 Service Pack 1"
(GSI) INFO: machine = "4x Intel 80686 (Mod 15 Step 6)"
(DB) INFO: DOKCLU deleted/truncated
myCluster (63.21.Imp): 655: error when retrieving table description for physical table DOKCLU.
myCluster (63.21.Imp): 656: return code received from nametab is 32
myCluster (63.21.Imp): 299: error when retrieving physical nametab for table DOKCLU.
(CNV) ERROR: data conversion failed. rc = 2
(DB) INFO: disconnected from DB
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20090412180316
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: START OF LOG: 20090412181702
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: version R7.00/V1.4 [UNICODE]
Compiled Jan 24 2008 01:41:39
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe -i DOKCLU.cmd -dbcodepage 4103 -l DOKCLU.log -loadprocedure fast
(DB) INFO: connected to DB
(GSI) INFO: dbname = "DEPSRVCONVER "
(GSI) INFO: vname = "MSSQL "
(GSI) INFO: hostname = "SRVCONVER "
(GSI) INFO: sysname = "Windows NT"
(GSI) INFO: nodename = "SRVCONVER"
(GSI) INFO: release = "5.2"
(GSI) INFO: version = "3790 Service Pack 1"
(GSI) INFO: machine = "4x Intel 80686 (Mod 15 Step 6)"
(DB) INFO: DOKCLU deleted/truncated
myCluster (63.21.Imp): 655: error when retrieving table description for physical table DOKCLU.
myCluster (63.21.Imp): 656: return code received from nametab is 32
myCluster (63.21.Imp): 299: error when retrieving physical nametab for table DOKCLU.
(CNV) ERROR: data conversion failed. rc = 2
(DB) INFO: disconnected from DB
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: job finished with 1 error(s)
E:\usr\sap\DEP\SYS\exe\uc\NTI386\R3load.exe: END OF LOG: 20090412181703
Gracias...
Edited by: Nash22 on Apr 13, 2009 5:28 AMEso es asi siempre y cuando uses el sistema de copia dependiente del manejador de base de datos (tipo detach/attach) pero como esta usando R3load es que me surge la duda pues teoricamente estas haciendo un export/import y no deberia importar la version del manejador...
Nash: Yo estoy en CCS, me alegra saber que hay algun otro basis Venezolano en SDN que postea -
Having Problem with IFRAME (JSP) Netscape!HELP!!!
Hi ppl :)
I�m having problems working out with netscape. If i use a script with one iframe(and i must use it...) at I.Explorer it works but with netscape, no way, the "box" doesn�t appear. :( I need HELP!!
tHIS IS THE CODE :)
<html>
<head>
<!--fd002_captura_dados_POR.jsp-->
<title>BBVA - Fundos - Subscrição de Fundos</title>
<LINK rel=STYLESHEET type='text/css' href="estilos/tablas.css">
<script language="Javascript" src="js/fd001_captura_dados.js"></script>
<script language="javascript" src="js/limpar.js"></script>
<script language="javascript" src="js/tiempo.js"></script>
</HEAD>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" class="pag-contenido" onLoad="controlSesion();">
<%@ include file="includecbtf.jsp" %>
<%
out.println("<form method=\"post\" name=\"captura\" action=\"" + urls.get("action") + "\"> ");
%>
<br>
<center>
<table border="0" cellpadding="0" cellspacing="0" width="500">
<tr>
<td colspan="3" ><img src="images/linea1.gif" border="0"></td>
</tr>
<tr>
<td width="250"><img src="images/fundos.gif" border="0"></td>
<td width="82"><img src="images/titular.gif" border="0"></td>
<td width="169" class="fondotitular"><font class="texttitular"><%=datos.get("usuario")%></font></td>
</tr>
<tr>
<td colspan="3"><img src="images/linea1.gif" border="0"></td>
</tr>
</table>
<br><br>
</center>
<center>
<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Intenção de Subscrição do Fundo <%=datos.get("CodigoFundos")%></p></td>
</tr>
</td>
<table>
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Condições</p></td>
</tr>
<tr>
<td class=altas colspan="2" >
<%
java.lang.String selec1 = (java.lang.String)datos.get("CodigoFundos");
String selec= selec1;
String sel="";
if(selec.equals("ACC"))
sel= "fundo1.txt";
if(selec.equals("APL"))
sel= "fundo1.txt";
if(selec.equals("BBVD"))
sel= "fundo1.txt";
if(selec.equals("BBVO"))
sel= "fundo1.txt";
if(selec.equals("BIT"))
sel= "fundo1.txt";
if(selec.equals("BON"))
sel= "fundo1.txt";
if(selec.equals("CAS"))
sel= "fundo1.txt";
if(selec.equals("CPZ"))
sel= "fundo1.txt";
if(selec.equals("EXT"))
sel= "fundo1.txt";
if(selec.equals("FINVEST"))
sel= "fundo1.txt";
if(selec.equals("GLO"))
sel= "fundo1.txt";
if(selec.equals("MIX30"))
sel= "fundo1.txt";
if(selec.equals("MIX60"))
sel= "fundo1.txt";
if(selec.equals("MI3"))
sel= "fundo1.txt";
if(selec.equals("MI6"))
sel= "fundo1.txt";
if(selec.equals("PPA"))
sel= "fundo1.txt";
if(selec.equals("PPR"))
sel= "fundo1.txt";
if(selec.equals("TXV"))
sel= "fundo1.txt";
%>
<iframe width=500 height=300 src=js/<%=sel%>></iframe>
</tr>
<tr>
<td align="right">
<img src="images/aceito.gif" border="0" alt="Aceito">
</td>
<td>
<img src="images/naceito.gif" border="0" alt="N�o Aceito">
</td>
</tr>
</table>
<br>
</center>
<center>
<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Intenção de Subscrição de Fundos</p></td>
</tr>
<tr>
<td class="formgrisosc" width="120"><p class="dato">Seleccione Conta: </p></td>
<%
java.util.Vector v = (java.util.Vector)(datos.get("ListaCuentas"));
java.util.Hashtable elem;
java.util.Enumeration e = v.elements();
%>
<td class="formgrisosc" colspan="3">
<select name="conta" size="1" class="formgrisosc">
<%
while (e.hasMoreElements()){
elem = (com.ibm.dse.base.Hashtable)(e.nextElement());
String cuenta = ((String)elem.get("s_banco")).trim()+"-"+((String)elem.get("s_oficina")).trim()+((String)elem.get("s_dcontrol")).trim()+((String)elem.get("s_num_cuenta")).trim();
out.println("<option value=\"" + cuenta + "\">" + cuenta + "</option>");
%>
</select>
</td>
<tr>
<td class="formgriscla" width="120"><p class="dato">Tipo de Subscri��o:</p></td>
<td class="formgriscla" colspan="3">
<select name="tiposubs" size="1" class="formgriscla">
<option>Eventual</option>
</select>
</td>
</tr-->
<tr>
<td class="cabecera" colspan="4"><img src="images/1x1.gif" width=1 height=3 border="0"></td>
</tr>
</table>
<br><br>
<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Preencha um dos seguintes campos</p></td>
</tr>
<tr>
<td class="formgrisosc" width="120"><p class="dato">N�mero de Up's:</p></td>
<td class="formgrisosc" colspan="3">
<input type="text" name="numero" size="15" maxlength="15" class="formgrisosc">
</td>
</tr>
<tr>
<td class="formgriscla" width="120"><p class="dato">Montante:</p></td>
<td class="formgriscla" width="80"><input type="text" name="montante" size="15" maxlength="15" class="formgriscla"></td>
<td class="formgriscla" width="50"><p class="dato">Moeda:</p></td>
<td class="formgriscla">
<select name="moeda" size="1" class="formgriscla">
<option value="Escudos" selected>Escudos</option>
<option value="Euro" >Euros</option>
</select>
</td>
</tr>
<tr>
<td class="cabecera" colspan="4"><img src="images/1x1.gif" width=1 height=3 border="0"></td>
</tr>
</table>
</center>
<center>
<table border="0" cellpadding="0" cellspacing="2">
<tr>
<td valign="top"><img src="images/limpar.gif" border="0" alt="Apagar"></td>
<td valign="top"><img src="images/continuar.gif" border="0" alt="Continuar"></td>
</tr>
</table>
</form>
</center>
<br><br>
</body></html>
Please help me out, because the iframes are terrible!
thanks,
AlexThe <IFRAME> tag is IE specific; Netscape doesn't
recognize it.
Netscape uses the <LAYER> and <ILAYER> tags to
accomplish the same thing; if you need to have a
page-internal frame that has its own source, you'll
need to use one of these tags.
If you need to work with both browsers, you'll need to
write out your tag based on the browser being used.
Have fun!hello!
I need one way to call another page, like you see in the code, a extension.txt, how can i do that?? can you make a sugestion?
The <ilayer> doesn�t work :( -
What can i do if the iframe doesn�t support Netscape ?!
Hello!
I have a problem, now i know that the iframe doesn�t work in the Netscape. I�m developing a homebanking project, and i need a idea to work at the JSP, that i have, in Netscape. I need all of your love and care! This is difficult ! I have a list of products, and when i select one of them it will open the iframe �with the product i�ve selected.
The tag is this one :
<iframe img width=500 height=300 src="js/<%=sel%>"></iframe>
And this the all code :)
<html>
<head>
<!--fd002_captura_dados_POR.jsp-->
<title>BBVA - Fundos - Subscrição de Fundos</title>
<LINK rel=STYLESHEET type='text/css' href="estilos/tablas.css">
<script language="Javascript" src="js/fd001_captura_dados.js"></script>
<script language="javascript" src="js/limpar.js"></script>
<script language="javascript" src="js/tiempo.js"></script>
</HEAD>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0" class="pag-contenido" onLoad="controlSesion();">
<%@ include file="includecbtf.jsp" %>
<%
out.println("<form method=\"post\" name=\"captura\" action=\"" + urls.get("action") + "\"> ");
%>
<br>
<center>
<table border="0" cellpadding="0" cellspacing="0" width="500">
<tr>
<td colspan="3" ><img src="images/linea1.gif" border="0"></td>
</tr>
<tr>
<td width="250"><img src="images/fundos.gif" border="0"></td>
<td width="82"><img src="images/titular.gif" border="0"></td>
<td width="169" class="fondotitular"><font class="texttitular"><%=datos.get("usuario")%></font></td>
</tr>
<tr>
<td colspan="3"><img src="images/linea1.gif" border="0"></td>
</tr>
</table>
<br><br>
</center>
<center>
<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Intenção de Subscrição do Fundo <%=datos.get("CodigoFundos")%></p></td>
</tr>
</td>
<table>
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Condições</p></td>
</tr>
<tr>
<td class=altas colspan="2" >
<%
java.lang.String selec1 = (java.lang.String)datos.get("CodigoFundos");
String selec= selec1;
String sel="";
if(selec.equals("ACC"))
sel= "ACC.html";
if(selec.equals("APL"))
sel= "APL.html";
if(selec.equals("BBVD"))
sel= "BBVD.html";
if(selec.equals("BBVO"))
sel= "BBVO.html";
if(selec.equals("BIT"))
sel= "BIT.html";
if(selec.equals("BON"))
sel= "BON.html";
if(selec.equals("CAS"))
sel= "CAS.html";
if(selec.equals("CPZ"))
sel= "CPZ.html";
if(selec.equals("EXT"))
sel= "EXT.html";
if(selec.equals("FINVEST"))
sel= "FINVEST.html";
if(selec.equals("GLO"))
sel= "GLO.html";
if(selec.equals("MIX30"))
sel= "MIX60.html";
if(selec.equals("MIX60"))
sel= "MIX60.html";
if(selec.equals("MI3"))
sel= "MI3.html";
if(selec.equals("MI6"))
sel= "MI6.html";
if(selec.equals("PPA"))
sel= "PPA.html";
if(selec.equals("PPR"))
sel= "PPR.html";
if(selec.equals("TXV"))
sel= "TXV.html";
%>
<!--iframe width=530 height=350 src=js/<--%=sel%></iframe-->
<!--iframe width=500 height=300 src="js/<-%=sel%>"></iframe-->
<iframe img width=500 height=300 src="js/<%=sel%>"></iframe>
</tr>
<tr>
<td align="right">
<img src="images/aceito.gif" border="0" alt="Aceito">
</td>
<td>
<img src="images/naceito.gif" border="0" alt="N�o Aceito">
</td>
</tr>
</table>
<br>
</center>
<center>
<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Intenção de Subscrição de Fundos</p></td>
</tr>
<tr>
<td class="formgrisosc" width="120"><p class="dato">Seleccione Conta: </p></td>
<%
java.util.Vector v = (java.util.Vector)(datos.get("ListaCuentas"));
java.util.Hashtable elem;
java.util.Enumeration e = v.elements();
%>
<td class="formgrisosc" colspan="3">
<select name="conta" size="1" class="formgrisosc">
<%
while (e.hasMoreElements()){
elem = (com.ibm.dse.base.Hashtable)(e.nextElement());
String cuenta = ((String)elem.get("s_banco")).trim()+"-"+((String)elem.get("s_oficina")).trim()+((String)elem.get("s_dcontrol")).trim()+((String)elem.get("s_num_cuenta")).trim();
out.println("<option value=\"" + cuenta + "\">" + cuenta + "</option>");
%>
</select>
</td>
<tr>
<td class="formgriscla" width="120"><p class="dato">Tipo de Subscri��o:</p></td>
<td class="formgriscla" colspan="3">
<select name="tiposubs" size="1" class="formgriscla">
<option>Eventual</option>
</select>
</td>
</tr-->
<tr>
<td class="cabecera" colspan="4"><img src="images/1x1.gif" width=1 height=3 border="0"></td>
</tr>
</table>
<br><br>
<table cellpadding="3" cellspacing="1" border="0" width="535">
<tr>
<td class="cabeceratitulo" colspan="4"><p class="titulotabla">Preencha um dos seguintes campos</p></td>
</tr>
<tr>
<td class="formgrisosc" width="120"><p class="dato">N�mero de Up's:</p></td>
<td class="formgrisosc" colspan="3">
<input type="text" name="numero" size="15" maxlength="15" class="formgrisosc">
</td>
</tr>
<tr>
<td class="formgriscla" width="120"><p class="dato">Montante:</p></td>
<td class="formgriscla" width="80"><input type="text" name="montante" size="15" maxlength="15" class="formgriscla"></td>
<td class="formgriscla" width="50"><p class="dato">Moeda:</p></td>
<td class="formgriscla">
<select name="moeda" size="1" class="formgriscla">
<option value="Escudos" selected>Escudos</option>
<option value="Euro" >Euros</option>
</select>
</td>
</tr>
<tr>
<td class="cabecera" colspan="4"><img src="images/1x1.gif" width=1 height=3 border="0"></td>
</tr>
</table>
</center>
<center>
<table border="0" cellpadding="0" cellspacing="2">
<tr>
<td valign="top"><img src="images/limpar.gif" border="0" alt="Apagar"></td>
<td valign="top"><img src="images/continuar.gif" border="0" alt="Continuar"></td>
</tr>
</table>
</form>
</center>
<br><br>
</body>
</html>
I begg help in this case, give me solutions, please
Best Regards,
Alex V.Use something other that the IFRAME.
Some alternatives I can think of:
- use real FRAME's instead of the IFRAME - divide your page into sections with a FRAMESET with a couple of frames, one for your main content, the other for the content your are generating that you were putting into the IFRAME
- use something like the css style 'overflow:auto' on a SPAN or DIV tag - set the size/dimensions of the section to smaller than the total content and let the overflow style wrap and scroll the content for you (this will look almost identical to the IFRAME, although I don't know whether Netscape supports this either... you'll have to check)
- write the content straight into the page body?
Hope these help,
Kevin Hooke -
[FLEX] ejemplo flex + base de datos
aupi a tod@s
alguien conoce de algun ejemplo donde se comuniquen un
archivo flex y una
base de datos (access...)?? si es en local mejor
saludos y gracias de antemanoJordi:
Muy genérico y quizá no orientado a una base Access
encuentras este quick
start:
http://www.adobe.com/devnet/flex/quickstart/httpservice/
Ahora como tal el comunicar un archivo Flex y una base de
datos va a
requerir de una capa intermedia que bien podría ser ASP
o .NET, con ASP
clásico te podría ser útil el tutorial que te
acabo de recomendar, ahora
hablando de .NET es conveniente que le eches un ojo a una
tecnología llamada
WebORB ya que los Flex Data Services por sí mismos no
son nativos para .NET,
pero ahora con el framework 3.0 de .NET las cosas se pueden
poner
interesantes.
http://www.themidnightcoders.com/weborb/
Saludos, Edgar
".:: jordi ::." <[email protected]> escribió en
el mensaje
news:ek1233$s66$[email protected]..
> aupi a tod@s
>
> alguien conoce de algun ejemplo donde se comuniquen un
archivo flex y una
> base de datos (access...)?? si es en local mejor
>
> saludos y gracias de antemano
> -
Insert CLOB values problem with 9.2 drivers and not with 10
Hi
We are using Oracle 9.2.0.5. We need to insert values bigger than 4000bytes using thin connection, so we've decided to use CLOB fields. With the 9.2.0.5 driver we can't do it, obtaining the classical exception explaining the data is bigger than the supported size but with the 10g driver (and, of course, same java code) it worked. The problem is that we want to mantain the equivalence between the database and driver not using the 10g driver with the 9.2.0.5 version of the db.
Here it's the test code we've used:
Data generation:
String data = "";
Random rnd = new Random();
long cont = 10000;
while (cont > 0){
int result = rnd.nextInt(255);
data = data + result;
cont--;
Integer id = new Integer(2);
Data insertion:
String queryString="INSERT INTO TMP_BUG_ORACLE (ID, VALOR) VALUES (?,?)";
preparedStatement = connection.prepareStatement(queryString);
preparedStatement.setInt(1,1);
preparedStatement.setString(2,this.datos);
int numero = preparedStatement.executeUpdate();
System.out.println("Items inserted: " + numero);
preparedStatement.close();
connection.close();
Table structure
Name: Type:
ID NUMBER
VALOR CLOB
Response (only with 9.2.0.5 driver):
java.sql.SQLException: El tamaño de los datos es mayor que el tamaño máximo para este tipo: 25708 (Data size is bigger than the maximum for this type: 25708)
Thank you very much for allHi,
I had exactly the same problem. on Oracle 9.2 I wanted to insert a template file bigger than 4K. with the ojdbc14.jar from Oracle 9.2 it was not possible.
What I did was this:
I have used a JDBCwrapper to fix this issue. I can send it to you, if you send me your email.
When I use the ojdbc14.jar from Oracle 10, I cannot insert a bigger file.
How did you code your programm to insert big size data into a CLOB field with ojdbc14.jar driver from 10?
thank you for your response -
Is there a maximum size in either ColdFusion, Flex or AMF
I wish there was an AMF forum.
I have CF version 8,0,0,176276, Flex 3.0.214193, and Oracle 10g.
I am trying to build an application in Flex, using RemoteObject access to a ColdFusion .cfc via the AMF channel. The application has several comment fields with are allowed to be over 4000 characters in length, so in Oracle they are defined as CLOBs. It all was going pretty well until I started to test it with some very long comments. Then the updates stopped working, but there was no error. I used CFFILE to dump the passed arguments out to a file, and found that one of the CLOB fields in the where clause was truncated. But then I don't know for sure that the CFFILE wasn't the one doing the truncating. All I know for sure is the update doesn't complete. None of the logs show anything. I can't use a TRY/CATCH in the .cfc because the CFQUERY runs without an error.
Is there a size limit in Flex RemoteObject? or maybe the limit is in AMF. I have the ColdFusion limit set for 1GB pagesize, but does a .cfc count for pagesize?
I don't even know where to start on this one. Any help you can give my is appreciated.
Scottanswers (or at least discussion) continue there : http://forums.adobe.com/thread/414553?tstart=0
You should close that one :-) -
Is there a maximum size in either Flex, AMF or ColdFusion
I wish there was an AMF forum.
I have CF version 8,0,0,176276, Flex 3.0.214193, and Oracle 10g.
I am trying to build an application in Flex, using RemoteObject access to a ColdFusion .cfc via the AMF channel. The application has several comment fields with are allowed to be over 4000 characters in length, so in Oracle they are defined as CLOBs. It all was going pretty well until I started to test it with some very long comments. Then the updates stopped working, but there was no error. I used CFFILE to dump the passed arguments out to a file, and found that one of the CLOB fields in the where clause was truncated. But then I don't know for sure that the CFFILE wasn't the one doing the truncating. All I know for sure is the update doesn't complete. None of the logs show anything. I can't use a TRY/CATCH in the .cfc because the CFQUERY runs without an error.
Is there a size limit in Flex RemoteObject? or maybe the limit is in AMF.
I don't even know where to start on this one. Any help you can give my is appreciated.
ScottAbout CLOB size, it's 4Go not 4000 characters - VARCHAR2 supports up to 4000 bytes. Pay attention also to unicode encoding!
Are you using CFQUERYPARAM to insert into the CLOB fields ?
<CFQUERYPARAM CFSQLTYPE="CF_SQL_CLOB" VALUE=" ">
use the Firebug extension (https://addons.mozilla.org/en-US/firefox/addon/1843) in Firefox3 and do some network monitoring: let me know what you're seeing there.
Hope it will help... -
Calling WebServices using Flex Builder
Hello,
I want to use a WebService in the Flex Builder. I first defined the WebService:
<mx:WebService id="test" wsdl="http://ld9030.wdf.sap.corp:50050/sap/bc/srt/rfc/sap/ZTP_TEST4?wsdl" result="log(event)" showBusyCursor="true">
I have 2 importing parameters in the WebService (IText and IText2).
But in the log-method, I cannot access these parameters:
private function log(event:ResultEvent):void {
var test1 = event.result.IText;
Do you know, how I can access the import parameters?
Please find attached the wsdl definition.
Thanks,
Thomas
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" elementFormDefault="unqualified" attributeFormDefault="qualified">
- <xsd:element name="TpTest">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="IFlag" type="xsd:string" />
<xsd:element name="IFlag2" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
- <xsd:element name="TpTestResponse">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="EText" type="xsd:string" />
<xsd:element name="EText2" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="TpTest">
<wsdl:part name="parameters" element="tns:TpTest" />
</wsdl:message>
- <wsdl:message name="TpTestResponse">
<wsdl:part name="parameters" element="tns:TpTestResponse" />
</wsdl:message>
- <wsdl:portType name="ZTP_TEST4">
- <wsdl:operation name="TpTest">
<wsdl:input message="tns:TpTest" />
<wsdl:output message="tns:TpTestResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="ZTP_TEST4SoapBinding" type="tns:ZTP_TEST4">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="TpTest">
<soap:operation soapAction="" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="ZTP_TEST4Service">
- <wsdl:port name="ZTP_TEST4SoapBinding" binding="tns:ZTP_TEST4SoapBinding">
<soap:address location="http://us4419.wdf.sap.corp:50050/sap/bc/srt/rfc/sap/ZTP_TEST4?sap-client=000" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>You can try putting the URL in a var as the next example:
private var wsdl:String = "http://sapbdo5.bdo-argentina.com:8002/sap/bc/srt/rfc/sap/ZVER_TABLA?wsdl=1.1";
private var wsdl2:String = "http://sapbdo5.bdo-argentina.com:8002/sap/bc/srt/rfc/sap/ZVER_TABLA?sap-client=600&wsdl=1.1";
[Bindable] private var datos:ArrayCollection;
private function retrieve_data():void{
//ws.loadWSDL(wsdl);
ws.loadWSDL(wsdl2);
ws.ZVER_TABLA(txt.text);
private function handleError(ev:Event):void{
Alert.show("Se produjo un error");
private function handleResult(ev:ResultEvent):void{
datos = ev.result.DATA;
]]>
</mx:Script>
<mx:WebService id="ws" showBusyCursor="true" makeObjectsBindable="true">
<mx:operation name="ZVER_TABLA" fault="handleError(event)"
result="handleResult(event)"/>
</mx:WebService>
<mx:TextInput id="txt" enter="retrieve_data()" x="10" y="10"/>
<mx:Button label="Ver datos" click="retrieve_data()" x="178" y="10"/>
<mx:DataGrid id="dtGrid" horizontalScrollPolicy="auto" dataProvider=""
verticalScrollPolicy="auto" right="10" bottom="10" top="40" left="10"
visible="false"/> -
ERP 6.0 EHP4 Datos Propios
Good Afternoon.
I am implementing ESS for Chile.
Chile not have ESS delivered by SAP.
In the portal i am in the following path:
Content Administration>Portal Content>Content provided by SAP>Content for user end>Employee Self-Service->iViews>Datos Propios-->
Alemania
Argentina
Australia
Austria, etc.
There are not is a folder for Chile.
What is the best practice for can work ESS for Chile, if does not exist folder for Chile. What have that do?
Forgive my writing in English
Kind Regards,Hola Buenas tardes, como yo estoy trabajando con la version 6.0 no uso la tabla V_T588IT_SCREEN, en su lugar utlizo la tabla V_T7XSSREUSEUISN. Ya ingrese los datos para esta tabla.
Yo estoy verificando las siguientes notas:
Note 936179 - Reuse of country specific services
Note 953852 - Best Fit Selection for Reusing country specific services
Segun he leido, yo tengo que crear un copia del servicio y el recurso para venezuela y direccionarlo.
==========================================================================
Venezuela: Agrupacion de pais 17
EMPLOYEE_ADDRESS_VE_SERVICE05-->Clave del Recurso.
EMPLOYEE_PERSINFO_ADDRESS05---->Clave del servicio
Chile: Agrupacion de pais 39
ZEMPLOYEE_ADDRESS_CL_SERVICE05-->Clave del Recurso.
ZEMPLOYEE_PERSINFO_ADDRESS05---->Clave del servicio
==========================================================================
En la vista V_T7XSSPERSUBTYP
Venezuela: Agrupacion de pais 17
17 0006 1 A1
17 0006 4 A2
17 0006 5 A2
Venezuela: Agrupacion de pais 39
39 0006 1 A1
39 0006 4 A2
39 0006 5 A2
==========================================================================
V_T7XSSREUSEUISN
Infotipo 0006.
Vers. infotipo 39.
Nombre estrcutura Tipo
HCMT_BPS_PA_VE_R0006 MAIN Infotipo.
==========================================================================
Tu comentas
"Se definen los programas específicos para el nuevo pais esta parte se hace en el hompage Framework"
Cuales programas especifícos me dices, en donde encontro eso?
Y ultima pregunta para dar puntuacion es: Yo no tengo que hacer nada en la parte del Portal, ya que todo esto es hecho en la parte del backend usando la transaccion PTARQ?
Saludos -
TRANSACTION NOTIFICATION, COMO BLOQUEAR CAMPO CARDNAME EN DATOS MAESTROS-SN
COMO PUEDO PONER UN BLOQUEO EN EL TRANSACTION NOTIFICATION PARA QUE NO SE PERMITA MODIFICAR EL CAMPO DE RAZON SOCIAL (CARDNAME) NI CONDICIONES DE PAGO (GROUPNUM) DE DATOS MAESTROS DE SOCIOS DE NEGOCIOS (OCRD)??
GRACIAS DE ANTEMANO A TODOS.MUCHAS GRACIAS, ME SIRVIO TU RESPUESTA PARA VER COMO IBA A SACAR EL ULTIMO CAMBIO DE X SOCIO DE NEGOCIOS.
LO QUE PUDE CONSTRUIR FUE ESTO:
-- BLOQUEO DE RAZON SOCIAL EN DATOS MAESTROS SN
-- Aqui le decimos que actue solo cuando el tipo de objeto sea 2 (Ventana de Socios de Negocios, y cuando este en modo Crear y Actualizar)
IF @object_type = 2 and @transaction_type in ('U')
BEGIN
-- Declaramos una variable que guarde el valor de la razon social de SN
declare @newname varchar(100)
--en la sig. consulta el nombre de razon social que estamos llenando lo guardamos en @newname
Select @newname=cardname from ocrd where cardcode=@list_of_key_cols_tab_del
--En la consulta anterior no estoy seguro si este correcto utilizar @list_of_key_cols_tab_del para que se tome el valor
--del cardcode del campo que estamos llenando de razon social.
if @newname <> (select CardName from acrd where CardName=@list_of_key_cols_tab_del and LogInstanc=(select max(loginstanc)
from acrd where CardCode=@list_of_key_cols_tab_del and cardcode=@list_of_key_cols_tab_del))
--en consulta anterior se compara si el valor nuevo a guardar o actualizar es diferente al que ya existe en la tabla de historial de SN
begin
set @error = 1
set @error_message = 'Acceso denegado para cambio de Razon Social'
end
END
--END
MUCHAS GRACIAS POR SU AYUDA.. -
I have CF8 and Oracle 10g. I am trying to write a cfc for use
by a Flex3 application over the AMF channel. What should the
ReturnType be for the retieve function? If I use Query, and return
the CLOB as a QueryObject, I can easily put the CLOB into a
datagrid. But I really want to put the CLOB into a RichTextEdit
control, allow the user to edit, and call an update function to put
it back in the CLOB. I'm just testing right now. the real
application will use a cfc to pull back a lot of data to populate a
form that will have seven or eight CLOBs for different remark
areas.
I have posted this question here because there isn't a
separate forum for questions from the intersection of CF and Flex.
Possibly Acrobat forms would be a better solution than Flex
for the UI, but I have no experience using Acrobat to do the data
retrieve and update.
Thank you for any advice.
ScottWhat confused me was that CF .cfcs are the middleman here,
and just like you said you either use the CLOB or don't depending
on which way you are facing. Here are two simple examples from my
.cfc that work. A Retrieve function and an Update function. The
description is the CLOB, but the .cfc only uses the CLOB type when
it is going back into ORACLE.
<cffunction name="RetrieveDescription" access="remote"
returntype="string" >
<cfargument name="PK" required="true" type="string">
<cfquery name="RetrieveDescription"
datasource="dSource">
select DESCRIPTION
from DRDESCRIPTION
where CONTROLNUMBER=<cfqueryparam
cfsqltype="cf_sql_varchar" value="#arguments.PK#" />
</cfquery>
<cfreturn #RetrieveDescription.DESCRIPTION#/>
</cffunction>
<cffunction name="UpdateDescription" access="remote"
returntype="string" >
<cfargument name="newDescription" required="true"
type="string">
<cfargument name="descriptionUpPK" required="true"
type="string">
<cfquery name="UpdateDescription"
datasource="dSource">
update DRDESCRIPTION
set DESCRIPTION = <cfqueryparam cfsqltype="cf_sql_CLOB"
value="#arguments.newDescription#" />
where CONTROLNUMBER=<cfqueryparam
cfsqltype="cf_sql_varchar" value="#arguments.descriptionUpPK#"
/>
</cfquery>
<cfset msg = 'The DR was updated.'>
<cfreturn msg/>
</cffunction> -
Porque Flex no actualiza las imagenes del servidor!?
Tengo una base de datos donde tengo guardado el directorio donde esta ubicado una fotografia, por medio de la interfaz de usuario que hice en Flex hago la solicitud de borrar la imagen que esta ubicada en un servidor remoto. La ejecución se lleva con exito, puesto que al revisar en el servidor remoto la imagen ha sido eliminada con exito. (el Script que estoy utilizando esta en PHP y funciona perfectamente).
El problema radica que al consultar la imagen en la interfaz de usuario, esta ahi se encuentra todavia. Es como si estuviera en memoria cache... lo raro es que al cerrar la aplicación y al volverla abrir... la imagen ya no esta!!!!...
como repito.. es como si la imagen que imprimiera fuera todavia de la memoria cache porque en el servidor remoto esta imagen ya fue borrada... he utilizado una metaetiqueta Bindable y aun asi persiste el problema. he utilizado las propiedades cachePolicy en off y aun asi me persiste el problema.
en espera de sus valiosos comentarios...Babelfish translated as follows:
Why Flex does not update the images of the servant?
I have a data base where I have kept the directory where this located a
photograph, by means of the user interface that I did in Flex I make the
request erase the image that this located in a remote servant. The execution
takes successfully, since when reviewing in the remote servant the image has
been eliminated successfully. (the Script that I am using this in PHP and
works perfectly). The problem is that when consulting the image in the
user interface, this is there still. It is as if it was in memory breaksŠ
the rare thing is that when closing the application and when returning abrir
itŠ to the image this no longer! Š as I repeat. it is as if the image that
imprimiera outside still of the memory breaks because in the remote servant
this image already was erasedŠ I have used a metaetiqueta Bindable and even
so the problem persists. I have used the properties cachePolicy in off and
even so the problem persists to me. awaiting its valuable commentariesŠ
End of original message
That sounds like it could just be caching in the browser or in memory. If I
request and image, especially if I use a caching tool like SuperImage, then
I choose to delete that image, if I request that image again, I might see it
come from the cache until I close the application and the cache goes away. -
Datos plan en órdenes internas
Es posble registrar datos plan al mismo tiempo para órdenes internas y centro de costos? . Las órdenes son estadísticas, así que no importa que se generen con tipo valos "10". Así como para datos reales, que es posible capturar tanto el centro de costos como la orden interna en una póliza.
Hola y gracias por participar en el foro,
Para tu comodidad, BlackBerry tiene su propio foro comunitario en español.
Aquí tienes el enlace para el foro: http://foros.blackberry.com/t5/Foros-de-Soporte-General/ct-p/bscf_es
Muchas gracias!
Jakoby4204 New to the Community click here
Community Moderator
Maybe you are looking for
-
How to schedule the job to run evry Sunday at 12 P.M IST.
Hi Experts, I want to schedule a job which will run evry Sunday at 12 P.M IST. I have written the below script. [code]BEGIN SYS.DBMS_SCHEDULER.CREATE_JOB job_name => 'SERVICE_SAL_FS.SAL_MESSAGE_BUFFER_PURGE_JOB' ,start_date
-
AIR 3.8 modifies XML file unexpectedly
Hello all, we are developing a multi-platform offline business-to-business app in AIR. The 1.0 version is currently in the Apple AppStore: https://itunes.apple.com/nl/app/efashion/id659451223?l=en&mt=8 We are working on the 1.1 update, but when we co
-
Hi All, I use Jdevelper Studio 11.1.1.5.0, i know how to create an empty database : new application -->... But, i want to create its contain : for exemple : the database should contain emplyee (ID,Name,e-mail,...) How can i enter the detail i want in
-
My 30 day Photoshop trial finished yesterday. I purchased the $9.99 per month Photoshop package and received an email saying "Thank you for your payment etc" But when I go to open PS it still says "the trial has expired.." Is it supposed to work auto
-
Security sandbox violation: BitmapData.draw on CloudFront/S3.
I'm using Cloudfront/AS3 to stream some video in RTMP. When I try to do a Bitmap.draw, I get this error: [Fault] exception, information=SecurityError: Error #2123: Security sandbox violation: BitmapData.draw: [my_url] cannot access unknown URL. No po