SlideShare a Scribd company logo
1 of 2
Download to read offline
‫تطبيق عملى على الوحدات النمطية وربطه بالنماذج فى التنقل بني السجالت‬
First Record
Public Sub firstr()
On Error GoTo Err_Click
DoCmd.GoToRecord , , acFirst
Exit_Click:
Exit Sub
Err_Click:
MsgBox Err.Description
Resume Exit_Click
End Sub

Last Record
Public Sub lastr()
On Error GoTo Err_Click
DoCmd.GoToRecord , , acLast
Exit_Click:
Exit Sub
Err_Click:
MsgBox Err.Description
Resume Exit_Click
End Sub

Next Record
Public Sub nextr()
On Error GoTo Err_Click
DoCmd.GoToRecord , , acNext
Exit_Click:
Exit Sub
Err_Click:
MsgBox Err.Description
Resume Exit_Click
End Sub
Previous Record
Public Sub previousr()
On Error GoTo Err_Click
DoCmd.GoToRecord , , acPrevious
Exit_Click:
Exit Sub
Err_Click:
MsgBox Err.Description
Resume Exit_Click
End Sub

Add Record
Public Sub addr()
On Error GoTo Err_Click
DoCmd.GoToRecord , , acNewRec
Exit_Click:
Exit Sub
Err_Click:
MsgBox Err.Description
Resume Exit_Click
End Sub

Quit App
Public Sub qapp()
On Error GoTo Err_Click
DoCmd.Quit
Exit_Click:
Exit Sub
Err_Click:
MsgBox Err.Description
Resume Exit_Click
End Sub

More Related Content

What's hot (10)

Vi editor
Vi editorVi editor
Vi editor
 
Vi editor in linux
Vi editor in linuxVi editor in linux
Vi editor in linux
 
Strings
StringsStrings
Strings
 
Algoritmos ensambladores
Algoritmos ensambladoresAlgoritmos ensambladores
Algoritmos ensambladores
 
ncurses in your hobostove
ncurses in your hobostovencurses in your hobostove
ncurses in your hobostove
 
VIM for the PHP Developer
VIM for the PHP DeveloperVIM for the PHP Developer
VIM for the PHP Developer
 
Vicom
VicomVicom
Vicom
 
Ensamblador emu 8086
Ensamblador emu 8086Ensamblador emu 8086
Ensamblador emu 8086
 
Groovify your java code by hervé roussel
Groovify your java code by hervé rousselGroovify your java code by hervé roussel
Groovify your java code by hervé roussel
 
Unity Programing on Boo
Unity Programing on BooUnity Programing on Boo
Unity Programing on Boo
 

Viewers also liked

Media pack
 Media pack Media pack
Media packSDawg97
 
Facet Personal Profile Igor Faria
Facet Personal Profile Igor FariaFacet Personal Profile Igor Faria
Facet Personal Profile Igor FariaIgor de S
 
Setting up your business: How to register a business online in Pakistan
Setting up your business: How to register a business online in PakistanSetting up your business: How to register a business online in Pakistan
Setting up your business: How to register a business online in PakistanJazz Business Services
 
徐伟简历-应聘销售工程师
徐伟简历-应聘销售工程师徐伟简历-应聘销售工程师
徐伟简历-应聘销售工程师Jimmy ??
 
Low impact material technical data sheet clay panels
Low impact material technical data sheet clay panelsLow impact material technical data sheet clay panels
Low impact material technical data sheet clay panelslibnam
 
educational program cob, lime and straw
educational program cob, lime and straweducational program cob, lime and straw
educational program cob, lime and strawlibnam
 
Brisbane Drupal meetup - 2016 Jan - Drupal hostings
Brisbane Drupal meetup - 2016 Jan - Drupal hostingsBrisbane Drupal meetup - 2016 Jan - Drupal hostings
Brisbane Drupal meetup - 2016 Jan - Drupal hostingsVladimir Roudakov
 
Blog Carlota Clemente
Blog Carlota ClementeBlog Carlota Clemente
Blog Carlota Clementemmachancoses
 
programme pédagogique bauge, chaux et paille
programme pédagogique bauge, chaux et pailleprogramme pédagogique bauge, chaux et paille
programme pédagogique bauge, chaux et paillelibnam
 
What why how... and everything in between
What why how... and everything in betweenWhat why how... and everything in between
What why how... and everything in betweenEnrique J Cordero
 
