Click here to Skip to main content
16,016,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUn-caught exception - how do I pin it down ? Pin
Still learning how to code15-Feb-03 7:45
Still learning how to code15-Feb-03 7:45 
AnswerRe: Un-caught exception - how do I pin it down ? Pin
Chris Losinger15-Feb-03 7:53
professionalChris Losinger15-Feb-03 7:53 
GeneralRe: Un-caught exception - how do I pin it down ? Pin
Still learning how to code16-Feb-03 8:09
Still learning how to code16-Feb-03 8:09 
GeneralRe: Un-caught exception - how do I pin it down ? Pin
Scott H. Settlemier17-Feb-03 18:10
Scott H. Settlemier17-Feb-03 18:10 
GeneralSetting the lenght of a text field in an SQL Access database... Pin
IrishSonic15-Feb-03 4:36
IrishSonic15-Feb-03 4:36 
GeneralRe: Setting the lenght of a text field in an SQL Access database... Pin
Anders Molin15-Feb-03 4:59
professionalAnders Molin15-Feb-03 4:59 
GeneralRe: Setting the lenght of a text field in an SQL Access database... Pin
Roger Wright15-Feb-03 6:18
professionalRoger Wright15-Feb-03 6:18 
GeneralRe: Setting the lenght of a text field in an SQL Access database... Pin
Member 9615-Feb-03 8:58
Member 9615-Feb-03 8:58 
Hi grahamoj, text can be maximum of 255, however a memo as others have pointed out will suit and the JET database engine doesn't waste any unused space so no problems there.

In order to create fields or modify them programatically (and in the easiest possible way, there are others) you need to use data definition sql statements:

See here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/acfundsql.asp[^]

See also in that article at the bottom the intermediate and advanced articles. That should give you all the info you require.

This is something I have done a *lot* but through ADO, not odbc so I can't give you anything more specific.
GeneralRe: Setting the lenght of a text field in an SQL Access database... Pin
IrishSonic16-Feb-03 1:32
IrishSonic16-Feb-03 1:32 
QuestionHow can i send message from one view to the other ? Pin
muna_utkal15-Feb-03 2:08
muna_utkal15-Feb-03 2:08 
AnswerRe: How can i send message from one view to the other ? Pin
João Paulo Figueira15-Feb-03 5:31
professionalJoão Paulo Figueira15-Feb-03 5:31 
AnswerRe: How can i send message from one view to the other ? Pin
valikac15-Feb-03 6:56
valikac15-Feb-03 6:56 
GeneralRe: How can i send message from one view to the other ? Pin
AlexO15-Feb-03 10:17
AlexO15-Feb-03 10:17 
GeneralRe: How can i send message from one view to the other ? Pin
valikac15-Feb-03 12:08
valikac15-Feb-03 12:08 
GeneralRotate(URGENT) Pin
satyavasu15-Feb-03 1:47
satyavasu15-Feb-03 1:47 
Questionlimited size of an application? Pin
includeh1015-Feb-03 1:32
includeh1015-Feb-03 1:32 
AnswerRe: limited size of an application? Pin
Anders Molin15-Feb-03 1:57
professionalAnders Molin15-Feb-03 1:57 
AnswerRe: limited size of an application? Pin
User 665815-Feb-03 2:20
User 665815-Feb-03 2:20 
AnswerRe: limited size of an application? Pin
Michael Dunn15-Feb-03 6:14
sitebuilderMichael Dunn15-Feb-03 6:14 
GeneralRe: limited size of an application? Pin
Gary R. Wheeler16-Feb-03 4:56
Gary R. Wheeler16-Feb-03 4:56 
GeneralMFC CRichEditView-like view with columns Pin
Archigal15-Feb-03 0:10
Archigal15-Feb-03 0:10 
GeneralRe: MFC CRichEditView-like view with columns Pin
Anna-Jayne Metcalfe15-Feb-03 1:09
Anna-Jayne Metcalfe15-Feb-03 1:09 
GeneralRe: MFC CRichEditView-like view with columns Pin
includeh1015-Feb-03 1:22
includeh1015-Feb-03 1:22 
GeneralRe: MFC CRichEditView-like view with columns Pin
Anna-Jayne Metcalfe15-Feb-03 1:35
Anna-Jayne Metcalfe15-Feb-03 1:35 
GeneralRe: MFC CRichEditView-like view with columns Pin
Archigal15-Feb-03 1:35
Archigal15-Feb-03 1:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.