SlideShare une entreprise Scribd logo
1  sur  11
Visual FoxPro - An Introduction:: 33




                                  4
                 VISUAL FOXPRO - AN
                   INTRODUCTION



4.1 INTRODUCTION
Visual FoxPro is a Relational Database Management System
(RDBMS), which allows you to work with several logically related
tables of data simultaneously. A Table in a database contains a
number of Rows and Columns. One row in the table is equivalent to
one record and one column is equivalent to one field.
4.2 OBJECTIVES
After going through this lesson, you would be able to
      start Visual Foxpro menus
      use shortcut keys
      use Visual Foxpro menus.
      explain the concept of DBMS
4.3     CONCEPT OF DATABASE MANAGEMENT SYSTEM (DBMS)
Before you understand the concept of Database Management System.
(DBMS), it is necessary that you understand few basic terms related
to DBMS. Let us begin with data. Anything can be data, e.g., a
number, name of a person or place, address, etc. When a data is
meaningful, it is called Information and a Database is an organized
collection of related information. You can use database for
34 :: Computer Applications



                         –    retrieving desired information
                         –    taking meaningful decision
                         –    reorganizing information
                         –    processing information

                         Database Management System (DBMS) is a generalized software
                         package used to build and manage the database, i.e., add, modify
                         (edit), update, delete and sort (arrange in a particular order)
                         information in the database. DBMS also helps to retrieve the desired
                         information in the required format from the database. Visual FoxPro
                         is a leading database Management System. It is a member of
                         Microsoft Visual Studio. Visual FoxPro is one of the Relational
                         Database Management System (RDBMS). It is windows based
                         Graphical User Interface (GUI) RDBMS. The database is a broader
                         concept in Visual FoxPro in which the information is stored in related
                         tables. The table is equivalent to database of the earlier version of
                         FoxPro. A database is a collection of various records comprising
                         rows and columns. One row is one record and one column is one
                         field. A record is collection of logically related fields and a field is
                         one column information. In Visual FoxPro, there can be more than
                         one table storing different stream of information. A table in a
                         database contains a number of Rows and Columns. One row in the
                         table is equivalent to one record and one column is equivalent to
                         one field.

                         4.4 STARTING VISUAL FOXPRO

                         The minimum hardware/software configuration of the machine
                         required for installing Visual FoxPro is that you should have a
                         Pentium Series of Computer with 32 MB RAM and 10GB of Hard
                         Disk Drive with Windows 95 or higher operating system. Here we
                         have discussed 6.0 version of Visual Foxpro

                         In order to start with Visual FoxPro, you must ensure that Visual
                         FoxPro system is already installed on your computer. To invoke
                         Visual FoxPro, Double click the My Computer Icon on the Desktop
                         Window. Then double click C: drive. Now, click on Program Folder
                         and then Microsoft Visual Studio. Now double click the Microsoft
                         Visual FoxPro icon as shown in Fig. 4.1
Visual FoxPro - An Introduction:: 35




     Fig. 4.1: Visual FoxPro icon within Program Folder of Windows

You can also make a shortcut of Visual FoxPro icon on your desktop
for directly loading the system as shown in Fig. 4.2.




        Fig. 4.2: Highlighted Visual FoxPro icon on the Desktop
36 :: Computer Applications



                         In this case double click the Visual FoxPro icon from the desktop
                         itself and then Visual FoxPro window will appear on your screen as
                         shown in Fig. 4.3




                                     Fig. 4.3 : Visual FoxPro with Command Window

                         Alternatively, you can invoke Visual FoxPro by clicking mouse on
                         Start menu then click on Programs. Place the mouse on Microsoft
                         Visual Studio 6.0. You will see a number of options. Place mouse
                         on Microsoft Visual FoxPro 6.0 option as shown in Fig. 4.4 and
                         click the left mouse button on it.




                                       Fig. 4.4: Visual FoxPro through Start Menu
Visual FoxPro - An Introduction:: 37



The Visual FoxPro window will appear on your screen as shown in
the above fig. 4.3.
4.5 USING THE VISUAL FOXPRO MENUS
The Visual FoxPro Menu system can be classified into the following
components as:
     Menu Bar
     Menu Pad (Item)
     Menus (Pull Down Menu)
     Menu Options
     Toolbar
                         Menu Bar
                   Menu Pad
