$Response->Redirect

2001-06-06 Thread Antonio Jose da Cunha e Vasconcelos
Title:  New Document 
Hi everybody!

I was trying to redirect a page using perlscript and i found something
strange on my script...i don't understand how it do this:
Code:

<%@ Language="PerlScript" %>






<% 
$Response->Redirect('red2.asp');
%>



In this case it just don't redirect to the "RED2.ASP" page...but if i
clean all the HTML TAGS from the script and let the script like this:

<%@ Language="PerlScript" %>


<% 
$Response->Redirect('red2.asp');
%>

It works fine...why this is happening? And if i would like to have some
HTML code in the script? What can i do?


Regards,

A. Vasconcelos


Round number

2001-05-31 Thread Antonio Jose da Cunha e Vasconcelos

Hi!
I'm getting some information from my database and after some mathematical 
operations i get a decimal number and i would like to round it...how can i 
do that?

For ex:

if i have:

3,2 i want 3
3,5 i want 4

thanx

A. Vasconcelos

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users



DBI Error? Help? Urgent!!!!

2001-05-25 Thread Antonio Jose da Cunha e Vasconcelos

I'm trying to retreive some information from my database and when i try to 
get data from a field that has too much data it gives me this error:

[Microsoft][ODBC Microsoft Access Driver]String data, right truncated on
column number 1 (objectivos) (SQL-01004)(DBD: st_fetch/SQLFetch (long
truncated) err=1)

I'm using DBI and DBD to connect to a MS Access database.
And i'm trying to print data into a textarea. If the information is to 
small i can print it..if i have a big text i can't print.

What should i do to solve this problem??

thanks

A.V.

___
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users