Hoja de reflexión.doc 3
Hoja de reflexión.doc 3Hoja de reflexión.doc 3
Hoja de reflexión.doc 3leonordiaz
 

Viewers also liked (20)

Media pack
 Media pack Media pack
Media pack
 
1
11
1
 
Reflexión
ReflexiónReflexión
Reflexión
 
Key findings
Key findingsKey findings
Key findings
 
Facet Personal Profile Igor Faria
Facet Personal Profile Igor FariaFacet Personal Profile Igor Faria
Facet Personal Profile Igor Faria
 
Data loggers scanners
Data loggers scannersData loggers scanners
Data loggers scanners
 
Setting up your business: How to register a business online in Pakistan
Setting up your business: How to register a business online in PakistanSetting up your business: How to register a business online in Pakistan
Setting up your business: How to register a business online in Pakistan
 
徐伟简历-应聘销售工程师
徐伟简历-应聘销售工程师徐伟简历-应聘销售工程师
徐伟简历-应聘销售工程师
 
El ciclo del agua
El ciclo del aguaEl ciclo del agua
El ciclo del agua
 
Low impact material technical data sheet clay panels
Low impact material technical data sheet clay panelsLow impact material technical data sheet clay panels
Low impact material technical data sheet clay panels
 
educational program cob, lime and straw
educational program cob, lime and straweducational program cob, lime and straw
educational program cob, lime and straw
 
Brisbane Drupal meetup - 2016 Jan - Drupal hostings
Brisbane Drupal meetup - 2016 Jan - Drupal hostingsBrisbane Drupal meetup - 2016 Jan - Drupal hostings
Brisbane Drupal meetup - 2016 Jan - Drupal hostings
 
Blog Carlota Clemente
Blog Carlota ClementeBlog Carlota Clemente
Blog Carlota Clemente
 
programme pédagogique bauge, chaux et paille
programme pédagogique bauge, chaux et pailleprogramme pédagogique bauge, chaux et paille
programme pédagogique bauge, chaux et paille
 
What why how... and everything in between
What why how... and everything in betweenWhat why how... and everything in between
What why how... and everything in between
 
Khajamuhaideen Rabideen_Resume_0215
Khajamuhaideen Rabideen_Resume_0215Khajamuhaideen Rabideen_Resume_0215
Khajamuhaideen Rabideen_Resume_0215
 
Presentacion sistemas (1)
Presentacion sistemas (1)Presentacion sistemas (1)
Presentacion sistemas (1)
 
Hoja de reflexión.doc 3
Hoja de reflexión.doc 3Hoja de reflexión.doc 3
Hoja de reflexión.doc 3
 
publicar una presentacion en blogger
publicar una presentacion en bloggerpublicar una presentacion en blogger
publicar una presentacion en blogger
 
Question 4
Question 4Question 4
Question 4
 

Recently uploaded

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 

Recently uploaded (20)

BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

Ms access modules

  • 1. ‫تطبيق عملى على الوحدات النمطية وربطه بالنماذج فى التنقل بني السجالت‬ First Record Public Sub firstr() On Error GoTo Err_Click DoCmd.GoToRecord , , acFirst Exit_Click: Exit Sub Err_Click: MsgBox Err.Description Resume Exit_Click End Sub Last Record Public Sub lastr() On Error GoTo Err_Click DoCmd.GoToRecord , , acLast Exit_Click: Exit Sub Err_Click: MsgBox Err.Description Resume Exit_Click End Sub Next Record Public Sub nextr() On Error GoTo Err_Click DoCmd.GoToRecord , , acNext Exit_Click: Exit Sub Err_Click: MsgBox Err.Description Resume Exit_Click End Sub
  • 2. Previous Record Public Sub previousr() On Error GoTo Err_Click DoCmd.GoToRecord , , acPrevious Exit_Click: Exit Sub Err_Click: MsgBox Err.Description Resume Exit_Click End Sub Add Record Public Sub addr() On Error GoTo Err_Click DoCmd.GoToRecord , , acNewRec Exit_Click: Exit Sub Err_Click: MsgBox Err.Description Resume Exit_Click End Sub Quit App Public Sub qapp() On Error GoTo Err_Click DoCmd.Quit Exit_Click: Exit Sub Err_Click: MsgBox Err.Description Resume Exit_Click End Sub