CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Browse Botton in Form

Print topic Send  topic

Author Message
=?iso-8859-1?Q?Ra=FAl_E._Rivero?=
Posted: 07/31/2001, 12:45 PM

This is a multi-part message in MIME format.

------=_NextPart_000_0063_01C119E0.35E12200
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi to all.
I want to put a button to browse files to assign to one field in =
forms.(ASP) I know that exist Whatfile() function in JScript, but i =
don't know where include the code.=20

Thanks in advanced.


-------------------------------------------------------------------------=
-------

Ra=FAl E. Rivero
Montevideo - URUGUAY


------=_NextPart_000_0063_01C119E0.35E12200
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>Hi to all.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>I want to put a button to browse =
files to assign=20
to one field in forms.(ASP) I know that exist Whatfile() function in =
JScript,=20
but i don't know where include the code. </FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Thanks in advanced.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV><FONT =
face=3DVerdana=20
size=3D2></FONT>
<HR>

<DIV><FONT color=3Dblue size=3D+1><B>Ra=FAl E. =
Rivero</B></FONT><BR><FONT=20
color=3Dblue>Montevideo - URUGUAY</FONT><BR></DIV></BODY></HTML>

------=_NextPart_000_0063_01C119E0.35E12200--
Alexey Alexapolsky
Posted: 08/01/2001, 5:26 AM

This is a multi-part message in MIME format.

------=_NextPart_000_0050_01C11A9E.37E39060
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

If you mean File Upload then you have to add the whole upload form to
Form's Header&Footer section smth like

<FORM ENCTYPE=3D"multipart/form-data" ACTION=3D"UploadResult.php" =
METHOD=3DPOST>
<INPUT TYPE=3D"hidden" name=3D"MAX_FILE_SIZE" value=3D"100000">
Or attach file: <INPUT NAME=3D"myfile" TYPE=3D"file">
<INPUT TYPE=3D"submit" VALUE=3D"Attach File">
</FORM>

--=20
Alex
Ceritfied CodeCharge Developer
Develop database-connected web sites
without coding: http://www.codecharge.com
ASP, ASP.NET, PHP, JSP, Perl, ColdFusion

Ra=FAl E. Rivero <rerivero@adinet.com.uy> wrote in message =
news:9k71si$mfn$1@news.codecharge.com...
Hi to all.
I want to put a button to browse files to assign to one field in =
forms.(ASP) I know that exist Whatfile() function in JScript, but i =
don't know where include the code.=20
=20
Thanks in advanced.
=20

-------------------------------------------------------------------------=
-----

Ra=FAl E. Rivero
Montevideo - URUGUAY


------=_NextPart_000_0050_01C11A9E.37E39060
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>If you mean File Upload then you have to add the =
whole upload=20
form to</FONT></DIV>
<DIV><FONT size=3D2>Form's Header&Footer section smth =
like</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2><FORM ENCTYPE=3D"multipart/form-data"=20
ACTION=3D"UploadResult.php" METHOD=3DPOST><BR><INPUT =
TYPE=3D"hidden"=20
name=3D"MAX_FILE_SIZE" value=3D"100000"><BR>Or attach file: <INPUT =

NAME=3D"myfile" TYPE=3D"file"><BR><INPUT TYPE=3D"submit" =
VALUE=3D"Attach=20
File"><BR></FORM></FONT></DIV>
<DIV><BR>-- <BR>Alex<BR>Ceritfied CodeCharge Developer<BR>Develop=20
database-connected web sites<BR>without coding: <A=20
href=3D"http://www.codecharge.com">http://www.codecharge.com</A><BR>ASP, =
ASP.NET,=20
PHP, JSP, Perl, ColdFusion<BR></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV>Ra=FAl E. Rivero <<A=20
href=3D"mailto:rerivero@adinet.com.uy">rerivero@adinet.com.uy</A>> =
wrote in=20
message <A=20
=
href=3D"news:9k71si$mfn$1@news.codecharge.com">news:9k71si$mfn$1@news.cod=
echarge.com</A>...</DIV>
<DIV><FONT face=3DVerdana size=3D2>Hi to all.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>I want to put a button to browse =
files to=20
assign to one field in forms.(ASP) I know that exist Whatfile() =
function in=20
JScript, but i don't know where include the code. </FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Thanks in advanced.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV><FONT =
face=3DVerdana=20
size=3D2></FONT>
<HR>

