Untitled
Transcription
Untitled
Asp ١ . ،"א! א#$%&'אא،אאא .()$*+,*-%&./ 29#א:834;<=א0(12$34*5(6780474א 4 <א6$25EFאGH?&א.I%&>?5@A5BאאC4D...($ J?א&אMNO?אPQאR0(5S5T...vb4arabJK5L X5אU83$*6??YAspOWRMא?אIR0(5אU8DV8 .RMא?אI٦NO?אPQאL אאאאא א Microsft Access"#$%& ! ;E،א.DA?א,*D;E.D،3אQA5BאאCY;?BK;$אO[$ .0?א אU8>\]אא،;^_`אQ.D[^W .O(&אQWO)$:E?W$ Hammada2091@Hotmail.com ٢ Microsoft Access ٣ MicrsoftAccess TSQL ٤ ) (א؟ \h8R(O?−Oא6)(H?JאbccdQ0X$?YJ&אM P0c.J?(אU8O?,?א04cFאJא!\אJ5אi(%&>?5j،JM& .K<k5א 2D?BKE#m5אSql Server , FoxPro ، Access J?א&אMl$ .0EאH$0l nW$JE#JP5U8DV8 &`?א7אbEtאL4()st_c DBMS J?א&אMHא\אopאqאrCY%.c . אSQL EאJ(57אu;?k5K3()4א.E،Jא L4&.5("?FאJ?א&אML!אJ+^אi(%(%&"(5;vא . א#;835# :DataBase − (א J(5DVאOא|א%&>?5@>Cא−z(5{א,;8−xא%&yאאCYw^K .J&אMJ?BYz}KH5א .J&M*&w^;$B~H?,rCY ٥ : Table −א "?Q,0B#%&(bccLJ&אML4oQ\?FאJ?(א%&O|?>א5@ ..&$ .3760lH?אrCY : Quires −.,-א .(3#wj;$B~F(אO?$(JP(c.4'(5y?'אK .١٨&YH.&$K<cKCאk#!א א.5K'(57H?,rCY :?Y`XאO|;א$L :Record– /#א ٦ 0ELM]6?c،05&x,?J&?.I($3k#0P0E0B_K .0 :Field− 01א .0P0B*5DV85Jא3(3&?0=א0B_K .`tByאKqא00l~`5א0B_א :Data Type− א2 .0=אL4o5FאJ\?אj0+,Wq5(c :3 l M,!אO6LJ?אא${V?K`5א0B_א .3 7Jא?אא4#א%&(KH?"(5"? :Primary Key–)#3א456א `?אMא0=אN:Ol...b>!*5.MHאB5{.K7O?=?(א .?א. :Relationship–7,א .3 7JM((!?אא5"?،Q56L(M&0B_c :Report–!0א ٧ -3 }−45&^3א4QJ?(0B_c`EJאi(R.1?Y .mH!\?'(אHא?אH\אA'?KKcN:Ol :Text− 789אא .U!?אאYM?;אBK7;$_'MH!א?אR)%&Jאא?אCY>?5 :אO?+.4אSXאi( .0=אL455EB~FאJא%M!א=א%&>?5j :Field Size .0+VאtDyא.א%&>?5j :Default Value .&{Pc78.MOW\א7*$(KאC4D True %&J?5אא:8:Required .OW\!א :Number− 7:אא Field Size .,WY\;$B~Fא4&?א$x5k.MאJא%&>?5j :.MאO?+.4אSXא :5אSXא$%&>?5j :Field Size .H?E٢٥٥١'MH$%&>?5j :Byte B~−K\( א.mdb JQL٢٨^١٠−U8٢٨^١٠'MH$%&>?5j :Decimal - .H?E%&>?5@;$ .٣٢٧٦٧U8٣٢٧٦٨−'MH$%&>?5j :Integer .٢١٤٧٤٨٣٦٤٧U8٢١٤٧٤٨٣٦٤٨−'MH$%&>?5j :Long Integer )K_(אO)אH?B{.K?Y،.MU84,אtQאcB~ :Single .٤٥−^١٠*١,٤٠١٢٩٨−U8٣,٤٠٢٨٢٣−:bא|< אL .٣,٤٠٢٨٢٣U8٤٥−^١٠*١,٤٠١٢٩٨:b6?א|< אL ٨ .H?B{.K?Y.MU8tQאcB~3K$ :Double −^١٠*٤,٩٤٠٦٥٦٤٥٨٤١٢٤٧−U8٣٠٨^١٠*١,٧٩٧٦٩٣١٣٤٨٦٢٣١−:bא|< אL ٣٢٤ .٣٠٨^١٠*١,٧٩٧٦٩٣١٣٤٨٦٢٣١U8٣٢٤−^١٠*٤,٩٤٠٦٥٦٤٥٨٤١٢٤٧:b6?א|< אL xאL3K$*D،'MH!אJ7Pw(5 אXP E$2D?BK&H?,rCY .EאCאN45KEzW!אxאL،?.אK_(אJ&\אlא .?אSX*4_`4DSXא$ . Date/Time ;!<א&א Fא، Format ,W`Y4XWY$،KH5א2M?(אcJ%&>?5j .KH5א2M?אJcQ5OB#$%&>?5j . Currency 7>:א ..(אJcQ5?א$(cF אFormat `Y4XWY$.((א . AutoNumber )30>א@?א "C=(אB_bK?אאCY;$RMא?א،JP>&\אK'MH0c%&>?5j ;?BK;א%&sqh*$.E،J?א&אuVm,א0.&(78Mt(אK7*$ ٩ 4|א%&*$.E`QBK7MאCY، Long Integer 0K?{+,\&?YJ?א .zuאJאL3אzE3אHYbKMnW!א . Memo ($6א GB ٢%5$.3א6.kV.B?>$J%&>?5@;$B~*[?אאCY<.5K . Microsoft ECc.E . Yes/No B/? .9W$++,8،;5אCW[cM%&0=אאCY>?5@ '$3++,VאtD7*א5L;?BK0Y\jF אDefult Value ,W`Y,WY$ .3 9W . OLE Object C3$ .Olא0%&\H50l3XE4DR;$B~ . HyperLink DEFGF<א .c??Bא46%&xH$+QאHRVB~ .HאrCYU!אאOW4(0.(^J&M _;v?"?'א pאqא.XM Microsoft Access ... "#$%& !HIE37$$ :`5א0B_pqאtWא ١٠ .K?אJאHא,`אM'oאQ &MK<Tpqאb^ Blank Database ... }HDJ&MH5k . Db_Friends 74oQ'?Jא 0.(&אQQ Q אMicrosoft Access XP H?אrCY:.4o *** .nW$JאH,א%& ١١ Tabels KאאLH5k،J&אMH?,4oc"? _א.&%&u;$( . `#0E0M376.;$7!،Oא6 ..5&אKLO6 _ אCreate Table in Design View - H5k :`5א0B_}HD##4o5 . Fields Name O?=א א4Db5BF`א^אYrCY − . DataType 0=אJ?4Db5BF`א^אYrCY − .0>$DV\אPO?=אSXW4oc"?^אrCYL − ١٢ :5אJ?(א%&>?5+5Fא97JאKFאLא7F?:8FL;vא$ `k_אRM?א−`tByאKqא−;א(?א−xc]אMH−zW!אyא−O!אyא−Mא :`5א0B_N:، Jo−¡<5− * ١ ٢,W Yes−( ٢ J?א 0=אא 0=א Data Type Field Name Field A?^ {+,MH=0=אO? Required ١,W MH Number Mא Field Size=integer Number Required−A?^ S Yes−( Text S F_Name O!אyא L_Name zW!אyא Text ٣ MH Phone xc]אMH Number EC Address ;א(?א EMail 0~7א Site RM?א Marry ¡<5 Memo S Text £(_ccHא Hyper Link ٤ 7=VאtDyא,א 7/( Default Value=No Yes-No ١٣ EC Memo Jo Memo ٥ 2K=J?א MH Field Size=Byte Number Age .(א :אMN, lE$NXM,$.Vxc−*G[73&\אD?K{+אM!*אNC.M−١* .EאCא2K٢N45c2M?אQL−wK,٣٢٧٦٧ Required .,WstDאC...3?\א6?zW!אyאH;?BK−٢* DVאP=אHאYאL0M*א$b`*א?א#xc]אO? א0Q–א٣* .O?.¥א$xc]אMH0M٠DVאBאU8 . No .rzu، Yes (¡<5.<−٤* .٢٥٥−;א:¦−n(5KSk_א.&;א−٥* .3 7b}c.ESXאi(c;אc7 EUV،O5>XO>/P< !BQ%BR)%45:$?א0NO9ST!% :)א ١٤ Db1.zip '?...%&!אLJא!\אK#L;<אאH%&udQ='?"?N:( .¡'?، Tb_Main א2jdQ= :`5א0B_אN4o*&uאA6 Tables ... .XMLO|אH?4§d .4&J.(אi( א673א4J&\אOW\;vאM .7Y-א7>: :SB% $L5B?אY*'?0EE!אL Add DVyא.&`Y45D(`uK.&O$ .J\H$;8*5DVאNB~r(W-3P3XcNwl RecordSet JPא ](A?^ ( Required - ,W2^VFאO?=אR)J5E7*$d7 ) .( ( Yes - {c ١٥ Primary `XHm5Q.E*5&N! Number 0L.MHאB5{.K*$3K$d7 - .P5אY#4_5JDVאA6Key .!א7>: :SZ .N?@.EJא0K(5M;B>$L#¨אRV N:A6−*DO(53E0=אN\@"?O?=אJPא05c&*$d7 \?6?אSא0K<K7`E5Bא0M0=אLGuc;$D*DO(c;$J\H$א:¦D،− .3 $ F2 .m5Q%&uuאאC]\H?Bא'אk5אNB~3K$ .\1א7>: :S[Z uVאsY،0PאN0o،0O$0M}HQאDא%&u0P>$\ :`5א0B_ Delete tWאK!אGאH%& .\H?B אDelete H%&uאNB~3K$ D?אM3אE[52EOL−R6אtאNB~*¦3K$d7−KKCjHN4o5 .0P"אC5K"? ١٦ 0P'א${,&RV?Y!אL0E;80،#0P"אC5K73(D ."C=\;אD3Q{K 1،2M¨;BL4K<T0Pא0MJאR)5K;`א5K"C=;א8 0`7אO|א©אDא،2M¨;אBאL*5DVאr(،"C¥א0Pא .(אrCY5c7NC،"C.&0ER*.&B~7אCY،K6*85M¨אJא - Compact and Repair 4,אJ?א&אMm,)א%&u(א78 .0M${KJ&אMP;[oאR^5cDatabase ) .]8>^א0;א#9>א: :S<א FאN5*#KKCjHN4o5*$d7−*MאCErKj(0PאNB~ O5K"?DW-0P%&#¨א0Pאw2.M?N$3K$d7،−"C=&א4oc ..4c :א-א`_א7>: .;אHWs4D.&>$$c;$0M .(0L+c;$O!אH*א .O?=אDEL+c;$`l*א .0P>$L0=אN:L#¨אRc;$37$DO!אHאKc2Eא:8 .3 XcrH5WאB.D`lא$ .Jא!\אK#LHo<אH%&uN:+< א60u_5 - Find ))tW א- Edit ) Kj).XM$ .4c?B%&K?"(5"?`5א0B_##4o5 ١٧ . &+ ( אFind What - O!א|< א .4&+אא\א.Bאא|< ?"\אCYL . L+ ( אLook In - `lא|< א .&0M*&#¨;אE>C?אY*D+אK>Cא0=אKjR^5 <|אאCYL .3 EO|אH5Wא$،+א ( Match )lא|< א :`Y <|אCYLJאHWK <6>$L.B&א+'k5K:0=< א6>$ Any part Of Field Mohamed Ahmed N4oD hm 25E?N$%(،0=אJ .B^אO?=&א+K"?K^אrC4:0B0= אWhole Field ah .5E?39#4oKאC+א 3l.D،+א.E*5Kאw^c>Cא0=&א+:0=אK אStart Of Field Ah .A$cª4! Mohammed ^(K*B Ahmed ^( ah 5E? . + ( אSearch - Rא|< אא \j(0Q ( Down - (%& ( Up - (0B ( אAll - `YJאHWK .H\CW[c'$%&'$=א#¨אRV? א5א0Q!אU8*P5c0Y،+א.&0B# . "! ( א&אMatch Case - א|< א ١٨ ^(c h &l?3l.D،*5Lw^"=;א$E[5K"?DHאאCY\א:8 - Capital .zE"J$4!Hosame . ( Find - H%&u+א.& R^5cאHWR)\;$( : HאH(אH$sY،+א.&Q?Y،Oא5yא.(S5«>C?אY`lא|< א . }yאH* .Oא5;א+H* .R.|אOא5אH* .`=אOא5אH* .a5-א7, .אbRE_`א7>: ?Y+א.&L*8 ^55"? <6W(?). &+אA6...MH$"%&7+א.E.V'4Q5y&א5ER^5 .5א.Bא ?Ho o )،H ،3D)0B_5 0אL،'4Q5y?''&אK4D6?K7*! Hosame N^(c4$P5 ho .R^א0M a "\?6? Yahoo .EN5^(5 :5א.B&א+אA6،nW$1 No ???? ٨MH0PאL\?6?אNc &אNo Site ... 3 K$ No Memo ^(54$P5 No Mem .[^WY5E! :`5א0B_nW$H?JP&אR^5 . א#;8374&"(5"?...¡:.א_ א.&`Y.(אrC]0Kא ١٩ Sort .cF@א7>: Kc>Cא0= \אDescinding ... cNCE Ascendig K&cbctאB~ $،Jא!\אK#L.4K<H%&uV(א3lO!אyאB)*5^?אbctא .3 c$3K&ctW(אbcc ( Sort - tW(אJP ( Records - .XM .'MH!אbcczu5K"?DNC2.Mא:8N$d7 Forms - .O?אPQאL'k5c74$}H−NO?אPQאU8E!<א א6$AM$¡:.אq5(c .Y _¦.MF אM,!אJ&M¡:?¬ _¦GHאOW'? 5אKH5Wyא$N4o - Forms ¡:¬tWאJ&אM{5Q'?c;$( - Create form in Design view.5&אKL¡:?¬ _א - Create form by using wizerd(א'אk5¡:?¬ _א tWא،3KKNC'אL!אx5«...(א'אk5¡:?¬ _3X'? .`5א0B_K^אrCY ٢٠ :`5א0B_>H?אR4o .6H5k...O|אאH5®"?%&!א|< א ،4EYH5WMאC...¡:?.אL4oc;$]KFאO?=אH5®"?`lא|< אL .`5אuVא .`5אuO!א0B_אH5k،¡:?.&אQ5OB#$^(K"?N:( .N K>Cאw5אtWא...Q5Jc^(K"?5א#_אL 0Q!\?6?אJאH5Wy אForm1 ... *..¡:?.אאNb^K"?J#_אW.*&`Y%&4Et+Vא . 4אu :`5א0B_¡:?¬;?B5K"? ٢١ .JP"CDVאJPא05אNB~ .EJא!\אE$z}،Jא!\אK#"%&uV¡א:?.א0B#L0K(5אKc2Eא:8 :`5א0B_;BאQ%&uMCQ5אRV?\?(...N?@ .c.&O['?...¡:?.א.c(;vאM Kqא0P3lzu،−3NO?אPQא0l−Jא!\אi(NK+5'? .3 l`5א0B_(^א5`tByא Rאb+c;$7;א(?אRNKj;\ TextBox SRsj`B*$d7 .#¨cK9Y%&#¨{א−Hא%&$ .4(0(5אLNO?אPQאJ[\א3א6*4#Hא%&FאJ;א!\א$3K$d7 Db2.zip (א4>אH;?BK;$0QKHאH!אrCYR0(5?א4...HאH$DVאL$ :`5א0B_N:?u ٢٢ .'H?Qא%&4'? CommandButton . !אHH?,%&u KאאL Action ... ¯= אCategories .(?אKjb^c##4o5 :`5א0B_*c?(;?B5¡WH[_"? .w^c : Application - .(?א - Quit Application .w^5 א48:¯=א .`5אu .`5אuVא،N?@tWא،4oK;$rKc>CאSא$H?אKjNb^ Cmd_Exit .*.،!אH.5'?"?zW!א#_אL .!אCQcA6...H<א%&uM¡:?.;אvא0u# .`5א0B_¡:?.{אK%5HאH$DVK^אQM;vא GאH'H?QאL`#>$SXW%&u¡(א:?.אJ?BSXWJczu5 :`5א0B_##4o5K!א ٢٣ .P5אd7YzucKc,W>$z} &%&z#[5אO$אC،pqאx¨4ocH%&>?5@WHDV'?3K$ About .3 lSb5E&*אuVא...'H?Qא%&*M$HtWא،(א ( Hא=?אRtW א- build events ) - ¯ )tWאK!אGאH;vאuVא code builder ) . :`5א!א4Db5B"?،NO?אPQ?\אE##0l##4o5 MsgBox "Programming By : Ahmed Gamal", vbInformation, "About" :`5א0B_N:NO?אPQ?\אE0l3 .K|א!אHA6NO?אPDH/w};אvא '?SRאC...*&u\אP*D2M?אRKSRDV;v?'א Click .¯L`5א!אb5B،NO?אPDH/0u_5אK^אQ Text30.Text = DateTime.Time ٢٤ :0B_אאCYbKM¡:?¬NK;?B5K;$0- :"(c;$?Y4"];אED¡:.אLR?5 ?V?LNO?אPQ3א6*4#4$:−z(5{א,;8−E[IqאKc2Eא:8* .J?א&אM NO?אPQאOW*8O?,?אO+>C'אo?אYאCYNO?אPDpq2Eא:8* .K<אDV'?...KאאL Db3.zip Relationships %("(;$37$7N:"(؟JM('אk5א:37$"(;$\?$;$0M .M& ٢٥ /#א،O>/01אאP7:$U>d_eOfO0Ng@אhא7,א80! .ijאאP)[א/#אאאPא :XH9#.M('אk5: w¨אאU8\?( .J&אMOא6`0Bcwj: 37$ .J?א&אMPHאY8RO>א|א$LאHאBcR: 3 GHא4&0.(EFאJ&א3K?*Q3(K37lnB،($ªH .א BאLאHאאb-3l- J&?.IRH$U8 M,!;א$K;$K$0 .אH&\א?א\א4D^&\א0E&"(;$K،Olא0%& WW-0،W0wK,0Bx: O?DK5אK^0.(Eא:8 .\(\א?א0'((\א^א .^&\א،\&\א?אHBEd7B .O?=אR)J¯+$(KאC4D،אH\>$^\J\?א3K$d7 .N:z}"C+!אQ0M m#!?V?&א- 3X<6- ¡W[B) xcא]?אc?( lL"C=?אV?{5K7H ."C=א.&%&3אzu,37l 0.(KFאE_אDx§?אאD.4KQ§?א%&>?5jJ&MK;$Q .Q;אB4D R)"C- \?B%5$- 3KK'?c;$(KאC4D... D"C3lE_א2Mא:8 .QאאCYU8;?.5KKCאQ§?א *;?(5?;אQ§?א3Xc"C@"?"אC\P.D،JM(אRNCE!אB - .N:Lb}Eא:8D3(– RelationShip .JM("(K'k5¦DN:L5 :,א2א% ٢٦ .NאNא7, : One To One - א29א .lא&אL*Kא0PXא&אL0P0B;$O?M(אrCYL : M,!אJ&M.VM(אrCY%&Ol H- 'אD- M^אMH( k_אM^א.V\?6?אJ?(אDVאK$Q )M^א ،O|אאCYP{Ed7B،O!אO|אU8#O?=אrCYDVאR^5 .2M?אK<א u5DD M,!א¡א אk5אא:8`5 ..kאJ?א&אMR4oK*B^אc&MRN:4oKH H- 'אD- M^אMH( 5אO?=א%&>?5@K6O6 _'?;:8 ) M^א PassPort - BClass - From .|א3^אH0l~>Cא0=?אY` א#%c :`Y#*אא0=אאCY .|אL3?\א6?;?BK;$* ) .S`lאMHO!?;אBK;${KD( |אL3^5*&?;?BK;$* .0E_אbK7%5) HB5K7;$%(( KDM%&>?5@;$* . !_*אcO.57l*_אW7yא0'k5;$R^57$O?אC ) .*4_5z}( KDM%&>?5+*$E:!Mא0?Y0b$;¦DNC ،Primary Key `XHm5Q.E*&wאO|אU8Number 0DV;vאM .bj.E>א$$Tb_R1 א2jO|אdQM ) .l`J" (א7 :kNא7, : One To Many - )[א29א .`lאO|אLJP&?.I`XאO|אL0P0B;8O?M(אrCYL .wאGHאL*_.MCאOlאN:Ol B، QאO6Lא0P];?BK;$B~A^?&א.I;$P5Olא2o7? ) .אHאJ (א?א QאO6LW-0PlE$ )א0P( b^;?BK;$B~7 ٢٧ .`5*א?א Q?אYאCY :5אO?=א%&>?5@Tb_R2 א2jO6 _MאC Year - Books - Students A^א- b5Bא- א 0=?אY;?BYear א2jTb_Main O!אO|אLK60DVאB~ .|אאא GאH<uM،- Design ) .c( %&uVא،O!אO|א%&uM - Insert Row ) .x,¡אH\ (א%&uMA?^;אBאLK!א ) .אHא QאO6( `lאO|אL`XHm5QYear 00(1;$c73K$ .3אk5אlE!`אYJM&?אאCY*** :7 :mno7 :m7, : Many To Many - _[א29א ؟wאGHאL4c\H$Fא5אH(אEC5c0Y J (א?א QאO6LW-0PlE$ )א0P( b^;?BK;$B~7B ) .אHא .lא?א%&M;?B¦D) 7( $א:8 :M(אrCYOl :`5אd¦DJuא%&>?5@376x;$\H$? .ulE$*;?BK;$א?אSk_B~* .Sk#lE$&\?6?;?Bc;$א?אuB~* :.YKאאL6K3l.D،O6U8¡5¦DJM(א?&אrC4' .?Bא- ?א $1 ./2 W3 - ٢٨ `4 :Ju`lא 7I>א- ?א (א1 K<±7א2 Qא3 (¯א+5K$;$%&0`BD،k#!אJuאM(?4DLVyאO|א$ >$`¯+5K7.،¯l¯א+5DW$،Qא./¯+5K.D،K<±7א :`5אO|א0B_"?¦D! u 7I><?א- ^bE<?א 1-1 1-2 2-3 3-1 3-2 3-3 :wDאOlאL.E{KOא|א%&JK(5אi(;v?'א Db4.zip '5K6?c،O|אJM(;_ אvא$Q5k?אא7אD((;vא :NC .JM(אH/wK&* .0=אSXWL\?6?אData Types J?אL\?6?א(אwK&* .U7אK^'אk5"? ٢٩ M(;א$ECc( k_אM^אJ?(O6 M,!אO6JM(;¦_ אvא$ One To One ) .אU8?א }HD##4oc"?) JM&( Relationships - tW )אJ\א$( Tools - .XM 0B_N:،Oא6H4§8Show Tables - tWא!~אGאH<uVא- ... 3VאtDא :`5א Close - tW א457(א،DVאAdd - uVאWv?אc3אאOא|אH5WM;vא :`5E0B#N4o، }8 ٣٠ - Edit Relationship . M&KjtWא،JM(אRelationships - .XM;vא Create New .4tWא##N4oc"? :`5א0B_K6##N4oc"? &?YJ3אH;?B>CאO|אtWאLeft Table Name ,WL Tb_Main Tb_R1tWא|< א!~אL `XאO|א3^אH;?B>Cא0=אtWאLeft Column Name , NumberH5kאC، Number .?Y3K$0=?;אB~!א|< אL :`5א0B_N: :`5א0B_##N4o5Ok H%&u;vאM ٣١ .#_א0Q!א|< אLM(?אH?4§d7 :H5W7אHאH!$ L0OW\א%&'k5אRKc2Eא:8\jHאאCYL: O!אH5WyאR1 .O!אO|אLzo*;?BK;$;\`lאO|א zuc&`lאO|אJKj;Eא:8\jHאאCYL: `lאH5WyאR2 .`Xאm5Qא0M &`lאO|אJ"CKc2Eא:8\jHאאCYL: lאH5WyאR3 .`XאO|אL0PאQ"C Q5!?אJאHW¯4) p (?אJoin Type - א2jW-HsY .pא N:|אM(HH?4§d5) . _8( Create - H%&uM;vא :`5א0B_ ٣٢ 'k5"?5אM(אLOne To One ... ?U!אM(_[א$M;?BאC4 .(א ;$%$... rHK%&\?6?א+ &אTb_Main U8bY:אM(אrCY0.&E[5 :`5א0B_אNK4oK TB_Main O6U8*P5"?אC... אHא,אM(;¦_ אv?"?'א N:،Lookup Wizard H5®Year 0=אU8bYCDesign u :`5א0B_ R;$K'$،M&*([_376H5®;$KEא:8.DzT4oc##O$ .`5א%&uO!?אY`VאtD7אHאst"?... M Tb_R2 .H5k،*(M& _8K>CאO|אH5Wאb^c"?5א#_א ٣٣ H5®"?... O|אL4oc;$]KFאO?=א אb^K"?llא#_אL :`5א0B_N:Year .`5א%&u אC،rtW>אCאO|אL3\?6?אH5kא0=אJ4oK"?5א#_אL .`5אH5®"? H5®،*&?Y%&*Et،M(א4oK;$*K>Cא0=אאH5®"?3אzW$ . 48Finish ##w}$،dQ=M... M(א'א0M37$dQ@;$7O|;א$sqk ..5א NB¦.XML`lאO|אMH?4§d7Year 0=אtWאO|א0u_5M;vא :`5א0B_N:... #4H5W7א ٣٤ אrCYU8;?.5KKCא^אR)N4o+ &אTb_R2 O|אtWא3K$ :`5א0B_N: N4oK"?... wאGHאL4u_5.MFאJM(א##%&o`"?3אzW$ :`5אbKM0B# אGHאJK?5/R)U8DVאJM(אR)%&>?5@wDאxא Db5.zip ٣٥ .J?א&א,אJ.(אi(%&GHאאCYL"(5 ( Import & Export ) .!8אpאq->א: : SB% :pאq-א ...46HWJ&אMU8J?(b6\אz5yא.( ( tWא4- Get External Data ) 6HWJ?(b6( tWאFile x.XM - Import )\אz5א .=אJ&אMk%5Bx>$tW< * א6\אz5אKcCאxאtWא :`5א0B_{5#_אR?5- Option ) JאHW( %&uM ##N4o5 - Oא6( B... r\אz5אK>CאJ&אMn?5/?H5®>?(א|< אL ..XאO6>$tWאTables ) R) 4±( Y\H?5;$KFאJאH5W7\אO!`אQD0Q!אLFאJאHא$ .J&אM U8DVאO|'א$D`..c EO|\אH?5;$KEא:8\x5אL .*WאJא .'(5E$OPE\אz57אKEא:8\.אL3אzW$ .Oא|א.XM.VO|אH?4§d7wD?אuVא ٣٦ J%&0K(c>$;¦D=אrCYL،rF6אpאqBאpאqBאC7Z7 g9 .O|א4"אJ&אM%&B(K"אO|א - Link cO6( - Import ) \אz5 (אtWאx.XM?אאCYH5W7 Table ) . J&אMO|אQLzu5אd7*cLO&... O|אtWאK^אQ .lא :!8א uVאJ&אMO6K+5M;vא... א.(- 3- B(א.(?אY - Export ) .Kc( tWאx.XM%& ... 48K5אKFאJ&אM4D\j##4o5 J&אMLHאO|*א.@;$KcCאyאOW\אNb^c##4o53אzW$ .wDא?א،*&O|אJKcH5WyאNB~.E،>א$tWא... Nc .4DK|אO|אH?4§d7lאJ&אM{5Dא Tools Bar .אpא7:3 :4J?א&א.4אJאHאK(א%&.XאrCY>?5j Database Utilites .א א0( #אp%1 Convert DatabaseJ&אM0K?j?YO!א|< א... ;5.& <|אאCYL.4K NB~*$d7B... E$JאH,אU8Nc&M0K?jHאאCYN{5K .?¥אk אLzu5א 7FאNO?אPQאLData Control R0(5&א3l,אrCY0l¡5 Access 97 .RU80(5c Compact and Repair Database .J?א&אMm,8uV?Y`lא|< א :XHJ.4¯l'?K>CאH5WyאאCYU8nW$tD0E¡5 ٣٧ dQKKjwK&N:،u,$4.P{KJ&אMJuV* .MKU8J?(א .JK?5¥אbcc\&אwK&J&אMJU8O?,?\&אK* 3l40E__[&&\אcMFאJ&אML¯jMF^ אW!אm,*א .אCBY... J&אM }\;א4|א }א .%.D- 3KY§- YDCFאJP"אC'?K*אc7* Securty .Q%2 uVאOpen {5D$OWN:Exuclusive ... K^J&אM{5DU8¡5 :`5א0B_N:Exuclusive tW{א5QאHb²zuא#¨א%& .Yzuc&.ERVNB~N:( TSQL ?H?J?א&אMR)R0.(c'(57א0);א،.YאlE!?א|< אYאCY R'k5c3K$ Asp OWNO?אPDL4k5.E،3א6QQJD5WאR .3 KאYz}\?6R0.|אrCY4#!Y ^5"?،3KcK^אQ.Yz} ٣٨ ؟SQL `Y Structured Query Language .OH5Wא.BאrCY : Oracle - Access - MS J?א&אM?א$R)R0.('(57אc{c .Yz}sql Server 0K(5"אC=אDV7אL3K$'k5c4$78−RX#?Y.E−+.|אrCY'?c .N:z}H\א7א4B+5א.J?א&אM%5Oא_ א|א ؟E$L'(5yא0)b5B5K$ Forms .$ Table 4H5TEFא.X אQuires J(5אtWא Ceate Quriry In Deign Viwe .tWא - Close . }אtWא...##N4o5 :`5א0B_N: Union tWאSQL Specfic tW אQuery .XM;vא .'(5yאא$4Db5BFא#_`אYrCY...}HD##N4o5 bP(5&א3K$...'(5yאdQU8<K<אאCY;א3<אH±#_א%&$L ('(5yאCQ)(c :`5('א5yא5B'?"? Select FName From Tb_Main; ٣٩ !!!w(א!אKא:m_"?Dwc7 &%&u'(5yאCQcA6...NK>Cא7א2j*oQאdQ%&uVא ##5=אLN4oc;$%$...'(5yאא%&uVא#_אw}$3K$...bP(5א :NC*# −.5)&אtWא!~אGאH<7א%&uVא....5א#_\?(3K$ .\?Bא5E##4o5(Design View db6.zip s%Ftא`_אuv> SB%\\،'(57א0)0QcL$;vא : (אu`אYrCYSelect . Select Colums_Name From Table_Name; : <א6$(H$'(5y?;)אBcd TSQL .0)Yz}&+<)אF`אYSelect : .4oK;$*Kc>C?\א.(א$0=אאColum_Name : TSQL .0)`MLzu5c+א.²,Wu,3K$`YFrom : .O|אאb5BYTable_Name : ٤٠ ) Syntex :K?+*)א?א&א5.cB~%& א0Mow .zuאzBא!"א D>$6?K7* .DlE["t(K7:^$_&=;5D=D* nW!אpאqאi(LNO?אPQאL$78?؛,Q'(5yא0)R)`45c* .48¡57 wאOlא%&ow : SELECT FName FROM Tb_Main; Tb_Main .O|אO!א7א¡אk57 Select )k5א$d7 `5א0B_N: M,!אRMא¡?אk5אB~H?אrC4 SELECT Site FROM Tb_Main; .`MאRאCBY 3l.D،,Qא40Qc`?א54(VB.D\?.&lE$¡אk5אKEא:8 : zW!אyאO!אyא¡אk57 SELECT FName,LName FROM Tb_Main; : `tByאKqא.(אO!אyא¡אk573l SELECT FName, Age,EMail FROM Tb_Main; : `5א0B_N:O?=א א0/*R¦DJאR)¡אk57 SELECT* FROM Tb_Main; RO!אyא¡אk573l.D DISTINCT ... 'k5HאBc;BJא¡אk57 : HאB5"אC SELECT DISTINCT FNAme FROM Tb_Main; :!'אk53c$3K&c6kאJאbct3K$ ORDER BY colum >&5$ ORDER BY colum DESC : O!אyאb>&5אbctאRJאR)¡אk573l.D ٤١ SELECT * FROM Tb_Main ORDER BY FName DESC; bbct3l.D،,Qא'אk5N:−RX#?Y.E−bctK?50.&B~ : אrCY3cBzW!אyאO!אyא SELECT * FROM Tb_Main ORDER BY FName,Lname ; : `5א0B_N: As 'k5¦D MyName %.2jO!אyא¡אk573K$ Select Fname as MyName From Tb_Main; .Oא'אאk5'(57אJ.&L37 As Q5 _&\K< M,!אH.&$¡אk573l.D،+א0)%&^אJ.(א א6א3K$B~ :J?א SELECT Fname,Age+10 as Age2 FROM Tb_Main; .r&3*אRK"? Access ;¦D78pcא0=א.c\&אU8^cN$d7 : zW!אyאRO!אyאp3l SELECT Fname+ " " + LName As CName FROM Tb_Main; '(5yאא$R_א0.|א'אk5א .VKאJ(אאא0('אk5א :5אu('א5yא.&L_Eא'אאk5אu,CW[c Select * From Tb_Main Where Field = Value; = .3 (<>$>=$<=$>$<'אk5אB~ Between . Like .Y37;א:¦4_\6(3אzW$ : ١٨YH.&$>c>C אM,!('&א53l.D SELECT * FROM tb_Main WHERE age = 18; :٥٠u,$Y $( SELECT FName,LName FROM tb_Main where age < 50; ٤٢ +−`5א0B_N:3,?2EL\QScF& Value R ) : $)y]אKCאk#!&א SELECT * FROM tb_Main WHERE Fname = 'ahmed'; 4B،J&אMLKH5l$6?c7،KH?אc&+&א#F&R.E : `5*4#u,CW[c Select * Form Table1 Where Date > #12/03/04#; :)אLr.(ci(p;vא F אName א2j3K?I3cbctO|אzW!אO!אyא¡אk57 : ١٧qE$.(;א$#wj SELECT Fname & " " & Lname AS MyName FROM tb_Main WHERE age > 17 ORDER BY FNAME, LName DESC; ؟ix5אGh]0w%N%%Gh7 :m]0`_`אp<%אV:Qjא .^א^אJ('אk5uאאCY06$ :3 אk5אlE!א^א^אJ(?&אK false .`Mא3++,D^;אEL True ++,.M`^(cAnd : false .`^(K*¦D783++,D^א$;EL True ++,.M`^(cOr : : 6<5??אBK7$_١٧&Y.&qBKKCאk#!&א+،RKOlU8;vא Select Fname from tb_main where age > 17 and marry = false; :`tBאK4K١٧&YH.&$K<cKCאk#!אD(K$3K$tQ ،k#!אi(`tByאKq"אCMJ&אM0u_5MOlאA1;$0M No .KW´ No Mail .Ei(b5Eא : `5א!אo;אvא SELECT * FROM Tb_Main WHERE age>17 And (Email='No' or Email='No Mail'); ٤٣ :.|אrCY;vא0Q .١٧qE$.( א: Age > 17 : O!*א_א No ..E%&>?5@`tByאKq א: Email = 'No' : `l*א_א No Mail ..E%&>?5@`tByאKq א: Email = 'No Mail' : l*א_א Or . And ^אJ(?&אk5א Or 4pcKCא_א$wjo5K*¦D(١٧qE$.()אO!א_אwj%5 . .z(5אאC] True .Mw@>Cא0P(אKY& cFF]!yC UV،(Nא7>uP Or And .אbא9 S<אNC$K4א0M .7``J70!z{אא Like .6א.אbא ... (z(5*4_אJ.B&א+ Like 0('אk5 : 5אu אLike 0(.'k5 Select * From Table Where Field Like '*Name*'; ..4E$،K4א$،KאאL4k5M..."$\?6%&7*'k5 :l!אL!{א5 אC4'(5')אk5אC hm ... %&U!אY $>?5jMKCאk#!(א :0B_א SELECT * FROM Tb_Main WHERE FName like '*hm*'; : +א.E0M*RאC A "Y $$cKCאk#!&א+\אH$?$ SELECT * FROM Tb_Main WHERE FName like 'A*'; .K4\;אKאאL*R("4`א45KKCאk#!&א+\אH$? * .37٪'k5 MS SQL Server L* ٤٤ &\א="؟Kj\H$?א:B،"=>&\א$(c*;$p55w¶ .KאאL+אGH\LYE:F'"؟"אk5?=אrCYL \&;?BK;$_ A "Y $$cKCאk#!&א+;$\H$?א::;:8 .D٣4D SELECT * FROM Tb_Main WHERE FName like 'A??'; %&>?5@k# Address ;א(?א00K(cA6.3`(MאOlU8;vא .K.DV(?אlE$ 0Y Like . _אwK&אK;?BKKCאk#!א¡אk5אR^5=אrCYL ؟؟؟xE"(c Between .6א.אbא +אL*אk5?אY0(אאC]O.(5א4#$،( ^.V+0(אאCY'k5 .KH?א5א.V :5אu אbetween 'אk5+אCW[K SELECT colum FROM table WHERE field BETWEEN v1 AND v2; :٦٠٢٠YH.&$mאtcKCאk#!א¡אk573l.D SELECT * FROM tb_main WHERE age between 20 and 60; .O=^(אKH?א5א، !אRK^אQ'אk5אB~ ٤٥ .J?א&אMLO"א|אCDV¯&א+5+?א6&35M¸?;v(א5 :`5א0B_N:fEאu37$$ CREATE TABLE tb1 ( colum type, colum type,........); ?Nameyא:%&>?5@Tb2א2j376¹_...N:%&Ol.E :Number?AgeWv(אString−S) CREATE TABLE tb1 (name text,age number ); \&RV;:8...DJW.ºName.(א0P\;$\H$?א:;:8 :`5א0B_N:Texts7אJ?(cR?MJא CREATE TABLE tb1 (name text(6),age number ); AP...Null−©אD0K70=א0(±xE`YOא_ א|אL4#[^W :3K$yאROlאאCY CREATE TABLE tb1 (name text(6) Not Null,age number ); :3?אcr _¦.M>CאO|"אC'?K\?BאאCYRMא?אL...\1א&א:B DROP Table tb1; ٤٦ \?BאW-U8CASCADEDV4lKjDJM(3^cO|אאCY;E? :`5א0B_N: DROP Table tb1 CASCADE; .3\אI*&0.("?!*DC(O|_[אc;$%c7 &MO|א Q;א$5&$− _7א.&(N:*80N7YאL$;vא .−3+V{א,$O?=אJא :5אK^&uO?=אDVאR^5 ALTER TABLE tb1 ADD colum type; .(%l$−E:)?`אlא،\אKHc?YO!א:KK6xD ALTER TABLE tb1 ADD birth_Date date,Gender Text; .Ex3.X\א$d7...Gender0B01|אN%\`9;vא :`5א0B_N:،−Y\?6OL−JM(אK+5CASCADE ALTER TABLE tb1 DROP gender CASCADE; ٤٧ ،*&א$APOPETb_Main'k5"?،,/#א7Y(א5"?;vא :DVyא(!אuאU8;vא INSERT INTO table VALUES (v1, v2,......); F&?אRV&אR،,D40Qc`lא אHא3אאH.$d7 .##F&KH?א5""אSc Kqא−;א(?א−.(א−xc]אMH−zW!אyא−O!אyא−Mא:5אאH. .Jo−7/¡<5−RM?א−uא−א−`tByא :`5א0B_N: Insert into tb_main values(11,'ahmed','gamal',6666666,18,'Cairo','Hammada2 091','First Year','','',false,''); ;$0EL&b6אC−*.MHB5c7−3א3M(א6$?YB_4?אc .ERV١١MHאאA6E!אOWBN:B~3I...Mאzu :`5א0B_MyNumber Insert into tb_main values(MyNumber,'ahmed','gamal',6666666,18,'Cairo','Ha mmada2091','First Year','','',false,''); RV.MyNumber.MOW\אNb^cHN4o5'(5y)אCQcA6 .O|אL45DVא5K"?HB;?Bc7$_.M ٤٨ :o* .+7אאCE..NO?אPQאLzu5*E!אL <|אאCY;8 :5א+)אEC5c0Y ;'Select * From Tb_Main where name='ahmed :`5א0B_MyName3אzu5RVAhmed0K<c;$A6 Select * From Tb_Main where name = myname; ...*&+אLb}c.D3.BjN^(KאCY :!א :`5א0B_0PJ0K(5(אuא UPDATE table_name SET colum1 = v1 , colum2 = v2 WHERE colum = v; *>אCאSk_www.vb4arab.com=RM?א٢٨=.(א0(|37l;vאAP :(Gamal)zW7(אAhmed)O!א Update tb_main set age=25 , site='www.vb4arab.com' ;'where fname='ahmed' and lname='Gamal :`5אOl*א4_KRX#!אאCYRMא?אL.0PlE$0._K!;אE?א:B ٤٩ Update tb_main set fname='Ahmad' where ;'fname='ahmed 3K$'k5K;$B~.E،(אuאR3,?W !?א5OlאאCY0l'k5KM .=א${K3l.D،+אJ.&L<.]אz[c0YP5 !*#$RVB~،_אR=אrCYL...Jאzu5א.(c\H$?א:B :J?א٥H.&!\אK<`5א Update tb_main set age=age+5; bcאH\K<'k5K3l.D...JE_אJ&?אML3&?#א!אlE$!אאCYq5(K .(*$*5\K;?Bc;$B~)(Q§?א :`5E&u,+)אCk5cRMא?אL...\1א&א:B DELETE FROM table WHERE colum = value; R)"C"?`5אOlאL..#lE$wjz[c2j"C=?;אBK;$B~ :(H!&אYH.&$K<cKCאk#!א Delete from tb_main where age>40; :K^`אYrCY...f!}$\N&א:B ٥٠ DELETE * FROM table; .,BאPאא (c،@،'אk57(אX#`Y،'(57א0)J.VOאאK('אk5c .GHאאCYOWl!אi(ROאאi(%&"(5−O6(c7−.M :`5א0B_אCW[cFאOא'אאk57(אuאU8(Koo SELECT func(colum) FROM table WHERE condition; :AVG7אא 3א$b5B3lJ&אMLH.&!?א5A=،0?5אאrCY^(c :`5E Select AVG(Age) from tb_main; R.±JPאR)%&HE،אאrCY'k5ª?0(Qא:0k5c;אN .−3I−אCBY`5אU8050P0E'MHא YH.&$K<c7KCאk#!אH.&$?5A=3l.D..._א'אאk5אB~3K$ :٢٥& SELECT AVG(Age) FROM tb_main where age < 25; −MאC...*#$Expr100א2j0L4oKאאpc;$J6?2o7? :`5א0B_3.(c.EAswK&pcא0.c\&−Kc2Eא:8 ٥١ SELECT AVG(Age) as AVGAGE FROM tb_main WHERE age < 25; ...}HQאJPא0YP5c"?;אא$d7 :Sum,Max,Minאא &ML.&qE$%&OlאCY،`?א5א%&u,!א−qE!א−?.»אOאאrCY`^(c :Jא SELECT max(Age) AS mxAGE FROM tb_main; .'(5yא.(#RVB¦;$c7 :Count7אא 0.(c7`4DllאH?א$...E$R0.(c;cH?,]JPאא&\אrCY(c :E7א%& 4D3}HD0=אאCYBKªFאJP(&\אc...(Count(colum:U!אuא . .7'$}HD2Eא:8U8o\;אJP(&\אc...(*)Count:lאuא RJP?'(אc)COUNT(DISTINCT Colum:llאuא$ .4HBא0Y1 :lאuא%&37l Select count(*) From Tb_Main; ٥٢ .(א.(#RVNB¦;$c7 , 9!2E?א:،;vאTSqlL4#lE7א^אOאאi(rCY2E .a> :אPc~ N:,אk_אM^אJ?(%&O?=אK...=אrCY0lL .−`lאO|אL06?K7*$d7−Tb_R2 SELECT tb_main.Fname, tb_main.lname, Tb_R1.passport, tb_r1.bclass, tb_r1.from FROM tb_main, tb_r1 WHERE tb_main.Number = tb_r1.Number; :אK^אK^אrCY Qאd;v\&א .O6lE$R0(5!4N:0=אא.O|אא5B'?:37$ .O6lE$pcא?אK!FromH&(O6lEא5B'?:3 |אL4MH$*_5cFאJ?((אK`B?Y'(57)אzW!א^א:3l .K? K<cKC אM,!w(5cFאJ?(אDE&'(57N:...3אW-37lA±;v\&א .٢٠&YH.&$ SELECT tb_main.Fname, tb_main.lname, Tb_R1.passport, tb_r1.bclass, tb_r1.from FROM tb_main, tb_r1 WHERE tb_main.Number = tb_r1.Number and ؛tb_main.age >25 ٥٣ M,!אi(;?BK;$7GHאאCYl$w^cL$`B،K6lאw^cK;vא .7Wvאi(`אlאO|אLJP4K .Join¯&אא+5...4w(5KJM(אO?lKOא :Inner Join:א29א M(א#;EOLpc(^א?אcwאGHאL4&jFאK\(אK^`אY .|אEL3+5 %5−4c?(;$P5،`lאO| אM,!אJPi("Cj;$A6:%( .4oc−!א `5א0B_*55EB~...`VאtD7?אYInner Join*&w^Kאא?אCY :Q5kא!?אאwKQ5 SELECT tb_main.Fname, tb_main.lname, Tb_R1.passport, tb_r1.bclass, tb_r1.from FROM tb_main inner join tb_r1 on tb_main.Number=tb_r1.Number; .|א`אinner join(V.EonAWhere5א$d7 :Left Join:)[א29א LאJ(אK(Hא%&)O!אO|אJR)(K?אאCYL .`lאO|א :K$?אאCYLd7 (K(KH¦;אD.א%&JP4c7(Hא%&)JPsY2Eא:8* .3}HD.א .3א$(c74¦DHא%&0](.א%&)JPsY2Eא:8* ٥٤ :&?אrCYOl SELECT tb_main.Fname, tb_main.lname, Tb_R1.passport, tb_r1.bclass, tb_r1.from FROM tb_main Left JOIN tb_r1 ON tb_main.Number=tb_r1.Number; :Right Join:_[א29א :*&OlאCY،א.(3`B(?א?אY SELECT tb_main.Fname, tb_main.lname, Tb_R1.passport, tb_r1.bclass, tb_r1.from FROM tb_main Right JOIN tb_r1 ON tb_main.Number=tb_r1.Number; K<אL+אNB~Fא!אאzlBא%&>?5j2א7SQL;אc7K4אL .2t7א%&4 no،(<אCאא9:dאא:eQ אa ..p0אאP0>א . ٢٠٠٤-٢٠٠٣ : STUV الYZUL تEFGHIJ KL MNOP QR ٥٥ ٥٦
Similar documents
Wire Rope Hoists _ Operating and Maintenance - STAHL
Fleet angles..................................................................................................................... 9
More information