Solved

CreateParamter for Memo Field in ASP and Access

Posted on 2004-04-28
4
608 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

707 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