Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Writing to a table from textbox ??? (cant hit ENTER)

Status
Not open for further replies.

amj67

Programmer
Mar 13, 2004
8
IS
Hi all..

I have a problem which is a little hard to explain..
but lets try it anyway.

Im writing to a field in SQL using a ordinary textbox.
Im reading the SQL field to a layer on a website.
If I write into the textbox without hitting "ENTER" everything is OK.
If I hit "ENTER" when writing into the textbox the "you know what" hits the fan.

When I look into the SQL field via Ent Manager, I see the data is split into f.x. 3 lines, (hit the "ENTER" button twice lets say)


There is no code for the BREAK, like <br> or anything like that in the SQL field, (field type is ntext)

So the question is, how can I hit "Enter" in the textbox without "splitting" the sentence.. (keep it in 1 line)?
 
Well,

i don't know in what language you are trying to develop this but i think you should ask it in that specific forum. I don't think this is sql related.

Maybe you should edit you code so that when you hit enter the focus on the textbox is lost or it goes to the next field, or something like that.

Regards,

Atomic Wedgie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top