15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


ClassWizard and DAO Classes

Carlos Mengotti -- cmengot@ran.es
Thursday, April 04, 1996

Env. Visual C++ 4.0,  Win95, Access 95


First I create a database with a table who has a key.
Second with the ClassWizard I create a new class of type Table =
CDaoRecordset, following the Wizard I choose the database and after that =
another dialog offer me the table to choose, of course I signal it, push =
the button OK, and always!!!  I get the MessageBox with the error "You =
must select one table for this table type recordset"

Any idea?

Because of that after one month I' am using only the dynaset type of =
recordset.

Thanks!
------------------------------------------------
C++ & Electronic Publishing
Carlos Morales Mengotti
cmengot@ran.es
34 - 1 - 897.78.68
Apartado 23
28210 Valdemorillo (Spain)
------------------------------------------------



Dan Kirby -- dkirby@accessone.com
Saturday, April 06, 1996

Hi, 
Article  Q139490 in the Microsoft Developer Knowledgebase talks about this issue.  This was fixed in VC++ 4.1.
Best Regards,
--dan


----------
From: 	Carlos Morales Mengotti[SMTP:]
Sent: 	Thursday, April 04, 1996 12:07 PM
To: 	'MFC mailing list'
Subject: 	ClassWizard and DAO Classes

Env. Visual C++ 4.0,  Win95, Access 95


First I create a database with a table who has a key.
Second with the ClassWizard I create a new class of type Table =
CDaoRecordset, following the Wizard I choose the database and after that =
another dialog offer me the table to choose, of course I signal it, push =
the button OK, and always!!!  I get the MessageBox with the error "You =
must select one table for this table type recordset"

Any idea?

Because of that after one month I' am using only the dynaset type of =
recordset.

Thanks!
------------------------------------------------
C++ & Electronic Publishing
Carlos Morales Mengotti
cmengot@ran.es
34 - 1 - 897.78.68
Apartado 23
28210 Valdemorillo (Spain)
------------------------------------------------



begin 600 WINMAIL.DAT
M>)\^(BH(`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <`
M& ```$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$$
MD 8`4 (```(````,`````P``, ,````+``\.``````(!_P\!````/P``````
M``"!*Q^DOJ,0&9UN`-T!#U0"`````&UF8RUL0&YE=&-O;2YC;VT`4TU44 !M
M9F,M;$!N971C;VTN8V]M```>``(P`0````4```!33510`````!X``S !````
M$0```&UF8RUL0&YE=&-O;2YC;VT``````P`5# $````#`/X/!@```!X``3 !
M````$P```"=M9F,M;$!N971C;VTN8V]M)P```@$+, $````6````4TU44#I-
M1D,M3$!.151#3TTN0T]-`````P``.0`````+`$ Z`0````(!]@\!````! ``
M``````,-`````P``, 0````+``\.`0````(!_P\!````.P````````"!*Q^D
MOJ,0&9UN`-T!#U0"```!`&-M96YG;W1 ``$P`0```!$````G8VUE;F=O
M=$!R86XN97,G``````(!"S !````% ```%--5% Z0TU%3D=/5$!204XN15,`
M`P``.0`````+`$ Z``````(!]@\!````! ````````0"`?D/`0```#L`````
M````@2L?I+ZC$!F=;@#=`0]4`@```0!C;65N9V]T0')A;BYEF%R9"!A;F0@
M1$%/($-L87-S97,`C0H!!8 #``X```#,!P0`!@````L`#P`&`/T``2" `P`.
M````S <$``8````*`!$`!@#^``$)@ $`(0```# T,30R-T5!,S(X1D-&,3$Y
M,C(X-#0T-34S-30P,# P`+T&`0.0!@"@!0``% ````L`(P```````P`F````
M```+`"D```````,`+@```````P`V``````! `#D`0%HVH) CNP$>`' ``0``
M`" ```!213H@0VQAL"@P!0$P-4`@!C: K 
M1L`02A@`Q$P0C0;`#$Y.38TT#+ .C W(%!-+X\JG0Q4;S'/
M+-LG349#SB `P ,0"X!G("8@(P#&)S6_,)YU8FHHH3??QRS<"V $$%=I>@L1
M'X#B;B&01$%//Q0'D"3O>27S,S8G9Q0B# $H9D74;G8@D%8$`'4'0"V0%2(#
M,!L`(#]P;CDU^30A8V,'D 0@16 D?PJR3$9I$> %0$D@!0!E]F$HD!^ ("1 
M`9$>\@/P#QS02&$!D1OA=VAO(,,1P!]Q(&ME>2)F!F"_!: _\4DC'-(_*D?I
M;@?1VQO0/T$@'7 $""PA4FC/0J%0T1A;R,PWP6A(X 2`!L``A!L%9 #
M\/\Z41S23)A*`!U0'Q$.;D1A23 ;`'!U
MP!_2'/%%T6$>
MP'A";WA+J 20`V %P"+V60A@3R=M61 %0!'P&^#_*+$"(%9F`A!3TB 15H5.
MDHL6`% 5(D8\06YY')"9#;!A/T8\(N!C85D0_QOP3E)4`E.47X($8 (P25#D
M225B $?%.=$Y1?T\V86D]&(@$F0\#W7S(#8 ,`8S6 /. Z@2 `WQD`3T8MOR[#"H5C!X N
MLI) +C!N+D"W,S0D$ ,TT'1A.#DW+C
=`#T``0````4```!213H@``````,`#33]-P``$9



| Вернуться в корень Архива |