<DIV><FONT color=3Dblue size=3D+1><B>Ra=FAl E. =
Rivero</B></FONT><BR><FONT=20
color=3Dblue>Montevideo - =
URUGUAY</FONT><BR></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0050_01C11A9E.37E39060--
=?iso-8859-1?Q?Ra=FAl_E._Rivero?=
Posted: 08/01/2001, 6:01 AM

This is a multi-part message in MIME format.

------=_NextPart_000_00F8_01C11A70.F9C9DD20
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

No, i need to complete a field in forms, that is a name of a file with =
you path. And need to include to this form a button that display the =
directory to select a file and when accept, complete that field that =
need a file name. I know that existe a function in Javascript, but i =
don't know how to use, and insert in project of CodeCharge
(ASP+template)

Thanks
"Alexey Alexapolsky" <alexa@codecharge.com> escribi=F3 en el mensaje =
news:9k8sho$c7t$1@news.codecharge.com...
If you mean File Upload then you have to add the whole upload form to
Form's Header&Footer section smth like

<FORM ENCTYPE=3D"multipart/form-data" ACTION=3D"UploadResult.php" =
METHOD=3DPOST>
<INPUT TYPE=3D"hidden" name=3D"MAX_FILE_SIZE" value=3D"100000">
Or attach file: <INPUT NAME=3D"myfile" TYPE=3D"file">
<INPUT TYPE=3D"submit" VALUE=3D"Attach File">
</FORM>

--=20
Alex
Ceritfied CodeCharge Developer
Develop database-connected web sites
without coding: http://www.codecharge.com
ASP, ASP.NET, PHP, JSP, Perl, ColdFusion

Ra=FAl E. Rivero <rerivero@adinet.com.uy> wrote in message =
news:9k71si$mfn$1@news.codecharge.com...
Hi to all.
I want to put a button to browse files to assign to one field in =
forms.(ASP) I know that exist Whatfile() function in JScript, but i =
don't know where include the code.=20

Thanks in advanced.


-------------------------------------------------------------------------=
---

Ra=FAl E. Rivero
Montevideo - URUGUAY


------=_NextPart_000_00F8_01C11A70.F9C9DD20
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>
<DIV><FONT face=3DVerdana size=3D2>No, i need to complete a field in =
forms, that is=20
a name of a file with you path. And need to include to this form a =
button that=20
display the directory to select a file and when accept, complete that =
field that=20
need a file name. I know that existe a function in Javascript, =
but i=20
don't know how to use, and insert in project of =
CodeCharge</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2> (ASP+template)</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Thanks</FONT></DIV></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Alexey Alexapolsky" <<A=20
href=3D"mailto:alexa@codecharge.com">alexa@codecharge.com</A>> =
escribi=F3 en el=20
mensaje <A=20
=
href=3D"news:9k8sho$c7t$1@news.codecharge.com">news:9k8sho$c7t$1@news.cod=
echarge.com</A>...</DIV>
<DIV><FONT size=3D2>If you mean File Upload then you have to add the =
whole=20
upload form to</FONT></DIV>
<DIV><FONT size=3D2>Form's Header&Footer section smth =
like</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2><FORM ENCTYPE=3D"multipart/form-data"=20
ACTION=3D"UploadResult.php" METHOD=3DPOST><BR><INPUT =
TYPE=3D"hidden"=20
name=3D"MAX_FILE_SIZE" value=3D"100000"><BR>Or attach file: =
<INPUT=20
NAME=3D"myfile" TYPE=3D"file"><BR><INPUT TYPE=3D"submit" =
VALUE=3D"Attach=20
File"><BR></FORM></FONT></DIV>
<DIV><BR>-- <BR>Alex<BR>Ceritfied CodeCharge Developer<BR>Develop=20
database-connected web sites<BR>without coding: <A=20
=
href=3D"http://www.codecharge.com">http://www.codecharge.com</A><BR>ASP, =

