space in variables

space in variables

am 15.03.2007 02:34:55 von jeff

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

Re: space in variables

am 15.03.2007 03:54:02 von Trevor_L.

Jeff wrote:
> "Jon Paal [MSMD]" wrote in
> message news:12vha16rjsj1lc3@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   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/
----------------------------------------

Re: space in variables

am 15.03.2007 03:57:56 von Jon Paal

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



"Jeff" wrote in message news:45f89452$0$18929$4c368faf@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
>

Re: space in variables

am 15.03.2007 04:37:48 von jeff

"Jon Paal [MSMD]" wrote in message
news:12vha16rjsj1lc3@corp.supernews.com...
>
>
> mynewstring = request.form("idate") & " " & request.form("itime")
>
>
>
> "Jeff" wrote in message
> news:45f89452$0$18929$4c368faf@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..