473,395 Members | 1,383 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

space in variables

hey gang. this is probably a simple thing i am over looking, but.....

i need to combine 2 vriables that are retrieved from a form. idate and
itime

i want to put these into the t_date field in my sql db. but for it to work
properly, there needs to be a space between the idate and itime.
how do i do this?
i know i should know this, and i have used it before. but it has been so
long, that i can't remember for the life of me.
any help would be appreciated.

Bam
Mar 15 '07 #1
3 2221


mynewstring = request.form("idate") & " " & request.form("itime")

"Jeff" <ba*@gig-gamers.comwrote in message news:45***********************@roadrunner.com...
hey gang. this is probably a simple thing i am over looking, but.....

i need to combine 2 vriables that are retrieved from a form. idate and itime

i want to put these into the t_date field in my sql db. but for it to work properly, there needs to be a space between the idate
and itime.
how do i do this?
i know i should know this, and i have used it before. but it has been so long, that i can't remember for the life of me.
any help would be appreciated.

Bam

Mar 15 '07 #2

"Jon Paal [MSMD]" <Jon nospam Paal @ everywhere dot comwrote in message
news:12*************@corp.supernews.com...
>

mynewstring = request.form("idate") & " " & request.form("itime")

"Jeff" <ba*@gig-gamers.comwrote in message
news:45***********************@roadrunner.com...
>hey gang. this is probably a simple thing i am over looking, but.....

i need to combine 2 vriables that are retrieved from a form. idate and
itime

i want to put these into the t_date field in my sql db. but for it to
work properly, there needs to be a space between the idate and itime.
how do i do this?
i know i should know this, and i have used it before. but it has been so
long, that i can't remember for the life of me.
any help would be appreciated.

Bam

thanks so much... dang, i feel a bit on the stupid side now..
Mar 15 '07 #3
Jeff wrote:
"Jon Paal [MSMD]" <Jon nospam Paal @ everywhere dot comwrote in
message news:12*************@corp.supernews.com...
>mynewstring = request.form("idate") & " " & request.form("itime")
thanks so much... dang, i feel a bit on the stupid side now..
Yeah, well don't.

It isn't easy to remember the syntax for everything.

In Javascript it would be
var + " " + var
where var is a variable or a function returning a value

In HTML you would need to add &nbsp; between the two elements

Elsewhere, ??

One of the many things I have diffiiculty in keeping track of is "How to add
a line break".
In HTML
In Javascript
In an alert box in Javascript
In VBS
etc.

Ah, well. One day !!
--
Cheers,
Trevor L.
[ Microsoft MVP - FrontPage ]
MVPS Website: http://trevorl.mvps.org/
----------------------------------------

Mar 15 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Shuo Xiang | last post by:
Greetings: I know that variables declared on a stack definitely does not reside in heap space so there is only a very limited amount of stuff that you can store in the stack of a function. But...
6
by: marek | last post by:
Hello All, we are doing a quite a big project that contains at the lowest level an unmenaged c++ classes. Above it there are managed wrappers and at the top there are ASP.NET pages. Can anyone...
1
by: Phil W | last post by:
I have a server which hosts a fair amount of websites, and over the last couple of weeks I have been getting the error "Not enough space on temporary disk" on ASP.Net pages. The error doesn't...
16
by: junky_fellow | last post by:
Hi guys, Consider the following piece of code: func() { if(x==0) { int arr; /* do something */
5
by: vnpatriot7 | last post by:
Hi everybody, I have two questions: 1) About memory space in C++ 2) About global and static variable As what I read somewhere that after compilation process which translate C++ code into...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.