Selected Option
                                                  Title Bar
  Control Menu Box




                               Standard Toolbar
                      Disabled Menu Option


                        Opens a Dialog Box



                                                              Command Window




 Pull down Menu (Menu Popup)




                     Fig. 4.5: Visual FoxPro Menu Systems
38 :: Computer Applications



                         4.5.1 Menu Bar
                         A Menu Bar is located at the top of the screen and displays all the
                         available titles for menu as shown in the figure 1.5. The content of
                         the menu bar changes when you move from one title to another title
                         of the menu bar.
                         4.5.2 Menu Pads (Items)
                         The titles displayed on the menu bar are called Menu Pads (Items).
                         You can use either the mouse or the keyboard to display the menu
                         associated with each menu pad. Using the mouse, click on the title
                         of the menu you wish to use. To access the menu bar from keyboard,
                         press <ALT> or <F10> key and then type the underlined letter for
                         the menu you wish to use. For example <ALT>+F for invoking File
                         Menu. You can also use the Left and Right arrow keys to move from
                         one menu pad to another menu pad, and press <RETURN> key.
                         You will also find that some of the menu pads appear dimmed and
                         cannot be highlighted or selected. These menu pads are disabled.
                         You cannot display the menu if the menu pad is disabled.
                         4.5.3 Menus
                         When you choose a menu pad from the menu bar by clicking the
                         menu pad, Visual FoxPro displays a pull-down menu. A Menu is a
                         list of related options displayed in the pull-down menu. When you
                         choose an option from a menu, Visual FoxPro executes it. Choosing
                         an option means activating a highlighted option by clicking with
                         mouse or pressing the <Spacebar> key or <Return> key.
                         4.5.4 Menu Options
                         When you choose a menu pad from the menu bar, Visual FoxPro
                         displays a pull-down menu. A pull-down menu contains options as
                         shown in the fig. 4.3. The options on each menu are logically related
                         to menu pad.
                         To choose a desired menu option you want, use one of the following
                         methods:
                              Move to the menu pad and click. The pull-down menu appears.
                              Click on the desired option you want.
                              Press <Alt> key or <F10> key and then press the underlined
                              letter (hot key) in the menu pad name. Type the underlined
                              key for the menu option you want.
Visual FoxPro - An Introduction:: 39



     Use the Left and Right Arrow keys to the menu pad you want to
     use and then press <Return> key. Use the Up and Down arrow
     keys to select the desired option and then press the <Return>
     key or <Spacebar> key.
You will find that some of the menu options have an ellipsis (…)
after the option. This indicates that the option will further open a
dialog box. A dialog box appears to request the additional
information.
4.5.5 Toolbar
The Toolbar appears below the menu bar and displays the icons as
shown in Fig. 4.5. To access the toolbar using the mouse, click on
the icon you want to use.

INTEXT QUESTIONS

1.   What is the difference between data and information?
2.   Give the full form of RDBMS.
3.   Choose the Correct Answer:
     (a)   A database is a collection of
           (i) Fields (ii) Table      (iii) Records (iv) Column
     (b)   In Visual FoxPro, a Table is equivalent to
           (i) Row   (ii) Column      (iii) Field   (iv) Database

4.6 VISUAL FOXPRO TEXT EDITOR
Modify Command is the standard Text Editor of the Visual FoxPro.
In short it is also called modi comm. It allows you to create and
modify text. Using this text editor you can code or modify a Visual
FoxPro program. The following keys can be used for selecting and
editing text.
Key(s)                       Action
Cursor Movement
Right Arrow                  To move the cursor one character to the
                             right.
Left Arrow                   To move the cursor one character to the
                             left.