ASP.NET, PHP, JSP, Perl, ColdFusion<BR></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>Ra=FAl E. Rivero <<A=20
=
href=3D"mailto:rerivero@adinet.com.uy">rerivero@adinet.com.uy</A>> =
wrote in=20
message <A=20
=
href=3D"news:9k71si$mfn$1@news.codecharge.com">news:9k71si$mfn$1@news.cod=
echarge.com</A>...</DIV>
<DIV><FONT face=3DVerdana size=3D2>Hi to all.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>I want to put a button to browse =
files to=20
assign to one field in forms.(ASP) I know that exist Whatfile() =
function in=20
JScript, but i don't know where include the code. </FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Thanks in advanced.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV><FONT =
face=3DVerdana=20
size=3D2></FONT>
<HR>

<DIV><FONT color=3Dblue size=3D+1><B>Ra=FAl E. =
Rivero</B></FONT><BR><FONT=20
color=3Dblue>Montevideo -=20
URUGUAY</FONT><BR></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_00F8_01C11A70.F9C9DD20--
Jim Ryan
Posted: 08/01/2001, 4:17 PM

Maybe this will help. Make sure under page properties the Regenerate HTML
Template is checked. You'll have to edit the html page that CodeCharge
creates. Click on the Edit Files button on the top bar. Open the html file
in a the text editor. Change
<INPUT type="text" name="Field1">
to
<INPUT type="File" name="Field1">
it will create a button automatically for you to browse.

Hope this helps.

Jim

"Raúl E. Rivero" <rerivero@adinet.com.uy> wrote in message
news:9k71si$mfn$1@news.codecharge.com...
Hi to all.
I want to put a button to browse files to assign to one field in forms.(ASP)
I know that exist Whatfile() function in JScript, but i don't know where
include the code.

Thanks in advanced.




Raúl E. Rivero
Montevideo - URUGUAY

Raúl E. Rivero
Posted: 08/01/2001, 6:43 PM

Thanks Jim, you are right.
But, why not CC do this?

Thanks again


"Jim Ryan" <jryan@stratos.net> escribió en el mensaje
news:9ka2mv$sd6$1@news.codecharge.com...
> Maybe this will help. Make sure under page properties the Regenerate HTML
> Template is checked. You'll have to edit the html page that CodeCharge
> creates. Click on the Edit Files button on the top bar. Open the html file
> in a the text editor. Change
> <INPUT type="text" name="Field1">
> to
> <INPUT type="File" name="Field1">
> it will create a button automatically for you to browse.
>
> Hope this helps.
>
> Jim
>
> "Raúl E. Rivero" <rerivero@adinet.com.uy> wrote in message
>news:9k71si$mfn$1@news.codecharge.com...
> Hi to all.
> I want to put a button to browse files to assign to one field in
forms.(ASP)
> I know that exist Whatfile() function in JScript, but i don't know where
> include the code.
>
> Thanks in advanced.
>
>
>
>
> Raúl E. Rivero
> Montevideo - URUGUAY
>
>

Raúl E. Rivero
Posted: 08/01/2001, 7:13 PM

But have a problem!!!!!
When i have to retrive the field, in Update, this comes blank.
How can i solve this situation, if you know???

Thanks Jim

Jim Ryan
Posted: 08/02/2001, 4:22 AM

Unlike the other controls, the value is read-only which means you'll have to
browse each time you want to use it.

Jim


"Raúl E. Rivero" <rerivero@adinet.com.uy> wrote in message
news:9kacvd$g2q$1@news.codecharge.com...
> But have a problem!!!!!
> When i have to retrive the field, in Update, this comes blank.
> How can i solve this situation, if you know???
>
> Thanks Jim
>
>

Raúl E. Rivero
Posted: 08/02/2001, 5:48 AM

Thanks again Jim, but i will test with Jscript.

Bye


"Jim Ryan" <jryan@stratos.net> escribió en el mensaje
news:9kbd5k$f2g$1@news.codecharge.com...
> Unlike the other controls, the value is read-only which means you'll have
to
> browse each time you want to use it.
>
> Jim
>
>
> "Raúl E. Rivero" <rerivero@adinet.com.uy> wrote in message
>news:9kacvd$g2q$1@news.codecharge.com...
> > But have a problem!!!!!
> > When i have to retrive the field, in Update, this comes blank.
> > How can i solve this situation, if you know???
> >
> > Thanks Jim
> >
> >
>
>


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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