Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 11:39 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Variables loose spaces
PostPosted: July 21st, 2006, 12:13 am 
Offline

Joined: November 12th, 2004, 3:28 pm
Posts: 34
Location: Akureyri Iceland
Hello

I am using a login page for my publications. Text input boxes, ASP and Access Database. It sometimes happens that word spaces do not appear in the Database, for instance "Jonas Helgason" turns out as "JonasHelgason". The strange thing is that the same box, same variable only sometimes turn out this error. Special caracters and symbols are allowed in the box.

Any idea?

Jonas

_________________
Jonas Helgason
Menntaskolinn á Akureyri
Iceland


Top
 Profile  
 
 Post subject:
PostPosted: July 25th, 2006, 12:19 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
Maybe you need to escape the variable you are sending to ASP and database?

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


Top
 Profile Visit website  
 
 Post subject:
PostPosted: July 25th, 2006, 12:46 pm 
Offline

Joined: November 12th, 2004, 3:28 pm
Posts: 34
Location: Akureyri Iceland
Hello again

Sorry about my English, what do you mean by "escape the variable"?

The problem seems to be in the "Post Web Data" or ASP. If I make a text box in my opus publication to show the variables everything is OK. Then using "post web data" and .ASP to send them to MSAccess the error turns up. Unfortunately I am not good at .ASP, had my friend write that part for me :(

Jonas

_________________
Jonas Helgason
Menntaskolinn á Akureyri
Iceland


Top
 Profile  
 
 Post subject:
PostPosted: July 25th, 2006, 1:42 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
Not sure about ASP but in JavaScript sometimes you have to escape spaces in order to make things work properly. There the escape character for a space is %20. Maybe this is your issue. Perhaps you can go back to your ASP guy and ask what he/she would suggest.

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 54 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group