40 :: Computer Applications



                         Up Arrow            To move the cursor up one line.
                         Down Arrow          To move the cursor down one line.
                         Home                To move the cursor to the beginning of
                                             the current line.
                         End                 To move the cursor to the end of the
                                             current line.
                         Page up             To move the cursor up the height of the
                                             current line.
                         Page down           To move the cursor down the height of
                                             the current line.
                         Ctrl+Home           To move the cursor to the beginning of
                                             the current text.
                         Ctrl+End            To move the cursor to the end of the
                                             current text.
                         Ctrl+Right Arrow    To move the cursor one word to the right.
                         Ctrl+Left Arrow     To move the cursor one word to the left.


                         Selecting Text
                         Shift+Right Arrow   To select one character to the right of the
                                             cursor.
                         Shift+Left Arrow    To select one character to the left of the
                                             cursor.
                         Shift+Up Arrow      To select one line up to the cursor.
                         Shift+Down Arrow    To select one line down to the cursor.
                         Ctrl+A              To select all text.

                         Deleting Text
                         Backspace           To delete the selected text or the character
                                             to the left of the cursor if no text is
                                             selected.
                         Del                 To delete the selected text or the character
                                             to the right of the cursor if no text is
                                             selected.
Visual FoxPro - An Introduction:: 41



Inserting Text
Ins                     To switch between insert and overwrite
                        mode.
4.7 SHORTCUT KEYS FOR MENU OPTIONS
Visual FoxPro provides various shortcut Keys to choose the menu
options. Some of them are listed below.
Key(s)                  Action
Ctrl+A                  To select all the current objects.
Ctrl+C                  To copy the current selection to the
                        clipboard.
Ctrl+D                  To start a Visual FoxPro Program
Ctrl+G                  To move the cursor to the designated line
                        in a text or in the command window.
Ctrl+M                  To resume a program.
Ctrl+P                  To Print.
Ctrl+R                  To redo.
Ctrl+S                  To save the file.
Ctrl+V                  To paste the content of the clipboard at
                        the current cursor position.
Ctrl+W                  To leave the current operation and to save
                        any modification.
Ctrl+X                  To cut the selected object from its current
                        location and to place it on the clipboard.
Ctrl+Y                  To append new record.
Ctrl+Z                  To undo.
Ctrl+F1                 To activate the next window open within
                        Visual FoxPro.
Ctrl+F2                 To display the command window.
Ctrl+F4                 To close the current window.
Ctrl+F5                 To restore the current window to its
                        original size.
Ctrl+F7                 To move the current window with the arrow
                        key.
42 :: Computer Applications



                         Ctrl+F8                     To increase/decrease the size of the
                                                     current window.
                         Ctrl+F9                     To minimize the current window to an
                                                     icon.
                         Ctrl+F10                    To maximize the current window.
                         Esc                         To exit current editing without saving the
                                                     modification.
                         F1                          To activate on-line help.
                         F2                          To open the view window.
                         F3                          To list the content of the current table.
                         F4                          To list the files in the current directory.
                         F5                          To display the structure of the current
                                                     table.
                         F6                          To display the status.
                         F7                          To display the current memory variables.
                         F8                          To display the field names and the current
                                                     record of the current table.
                         F9                          To open the Browse window in append
                                                     mode.
                         4.8 EXITING VISUAL FOXPRO
                         You can exit Visual FoxPro by using any one of the following methods:
                               Type quit in the command window and press <Return> key.
                               Open the File menu and choose the Exit option.
                               Click mouse on the Control Menu Box from the Title bar of the
                               main Visual FoxPro window as shown in the figure 4.3.
                               Press <Alt+F4> key.
                         4.9    WHAT YOU HAVE LEARNT
                         In this lesson you have learned about the concept of database and
                         how to invoke Visual FoxPro, Visual FoxPro menus, shortcut keys
                         for menu options and how to exit Visual FoxPro. In the next lesson
                         you will learn about the complete Visual FoxPro Menu System and
                         Toolbars.
Visual FoxPro - An Introduction:: 43



4.10 TERMINAL QUESTIONS
1.   Discuss the concept of DBMS.
2.   What are the various ways of starting Visual FoxPro?
3.   Define the various Menu Pads available on the Menu Bar of
     Visual FoxPro.
4.   Name the Text Editor of Visual FoxPro.
5.   What is the shortcut for displaying the structure of the current
     table?

4.11 KEY TO INTEXT QUESTIONS

1     Data: Anything can be data, e.g. a number, name of a person
      or place, address, Information: When a data is meaningful, it
      is called information.
2     Relational Database Management Systems
3     (a) (iii)   (b) (iv)

Contenu connexe

Tendances

Tendances (7)

