Solved

CreateParamter for Memo Field in ASP and Access

Posted on 2004-04-28
4
603 Views
Last Modified: 2012-08-14
I am using ASP and ACcess. What should I give in the CreateParameter function for vartype for MEmo field in the backend which is MS Access.

CMD_ISMP_INFO.Parameters.Append CMD_ISMP_INFO.CreateParameter("Description",adVarChar,adParamInput,255)
   


0
Comment
Question by:tech_question
  • 3
4 Comments
 

Author Comment

by:tech_question
ID: 10938974
CMD_ISMP_INFO.Parameters.Append CMD_ISMP_INFO.CreateParameter("Description",?,adParamInput,?)
   

Please fill in the "?" marks , the Description field is a Memo Field in Access Database. I am using ASP as front end .
0
 
LVL 11

Accepted Solution

by:
Slimshaneey earned 500 total points
ID: 10939013
Change adVarChar to

adLongVarChar
0
 
LVL 11

Expert Comment

by:Slimshaneey
ID: 10939030
ie
CMD_ISMP_INFO.Parameters.Append CMD_ISMP_INFO.CreateParameter("Description",adLongVarChar,adParamInput)
0
 
LVL 11

Expert Comment

by:Slimshaneey
ID: 10939071
If it throws an error for not specifiying the length, try this:
CMD_ISMP_INFO.Parameters.Append CMD_ISMP_INFO.CreateParameter("Description",adLongVarChar, adParamInput, 2147483647)
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question