Update Access Memo field from ASP.NET
- From: "Matt" <Matt@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 10 Apr 2005 18:57:02 -0700
I'm having difficulty with trying to update a Access memo field through an
SQL statement where the value I'm trying to pass is longer than 255
characters. The field is being truncated. I'm using a simple INSERT INTO
sql command. Anyone know a way around this?
Sample
strSQL = "INSERT INTO tblListings " & _
"(Dir, Street, City, State, " & _
"AFirst, Price, ALast, MainPhoto, Summary, Details,
UnderContract, Sold ) VALUES (" & _
"'" & dir & "'," & _
"'" & istreet.text & "'," & _
"'" & icity.text & "'," & _
"'" & istate.selecteditem.text & "'," & _
"'" & ifname.text & "'," & _
"'" & iprice.text & "'," & _
"'" & ilname.text & "'," & _
"'" & fname & "'," & _
"'" & strsummary & "'," & _
"'" & strdetails & "'," & _
"'" & ckcontract.checked & "'," & _
"'" & cksold.checked & "')"
Any help would be greatly apprciated.
.
- Follow-Ups:
- Re: Update Access Memo field from ASP.NET
- From: Wessel Troost
- Re: Update Access Memo field from ASP.NET
- From: Patrick Olurotimi Ige
- Re: Update Access Memo field from ASP.NET
- Prev by Date: Re: Redirect in a another frame
- Next by Date: Microsoft TreeView: Microsoft.Web.UI.WebControls.dll
- Previous by thread: Help With Business Objects
- Next by thread: Re: Update Access Memo field from ASP.NET
- Index(es):
Relevant Pages
|