Windows 7- Introduction and Features
Windows 7- Introduction and FeaturesWindows 7- Introduction and Features
Windows 7- Introduction and Features
 
The basics of windows
The basics of windowsThe basics of windows
The basics of windows
 
Dos; windows os l 4
Dos; windows os l 4Dos; windows os l 4
Dos; windows os l 4
 
desktop startmenu task bar
desktop startmenu task bardesktop startmenu task bar
desktop startmenu task bar
 
Lesson 6 cs5
Lesson 6   cs5Lesson 6   cs5
Lesson 6 cs5
 
Chapter 10.1.5
Chapter 10.1.5Chapter 10.1.5
Chapter 10.1.5
 
Windows XP
Windows XPWindows XP
Windows XP
 

En vedette (20)

Chapter 10.1.2
Chapter 10.1.2Chapter 10.1.2
Chapter 10.1.2
 
Introduction C Programming
Introduction C ProgrammingIntroduction C Programming
Introduction C Programming
 
Fox pro 2.6
Fox pro 2.6Fox pro 2.6
Fox pro 2.6
 
NOTES ON "FOXPRO"
NOTES ON "FOXPRO" NOTES ON "FOXPRO"
NOTES ON "FOXPRO"
 
Foxpro
FoxproFoxpro
Foxpro
 
Parts of the computer and thier function
Parts of the computer and thier functionParts of the computer and thier function
Parts of the computer and thier function
 
Overview of c language
Overview of c languageOverview of c language
Overview of c language
 
Parts Of The Computer
Parts Of The ComputerParts Of The Computer
Parts Of The Computer
 
Chapter 8 - Introduction to Probability and Statistics
Chapter 8 - Introduction to Probability and StatisticsChapter 8 - Introduction to Probability and Statistics
Chapter 8 - Introduction to Probability and Statistics
 
Probability and statistics(assign 7 and 8)
Probability and statistics(assign 7 and 8)Probability and statistics(assign 7 and 8)
Probability and statistics(assign 7 and 8)
 
C notes.pdf
C notes.pdfC notes.pdf
C notes.pdf
 
C ppt
C pptC ppt
C ppt
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
Statistics Math project class 10th
Statistics Math project class 10thStatistics Math project class 10th
Statistics Math project class 10th
 
Ppt on ms excel
Ppt on ms excelPpt on ms excel
Ppt on ms excel
 
STATISTICS AND PROBABILITY (TEACHING GUIDE)
STATISTICS AND PROBABILITY (TEACHING GUIDE)STATISTICS AND PROBABILITY (TEACHING GUIDE)
STATISTICS AND PROBABILITY (TEACHING GUIDE)
 
Ms excel 2007
Ms excel 2007Ms excel 2007
Ms excel 2007
 
Introduction to statistics...ppt rahul
Introduction to statistics...ppt rahulIntroduction to statistics...ppt rahul
Introduction to statistics...ppt rahul
 
C language ppt
C language pptC language ppt
C language ppt
 
Components of a computer system
Components of a computer systemComponents of a computer system
Components of a computer system
 

Similaire à Chapter 10.1.1 (20)

Lesson 2 (1)
Lesson 2 (1)Lesson 2 (1)
Lesson 2 (1)
 
Adobe Illustrator CS5 Part 1 : Introduction to Illustrator
Adobe Illustrator CS5 Part 1 : Introduction to IllustratorAdobe Illustrator CS5 Part 1 : Introduction to Illustrator
Adobe Illustrator CS5 Part 1 : Introduction to Illustrator
 
Mac Tricks
Mac TricksMac Tricks
Mac Tricks
 
Introduction to Ubuntu
Introduction to UbuntuIntroduction to Ubuntu
Introduction to Ubuntu
 
Chapter.01
Chapter.01Chapter.01
Chapter.01
 
Chapter.01
Chapter.01Chapter.01
Chapter.01
 
Lecture windows xp 3
Lecture windows xp 3Lecture windows xp 3
Lecture windows xp 3
 
Chapter 1 Overview
Chapter 1   OverviewChapter 1   Overview
Chapter 1 Overview
 
Windows lyceum
Windows lyceumWindows lyceum
Windows lyceum
 
Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016
Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016
Getting Started with the Ribbon library - MUGUKI User Group Meeting 2016
 
