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
Solved

CreateParamter for Memo Field in ASP and Access

Posted on 2004-04-28
4
604 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP Classic - Load test 2 53
Need help to rewrite script 3 94
Hide Table in merge 3 32
Designing forms 3 17
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…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

860 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