Macro & Modul
(Macro) ก                 ก       ก             ก  !" #$ก%&         $           &    (         ( ) *          +, !" -     ...
./%&   ก -       +-      ก       ก          #" ก   % ก     !" !    % ) * ! 0ก                    ,ก 1*(Event)% -ก         ...
1. Standalone macro           6Public -    0 ก3 $/% Category        %Navigator pane 7 0      - +     %&2. Embedded macro  ...
- + 0 ก -" % ก , Others   7 Create   ! %&Macro Builder
#" 7 Create ! ก -" Macro % ก , OtherMicrosoft Access 0 ( Macro Window %     %   7 Design 6 $% 7 Macro Tools
ก                       ก    3◦ก                (Action)       ! "# ก   !$ %&$ &   #$ "(ก%&$ )* "# ก◦ก +        +       (,...
ก      Macro1.   A 4 "         !       B C + B"   ก D4     , 9!6 5#$ A 4 Menu,! 9!
ก            Macro2.       )*   !    G,A 4 "3   ,! 9!
ก       Macro3. "(ก "# ก+       "  5#$ A 4 %&$9 ก   G, 5   5(ก          ก D4 " "(กH!,7
ก         Macro4. "&$ 5#$ )*    button-member " "(ก -2 (6
ก         Macro5.237, )*   !    G,A 4 ,! 9!
ก        Macro6.     )*      ! G,A 4 (     %&$ 6 + %&$ 1)     Master = A 4 "!ก = button-master     Purchase = ! ( + = butt...
ก         Macro7. "(ก "# ก           (Macro) ,! U V8. 23 กX      ก ก , 4ก( 94+              5! 1$ & )* "# ก%&$   "&$ 7 9  ...
ก        Macro 9. ก ก   ,    4ก(   94+   5! OpenFormก ,5#$ A 4 , "# ก2 กA 4 %&$    7  C + B""# ก )  Form "3 ,+       9    ...
ก        Macro10. "(ก )* & ก5 " % ก ! %1ก5#$  Macro1 23   กXA 4 %&$9 ก G,  %&$ &6 & ก G,A 4 Member
ก       Macro               !   G,A 4 9 7 &6 (   %&$ 6 + %&$ 2)    Master = A 4 "!ก = Macro2    Purchase = ! ( + = Macro3 ...
ก        Macro11. ก & ก5      ($ "(ก%&$ )*    ! G,A 4 %&$9 ก 5  #$ 9 ก ,A 4          G     5(ก ก D4(Member) , "(ก%&$ )* " ...
ก    Macro12. %," G,A 4   5(ก ก D4(Member) 2 กA 4 Menu , ก , A 4 Menu B )A 4 " "(ก )* G,A 4   5(ก ก D4(Member) 23 กX A 4 M...
ก       Macro & ก5              !    G,A 4 9 7 &6 (   %&$ 6 + %&$ 3)    Master = A 4      "!ก = Macro2    Purchase = !    ...
ก           Macro13. ก                    ! G, A 4 %&$ & ก5   ,   Macro "ก          , 5!        Close %&$ ก( 94 "# ก      ...
ก      Macroก -      -    ( ) * $- ,2 ( ) * %   ) * #" ก ( ก     0ก      & Close /
ก       Macroก       *ก  *    & Close   /
ก                Macro       ก ,2       #$ก%&        ก&!" MacroClose114.       )*   G,A 4  A 4 Member " ! %1ก5#$ )*     Cl...
ก        Macro                 ! G,A 4 9 7 &6 (   %&$ 6 + %&$ 4)    Master = A 4 "!ก = Macro2    Purchase = ! ( + = Macro3...
ก        !"  ก % ( ) *   /     # #" ( 4      / % &!"        AutoExec $ 0 ก Auto Executable %     $     +    ก %      #    ...
ก     ก    1. -   !"   ( ) *   / 6
ก     ก    2. ก ,2   #$ก%&   ก&!"   AutoExec
Macro
Upcoming SlideShare
Loading in...5
×

Macro

254

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
254
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Macro

  1. 1. Macro & Modul
  2. 2. (Macro) ก ก ก ก !" #$ก%& $ & ( ( ) * +, !" - +ก *ก *% % ,
  3. 3. ./%& ก - +- ก ก #" ก % ก !" ! % ) * ! 0ก ,ก 1*(Event)% -ก $ #"- & ,2 -" % ) * $-(Sale) !" ก ( ) * $ $ Master % /0 -% $ ! #$ % ( ! ) * ก&!" 0ก ก % #" ก3 !" ก %& !" ! %4 / $ % ก ( 4 /ก % )5 4 / 0 #. - ก ) * 0
  4. 4. 1. Standalone macro 6Public - 0 ก3 $/% Category %Navigator pane 7 0 - + %&2. Embedded macro 6 #0 89 $/) * ! $ #"- - ก - Event :" " %&% *&2007
  5. 5. - + 0 ก -" % ก , Others 7 Create ! %&Macro Builder
  6. 6. #" 7 Create ! ก -" Macro % ก , OtherMicrosoft Access 0 ( Macro Window % % 7 Design 6 $% 7 Macro Tools
  7. 7. ก ก 3◦ก (Action) ! "# ก !$ %&$ & #$ "(ก%&$ )* "# ก◦ก + + (, - (Comment) ! ! %1กก % # 2), 3 4%&$ "# ก 5! &67 &8"9 ก %◦ก " 4ก( 94 5! (Action argumetns) ! "# ก ก ,ก % + 5!
  8. 8. ก Macro1. A 4 " ! B C + B" ก D4 , 9!6 5#$ A 4 Menu,! 9!
  9. 9. ก Macro2. )* ! G,A 4 "3 ,! 9!
  10. 10. ก Macro3. "(ก "# ก+ " 5#$ A 4 %&$9 ก G, 5 5(ก ก D4 " "(กH!,7
  11. 11. ก Macro4. "&$ 5#$ )* button-member " "(ก -2 (6
  12. 12. ก Macro5.237, )* ! G,A 4 ,! 9!
  13. 13. ก Macro6. )* ! G,A 4 ( %&$ 6 + %&$ 1) Master = A 4 "!ก = button-master Purchase = ! ( + = button-purchase Sale = + ( = button-sale Suppliers = 8B ( = button-suppliers
  14. 14. ก Macro7. "(ก "# ก (Macro) ,! U V8. 23 กX ก ก , 4ก( 94+ 5! 1$ & )* "# ก%&$ "&$ 7 9 5! %&$ "# ก 5 OpenForm 23 & 4ก( 94,! B
  15. 15. ก Macro 9. ก ก , 4ก( 94+ 5! OpenFormก ,5#$ A 4 , "# ก2 กA 4 %&$ 7 C + B""# ก ) Form "3 ,+ 9 ก9(
  16. 16. ก Macro10. "(ก )* & ก5 " % ก ! %1ก5#$ Macro1 23 กXA 4 %&$9 ก G, %&$ &6 & ก G,A 4 Member
  17. 17. ก Macro ! G,A 4 9 7 &6 ( %&$ 6 + %&$ 2) Master = A 4 "!ก = Macro2 Purchase = ! ( + = Macro3 Sale = + ( = Macro4 Suppliers = 8B ( = Macro5
  18. 18. ก Macro11. ก & ก5 ($ "(ก%&$ )* ! G,A 4 %&$9 ก 5 #$ 9 ก ,A 4 G 5(ก ก D4(Member) , "(ก%&$ )* " ก ,%&$ )D !9( H 9)ก D4 "# ก #$ "(ก " ก , Macro1 ,! U V
  19. 19. ก Macro12. %," G,A 4 5(ก ก D4(Member) 2 กA 4 Menu , ก , A 4 Menu B )A 4 " "(ก )* G,A 4 5(ก ก D4(Member) 23 กX A 4 Member H5 7,%! %&
  20. 20. ก Macro & ก5 ! G,A 4 9 7 &6 ( %&$ 6 + %&$ 3) Master = A 4 "!ก = Macro2 Purchase = ! ( + = Macro3 Sale = + ( = Macro4 Suppliers = 8B ( = Macro5
  21. 21. ก Macro13. ก ! G, A 4 %&$ & ก5 , Macro "ก , 5! Close %&$ ก( 94 "# ก 5 (,+ !9H) Form 5#$ !9H) # A 4 Member ! %1ก H1 9# ก ! %1กก G, # 7 Prompt 9# ก ! %1กก G, Yes ! %1ก , 7 9 9# No 7 ! %1ก
  22. 22. ก Macroก - - ( ) * $- ,2 ( ) * % ) * #" ก ( ก 0ก & Close /
  23. 23. ก Macroก *ก * & Close /
  24. 24. ก Macro ก ,2 #$ก%& ก&!" MacroClose114. )* G,A 4 A 4 Member " ! %1ก5#$ )* Close-member15. & ก5 MacroClose1 , ก , )D !9(+ )* G,A 4 H 9)ก D4 #$ "(ก MacroClose1 ,! U V
  25. 25. ก Macro ! G,A 4 9 7 &6 ( %&$ 6 + %&$ 4) Master = A 4 "!ก = Macro2 Purchase = ! ( + = Macro3 Sale = + ( = Macro4 Suppliers = 8B ( = Macro5
  26. 26. ก !" ก % ( ) * / # #" ( 4 / % &!" AutoExec $ 0 ก Auto Executable % $ + ก % # !" ( 4 / ก 5 Shift 1 ( 4 /
  27. 27. ก ก 1. - !" ( ) * / 6
  28. 28. ก ก 2. ก ,2 #$ก%& ก&!" AutoExec
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×