Nccp Presentation Ubuntu
Nccp Presentation UbuntuNccp Presentation Ubuntu
Nccp Presentation Ubuntu
 
Winxp
WinxpWinxp
Winxp
 
Microsoft Word 2010 Beginning Class
Microsoft Word 2010 Beginning ClassMicrosoft Word 2010 Beginning Class
Microsoft Word 2010 Beginning Class
 
Visual Basic IDE Introduction
Visual Basic IDE IntroductionVisual Basic IDE Introduction
Visual Basic IDE Introduction
 
Visual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdfVisual Basic IDE Intro.pdf
Visual Basic IDE Intro.pdf
 
Gui
GuiGui
Gui
 
Windows shortcut by tanbircox
Windows shortcut by tanbircoxWindows shortcut by tanbircox
Windows shortcut by tanbircox
 
Visual basic concepts
Visual basic conceptsVisual basic concepts
Visual basic concepts
 
Windows note(43 69)
Windows note(43 69)Windows note(43 69)
Windows note(43 69)
 
VB Black Book for VBA In Excel
VB Black Book for VBA In ExcelVB Black Book for VBA In Excel
VB Black Book for VBA In Excel
 

Plus de patcha535

Chapter 14.2
Chapter 14.2Chapter 14.2
Chapter 14.2patcha535
 
Chapter 14.1
Chapter 14.1Chapter 14.1
Chapter 14.1patcha535
 
Chapter 13.2 (homework)
Chapter 13.2 (homework)Chapter 13.2 (homework)
Chapter 13.2 (homework)patcha535
 
Chapter 13.2
Chapter 13.2Chapter 13.2
Chapter 13.2patcha535
 
Chapter 13.1.11
Chapter 13.1.11Chapter 13.1.11
Chapter 13.1.11patcha535
 
Chapter 13.1.10
Chapter 13.1.10Chapter 13.1.10
Chapter 13.1.10patcha535
 
Chapter 13.1.9
Chapter 13.1.9Chapter 13.1.9
Chapter 13.1.9patcha535
 
Chapter 13.1.8
Chapter 13.1.8Chapter 13.1.8
Chapter 13.1.8patcha535
 
Chapter 13.1.7
Chapter 13.1.7Chapter 13.1.7
Chapter 13.1.7patcha535
 
Chapter 13.1.6
Chapter 13.1.6Chapter 13.1.6
Chapter 13.1.6patcha535
 
Chapter 13.1.5
Chapter 13.1.5Chapter 13.1.5
Chapter 13.1.5patcha535
 
Chapter 13.1.4
Chapter 13.1.4Chapter 13.1.4
Chapter 13.1.4patcha535
 
Chapter 13.1.3
Chapter 13.1.3Chapter 13.1.3
Chapter 13.1.3patcha535
 
Chapter 13.1.2
Chapter 13.1.2Chapter 13.1.2
Chapter 13.1.2patcha535
 
Chapter 13.1.1
Chapter 13.1.1Chapter 13.1.1
Chapter 13.1.1patcha535
 
Chapter 13.1
Chapter 13.1Chapter 13.1
Chapter 13.1patcha535
 
Chapter 12.3 (homework)
Chapter 12.3 (homework)Chapter 12.3 (homework)
Chapter 12.3 (homework)patcha535
 
Chapter 12.3
Chapter 12.3Chapter 12.3
Chapter 12.3patcha535
 
Chapter 12.2
Chapter 12.2Chapter 12.2
Chapter 12.2patcha535
 
Chapter 12.1.2
Chapter 12.1.2Chapter 12.1.2
Chapter 12.1.2patcha535
 

Plus de patcha535 (20)

Chapter 14.2
Chapter 14.2Chapter 14.2
Chapter 14.2
 
Chapter 14.1
Chapter 14.1Chapter 14.1
Chapter 14.1
 
Chapter 13.2 (homework)
Chapter 13.2 (homework)Chapter 13.2 (homework)
Chapter 13.2 (homework)
 
Chapter 13.2
Chapter 13.2Chapter 13.2
Chapter 13.2
 
Chapter 13.1.11
Chapter 13.1.11Chapter 13.1.11
Chapter 13.1.11
 
Chapter 13.1.10
Chapter 13.1.10Chapter 13.1.10
Chapter 13.1.10
 
Chapter 13.1.9
Chapter 13.1.9Chapter 13.1.9
Chapter 13.1.9
 
Chapter 13.1.8
Chapter 13.1.8Chapter 13.1.8
Chapter 13.1.8
 
Chapter 13.1.7
Chapter 13.1.7Chapter 13.1.7
Chapter 13.1.7
 
Chapter 13.1.6
Chapter 13.1.6Chapter 13.1.6
Chapter 13.1.6
 
Chapter 13.1.5
Chapter 13.1.5Chapter 13.1.5
Chapter 13.1.5
 
Chapter 13.1.4
Chapter 13.1.4Chapter 13.1.4
Chapter 13.1.4
 
Chapter 13.1.3
Chapter 13.1.3Chapter 13.1.3
Chapter 13.1.3
 
Chapter 13.1.2
Chapter 13.1.2Chapter 13.1.2
Chapter 13.1.2
 
Chapter 13.1.1
Chapter 13.1.1Chapter 13.1.1
Chapter 13.1.1
 
Chapter 13.1
Chapter 13.1Chapter 13.1
Chapter 13.1
 
Chapter 12.3 (homework)
Chapter 12.3 (homework)Chapter 12.3 (homework)
Chapter 12.3 (homework)
 
Chapter 12.3
Chapter 12.3Chapter 12.3
Chapter 12.3
 
Chapter 12.2
Chapter 12.2Chapter 12.2
Chapter 12.2
 
Chapter 12.1.2
Chapter 12.1.2Chapter 12.1.2
Chapter 12.1.2
 

Dernier

What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 

Dernier (20)

What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 

Chapter 10.1.1

  • 1. Visual FoxPro - An Introduction:: 33 4 VISUAL FOXPRO - AN INTRODUCTION 4.1 INTRODUCTION Visual FoxPro is a Relational Database Management System (RDBMS), which allows you to work with several logically related tables of data simultaneously. A Table in a database contains a number of Rows and Columns. One row in the table is equivalent to one record and one column is equivalent to one field. 4.2 OBJECTIVES After going through this lesson, you would be able to start Visual Foxpro menus use shortcut keys use Visual Foxpro menus. explain the concept of DBMS 4.3 CONCEPT OF DATABASE MANAGEMENT SYSTEM (DBMS) Before you understand the concept of Database Management System. (DBMS), it is necessary that you understand few basic terms related to DBMS. Let us begin with data. Anything can be data, e.g., a number, name of a person or place, address, etc. When a data is meaningful, it is called Information and a Database is an organized collection of related information. You can use database for
  • 2. 34 :: Computer Applications – retrieving desired information – taking meaningful decision – reorganizing information – processing information Database Management System (DBMS) is a generalized software package used to build and manage the database, i.e., add, modify (edit), update, delete and sort (arrange in a particular order) information in the database. DBMS also helps to retrieve the desired information in the required format from the database. Visual FoxPro is a leading database Management System. It is a member of Microsoft Visual Studio. Visual FoxPro is one of the Relational Database Management System (RDBMS). It is windows based Graphical User Interface (GUI) RDBMS. The database is a broader concept in Visual FoxPro in which the information is stored in related tables. The table is equivalent to database of the earlier version of FoxPro. A database is a collection of various records comprising rows and columns. One row is one record and one column is one field. A record is collection of logically related fields and a field is one column information. In Visual FoxPro, there can be more than one table storing different stream of information. A table in a database contains a number of Rows and Columns. One row in the table is equivalent to one record and one column is equivalent to one field. 4.4 STARTING VISUAL FOXPRO The minimum hardware/software configuration of the machine required for installing Visual FoxPro is that you should have a Pentium Series of Computer with 32 MB RAM and 10GB of Hard Disk Drive with Windows 95 or higher operating system. Here we have discussed 6.0 version of Visual Foxpro In order to start with Visual FoxPro, you must ensure that Visual FoxPro system is already installed on your computer. To invoke Visual FoxPro, Double click the My Computer Icon on the Desktop Window. Then double click C: drive. Now, click on Program Folder and then Microsoft Visual Studio. Now double click the Microsoft Visual FoxPro icon as shown in Fig. 4.1
  • 3. Visual FoxPro - An Introduction:: 35 Fig. 4.1: Visual FoxPro icon within Program Folder of Windows You can also make a shortcut of Visual FoxPro icon on your desktop for directly loading the system as shown in Fig. 4.2. Fig. 4.2: Highlighted Visual FoxPro icon on the Desktop
  • 4. 36 :: Computer Applications In this case double click the Visual FoxPro icon from the desktop itself and then Visual FoxPro window will appear on your screen as shown in Fig. 4.3 Fig. 4.3 : Visual FoxPro with Command Window Alternatively, you can invoke Visual FoxPro by clicking mouse on Start menu then click on Programs. Place the mouse on Microsoft Visual Studio 6.0. You will see a number of options. Place mouse on Microsoft Visual FoxPro 6.0 option as shown in Fig. 4.4 and click the left mouse button on it. Fig. 4.4: Visual FoxPro through Start Menu
  • 5. Visual FoxPro - An Introduction:: 37 The Visual FoxPro window will appear on your screen as shown in the above fig. 4.3. 4.5 USING THE VISUAL FOXPRO MENUS The Visual FoxPro Menu system can be classified into the following components as: Menu Bar Menu Pad (Item) Menus (Pull Down Menu) Menu Options Toolbar Menu Bar Menu Pad Selected Option Title Bar Control Menu Box Standard Toolbar Disabled Menu Option Opens a Dialog Box Command Window Pull down Menu (Menu Popup) Fig. 4.5: Visual FoxPro Menu Systems
  • 6. 38 :: Computer Applications 4.5.1 Menu Bar A Menu Bar is located at the top of the screen and displays all the available titles for menu as shown in the figure 1.5. The content of the menu bar changes when you move from one title to another title of the menu bar. 4.5.2 Menu Pads (Items) The titles displayed on the menu bar are called Menu Pads (Items). You can use either the mouse or the keyboard to display the menu associated with each menu pad. Using the mouse, click on the title of the menu you wish to use. To access the menu bar from keyboard, press <ALT> or <F10> key and then type the underlined letter for the menu you wish to use. For example <ALT>+F for invoking File Menu. You can also use the Left and Right arrow keys to move from one menu pad to another menu pad, and press <RETURN> key. You will also find that some of the menu pads appear dimmed and cannot be highlighted or selected. These menu pads are disabled. You cannot display the menu if the menu pad is disabled. 4.5.3 Menus When you choose a menu pad from the menu bar by clicking the menu pad, Visual FoxPro displays a pull-down menu. A Menu is a list of related options displayed in the pull-down menu. When you choose an option from a menu, Visual FoxPro executes it. Choosing an option means activating a highlighted option by clicking with mouse or pressing the <Spacebar> key or <Return> key. 4.5.4 Menu Options When you choose a menu pad from the menu bar, Visual FoxPro displays a pull-down menu. A pull-down menu contains options as shown in the fig. 4.3. The options on each menu are logically related to menu pad. To choose a desired menu option you want, use one of the following methods: Move to the menu pad and click. The pull-down menu appears. Click on the desired option you want. Press <Alt> key or <F10> key and then press the underlined letter (hot key) in the menu pad name. Type the underlined key for the menu option you want.
  • 7. Visual FoxPro - An Introduction:: 39 Use the Left and Right Arrow keys to the menu pad you want to use and then press <Return> key. Use the Up and Down arrow keys to select the desired option and then press the <Return> key or <Spacebar> key. You will find that some of the menu options have an ellipsis (…) after the option. This indicates that the option will further open a dialog box. A dialog box appears to request the additional information. 4.5.5 Toolbar The Toolbar appears below the menu bar and displays the icons as shown in Fig. 4.5. To access the toolbar using the mouse, click on the icon you want to use. INTEXT QUESTIONS 1. What is the difference between data and information? 2. Give the full form of RDBMS. 3. Choose the Correct Answer: (a) A database is a collection of (i) Fields (ii) Table (iii) Records (iv) Column (b) In Visual FoxPro, a Table is equivalent to (i) Row (ii) Column (iii) Field (iv) Database 4.6 VISUAL FOXPRO TEXT EDITOR Modify Command is the standard Text Editor of the Visual FoxPro. In short it is also called modi comm. It allows you to create and modify text. Using this text editor you can code or modify a Visual FoxPro program. The following keys can be used for selecting and editing text. Key(s) Action Cursor Movement Right Arrow To move the cursor one character to the right. Left Arrow To move the cursor one character to the left.
  • 8. 40 :: Computer Applications Up Arrow To move the cursor up one line. Down Arrow To move the cursor down one line. Home To move the cursor to the beginning of the current line. End To move the cursor to the end of the current line. Page up To move the cursor up the height of the current line. Page down To move the cursor down the height of the current line. Ctrl+Home To move the cursor to the beginning of the current text. Ctrl+End To move the cursor to the end of the current text. Ctrl+Right Arrow To move the cursor one word to the right. Ctrl+Left Arrow To move the cursor one word to the left. Selecting Text Shift+Right Arrow To select one character to the right of the cursor. Shift+Left Arrow To select one character to the left of the cursor. Shift+Up Arrow To select one line up to the cursor. Shift+Down Arrow To select one line down to the cursor. Ctrl+A To select all text. Deleting Text Backspace To delete the selected text or the character to the left of the cursor if no text is selected. Del To delete the selected text or the character to the right of the cursor if no text is selected.
  • 9. Visual FoxPro - An Introduction:: 41 Inserting Text Ins To switch between insert and overwrite mode. 4.7 SHORTCUT KEYS FOR MENU OPTIONS Visual FoxPro provides various shortcut Keys to choose the menu options. Some of them are listed below. Key(s) Action Ctrl+A To select all the current objects. Ctrl+C To copy the current selection to the clipboard. Ctrl+D To start a Visual FoxPro Program Ctrl+G To move the cursor to the designated line in a text or in the command window. Ctrl+M To resume a program. Ctrl+P To Print. Ctrl+R To redo. Ctrl+S To save the file. Ctrl+V To paste the content of the clipboard at the current cursor position. Ctrl+W To leave the current operation and to save any modification. Ctrl+X To cut the selected object from its current location and to place it on the clipboard. Ctrl+Y To append new record. Ctrl+Z To undo. Ctrl+F1 To activate the next window open within Visual FoxPro. Ctrl+F2 To display the command window. Ctrl+F4 To close the current window. Ctrl+F5 To restore the current window to its original size. Ctrl+F7 To move the current window with the arrow key.
  • 10. 42 :: Computer Applications Ctrl+F8 To increase/decrease the size of the current window. Ctrl+F9 To minimize the current window to an icon. Ctrl+F10 To maximize the current window. Esc To exit current editing without saving the modification. F1 To activate on-line help. F2 To open the view window. F3 To list the content of the current table. F4 To list the files in the current directory. F5 To display the structure of the current table. F6 To display the status. F7 To display the current memory variables. F8 To display the field names and the current record of the current table. F9 To open the Browse window in append mode. 4.8 EXITING VISUAL FOXPRO You can exit Visual FoxPro by using any one of the following methods: Type quit in the command window and press <Return> key. Open the File menu and choose the Exit option. Click mouse on the Control Menu Box from the Title bar of the main Visual FoxPro window as shown in the figure 4.3. Press <Alt+F4> key. 4.9 WHAT YOU HAVE LEARNT In this lesson you have learned about the concept of database and how to invoke Visual FoxPro, Visual FoxPro menus, shortcut keys for menu options and how to exit Visual FoxPro. In the next lesson you will learn about the complete Visual FoxPro Menu System and Toolbars.
  • 11. Visual FoxPro - An Introduction:: 43 4.10 TERMINAL QUESTIONS 1. Discuss the concept of DBMS. 2. What are the various ways of starting Visual FoxPro? 3. Define the various Menu Pads available on the Menu Bar of Visual FoxPro. 4. Name the Text Editor of Visual FoxPro. 5. What is the shortcut for displaying the structure of the current table? 4.11 KEY TO INTEXT QUESTIONS 1 Data: Anything can be data, e.g. a number, name of a person or place, address, Information: When a data is meaningful, it is called information. 2 Relational Database Management Systems 3 (a) (iii) (b) (iv)