Thursday, April 26, 2007

Fikafika fampiasana Microsoft Access Query

Hoan'zay mankafy MS ACCESS. Ity dia fanazavana ambangovangony sy andalina ny fampiasana query @ Access. Koa dia mankafiza daholo

.....

Using Parameters

Often it is not possible to know in advance the criteria for a query field. In such cases, where the filter values are not known until runtime, a variable (parameter) can be used. When these queries are run, the user is prompted for the value of each parameter. (The parameters can also be assigned programmatically). Using parameters in queries is extremely powerful and converts static "hard-coded" queries to flexible, dynamic ones. The use of parameters can significantly reduce the number of queries you need, makes queries more useful, and simplifies database maintenance.

Parameters can be added very easily. Rather than entering the value of a criteria, enter between brackets the prompt you want the user to see when the query is run. The value the user enters replaces the parameter in the query. In the following example, a parameter [Enter State Name:] is the criteria in the [State] field, and [Enter Minimum Age:] is the parameter in the [Age] field. When this query is run, the user is prompted for the state desired and minimum age, and the records matching that value are retrieved.

Select Query:  Parameter Example

Parameters work provided the parameter definition does not conflict with the field name among the query's tables.

To better define a parameter, you should define it in the list of parameters. This is an optional step, but there are good reasons to do so, right mouse click on the top part of the query and choose Parameters. This form appears to let you list each parameter name and its type:

Parameter list

By explicitly defining parameters, users are forced to enter values conforming to the type. While it may not matter for text fields, it is useful for numeric and date fields. This will minimize data entry errors that cause a "Can't evaluate expression" error message to appear.

Using Access Functions

One of the most powerful features of Microsoft Access queries is their support for Access functions. This is most useful in Update queries, but can also be used in Select queries. The Advanced: Access Functions query is an example of this feature:

Select Query: Advanced: Access Functions

This query selects the Country names in descending order of name length. The second field renames itself to [Length], uses the LEN function to calculate the length of each country name, sorts the length in descending order, and excludes any records with 10 letters or fewer.

While this may not seem particularly useful, there are many situations where using Access functions is extremely useful and eliminates the need to program. The string functions in particular (Left$, Right$, Trim$, Mid$, UCase$, LCase$ etc.) are useful for manipulating portions of strings and changing case.

Using Custom Functions

In addition to using Microsoft Access functions, queries also support user defined functions. Functions defined in Access Basic/VBA modules must return an appropriate value and can be used to manipulate each record. You can reference field values by passing the field name in brackets.

Here is an example where a function (StripLead) is used to remove the leading word of a phrase if it starts with "The", "An", or "A". This is useful for sorting phrases such as book titles on "real" words:

Select Query:  Advanced: Function StripLead

Ato ny tohiny

Link to FMS Technical Papers - Microsoft Access Query Tips and Techniques

Monday, April 23, 2007

ADO .NET


       VB .NET         

.NET Defined
OOP with VB
VB Language
Win Forms
Windows Controls
ADO .NET
  -Using Server Explorer
  -Using DataReader
  -Using Sql Provider
  -Using OleDb Provider
  -Using MSAccess
  -Data Adapter     Configuration Wizard
  -Simple Binding
  -Data Form Wizard
  -Creating DataTables
  -SQL Parameters
User Controls
File Handling
Multithreading
Deployment
XML Web Services Essential XML
Resources
Discussions
ASP.NET
About

Advertisement

Home> ADO .NET 

ADO .NET

Most applications need data access at one point of time making it a crucial component when working with applications. Data access is making the application interact with a database, where all the data is stored. Different applications have different requirements for database access. VB .NET uses ADO .NET (Active X Data Object) as it's data access and manipulation protocol which also enables us to work with data on the Internet. Let's take a look why ADO .NET came into picture replacing ADO.

Evolution of ADO.NET

The first data access model, DAO (data access model) was created for local databases with the built-in Jet engine which had performance and functionality issues. Next came RDO (Remote Data Object) and ADO (Active Data Object) which were designed for Client Server architectures but soon ADO took over RDO. ADO was a good architecture but as the language changes so is the technology. With ADO, all the data is contained in a recordset object which had problems when implemented on the network and penetrating firewalls. ADO was a connected data access, which means that when a connection to the database is established the connection remains open until the application is closed. Leaving the connection open for the lifetime of the application raises concerns about database security and network traffic. Also, as databases are becoming increasingly important and as they are serving more people, a connected data access model makes us think about its productivity. For example, an application with connected data access may do well when connected to two clients, the same may do poorly when connected to 10 and might be unusable when connected to 100 or more. Also, open database connections use system resources to a maximum extent making the system performance less effective.

Why ADO.NET?

To cope up with some of the problems mentioned above, ADO .NET came into existence. ADO .NET addresses the above mentioned problems by maintaining a disconnected database access model which means, when an application interacts with the database, the connection is opened to serve the request of the application and is closed as soon as the request is completed. Likewise, if a database is Updated, the connection is opened long enough to complete the Update operation and is closed. By keeping connections open for only a minimum period of time, ADO .NET conserves system resources and provides maximum security for databases and also has less impact on system performance. Also, ADO .NET when interacting with  the database uses XML and converts all the data into XML format for database related operations making them more efficient.

read it here

VB NET TRAINING - free

VB.NET 2005 Free Training

VB.NET 2005 Training : The .NET Framework Architecture Part 1

VB.NET 2005 Training : The .NET Framework Architecture Part 2

VB.NET 2005 Free Training: Differences between VB.NET 1.0 and VB.NET 2.0

VB.NET 2005 Free Training : Introducing Windows Forms

VB.NET 2005 Free Training: Implementing Class Library Object in VB.NET 2005

VB.NET 2005 Free Training: Introduction and Implementing Inheritance in VB.NET 2005

VB.NET 2005 Free Training: Visual Studio.NET Namespaces

VB.NET 2005 Free Training: Designing a Form using Windows Forms Designer Window

Exploring the Forms Designer generated code

VB.NET 2005 Free Training: Using Application Class and Message Class

VB.NET 2005 Free Training: Setting and Adding Properties to a Windows Form

VB.NET 2005 Free Training : Event Handling In Visual Basic .NET 2005

VB.NET 2005 Free Training: Building graphical interface elements

VB.NET 2005 Tutorials: Adding Controls

VB.NET 2005 Tutorials: Common Controls and Handling Control Events

VB.NET 2005 Tutorials: Dialog Boxes in Visual Basic .NET 2005

VB.NET 2005 Tutorials : Common Windows Forms Controls Section 1

VB.NET 2005 Tutorials: DomainUpDown and NumericUpDown

VB.NET 2005 Tutorials: Common Windows Form Controls Section:2

VB.NET 2005 Tutorials: Creating Menu and Menu Items

VB.NET 2005 Tutorials: Creating Multiple-Document Interface (MDI) Applications

VB.NET 2005 Tutorials: Validation

VB.NET 2005 Tutorials: Exceptions

VB.NET 2005 Tutorials: Creating and Managing Components Section 2

VB.NET 2005 Tutorials: Creating and Managing Components Section 1

VB.NET 2005 Tutorials: Creating and Managing .NET Assemblies

VB.NET 2005 Tutorials: Simple Data Binding

VB.NET 2005 Tutorials: Complex Data Binding

VB.NET 2005 Tutorials: Using the Data Form Wizard

VB.NET 2005 Tutorials: Access and Manipulate SQL Server data - Using Ad Hoc Queries

VB.NET 2005 Tutorials: Access and Manipulate Data - Working with Disk Files

VB.NET 2005 Tutorials: Access and Manipulate SQL Server data - Using Stored Procedures

VB.NET 2005 Tutorials: Access and Manipulate Data - The ADO .NET Object Model

VB.NET 2005 Tutorials: Access and Manipulate Data - Using DataSets

VB.NET 2005 Tutorials: Using XML Data

VB.NET 2005 Tutorials: Finding and Sorting Data in DataSets

VB.NET 2005 Tutorials: Editing Data With ADO .NET

VB.NET 2005 Tutorials: Web Services - SOAP, WSDL, Disco and UDDI

VB.NET 2005 Tutorials: Instantiating - Invoking Web Services, Creating Proxy Classes with WSDL

VB.NET 2005 Tutorials: Creating Web Service Project

VB.NET 2005 Tutorials : Web Reference, ASP.NET Web Application and XML Web Service

Web Application Testing in VB.NET 2005

VB.NET 2005 Tutorials : Tracing and Debugging a Web Application

Windows Application Testing - VB.NET 2005

Working with Legacy Code using ActiveX Controls : VB.NET 2005

Working with Legacy Code and COM Components - VB.NET 2005

Debugging Windows Applications In Visual Studio.NET 2005

Deploying Windows Applications In Visual Studio.NET 2005

Customizing Setup Project in Visual Studio.NET 2005

<< Start < Prev 1 2 Next > End >>

Visual Basic .NET Programming for Beginners

Visual Basic .NET Programming for Beginners

Computer Tutorials List

Beginners Computing
Microsoft Word
Microsoft Excel
Web Design
Cascading Style Sheets
Javascript
Visual Basic .NET
Beginners PHP

VB.NET Quick Links

1. Your First Code

2. Conditional Logic

3. VB .NET and Loops

4. Adding Menus to a Form

5. Debugging your Code

6. VB .NET and Arrays

7. String Manipulation

8. Working with Text Files

9. Functions and Subs

10. Events in VB .NET

11. VB NET Classes and Object

12. VB .NET and Forms

13. VB .NET and Databases

1. Getting started with VB.NET

2. Visual Basic .NET Forms

3. Adding Controls using the Toolbox

4. Adding a Textbox to the Form

5. Visual Basic .NET and Properties

6. The Text Property

7. Adding a splash of colour

8. Saving your work

9. Renaming a VB.NET form

> VB .NET Two- Write your first .NET code

1. What is a Variable?

2. Add a coding button to the Form

3. Writing your first .NET code

4. String Variables

5. How to get at Text in a textbox

6. More about VB .NET variables

7. Using variables in your .NET code

8. A VB NET Calculator Project

9. The code for the calculator

10. The Message Box in VB .NET

> VB .NET Three - Conditional Logic

1. If Statements

2. Select Case Statements

3. Add a Combo Box to a VB .NET form

4. The Conditional Operators

5. Section Three Exercises

> VB .NET Four- Loops

1. An Introduction to Loops in VB .NET

2. For Loops

3. Do Loops

4. A Times Table Programme

5. The Code for the Time Table Programme

6. The Basic Math Symbols in VB .NET

> VB .NET Five - Adding menus to Forms

1. Add a menu to a VB .NET Form

2. How to add code to a Menu

3. How to add a Sub Menu to your Form

4. How to add Shortcuts to your Menu Items

5. A VB .NET menu Project

6. The Open File Dialogue Box

7. Filter files with the Open File Dialogue Box

8. The Open File Dialogue Box

9. The Save File Dialogue Box

10. Cut, Copy, Paste and Undo menus

11. How to Show and Hide Controls

12. Insert Images into a Picture Box

13. Add a Checkbox to a VB .NET form

14. Writing code for Checkboxes

15. Add Option Buttons to a VB .NET form

> VB .NET Six - Debugging your code

1. Error Handling and Debugging in VB .NET

2. Design Time Errors

3. RunTime Errors

4. Try ... Catch in VB .NET

5. Logic Errors

6.Breakpoints and Debugging tools

> VB .NET Seven - Mastering Arrays

1. What is an Array?

2. Arrays and the Index Number

3. Assigning Values to an Array

4. Arrays where boundaries are not known

> VB .NET Eight - String Manipulation

1. The String Variable Type

2. How to use the Trim Method

3. The difference between Char and Chars()

4. How to use the InStr Method

5. How to use the Substring Method

6. Equals, Replace and Insert Methods

7. How to use Split and Join in VB .NET

> VB .NET Nine - Working with Text Files

1. What is a Text File?

2. How to Open a Text File in VB .NET

3. How to Read a Text File Line by Line

4. How to Write to a Text File in VB .NET

5. Appending Text to a File in VB .NET

6. How to Copy a File

7. How to Move a File

8. How to Delete a File

> VB .NET Ten - Functions and Subs

1. An Introduction to Functions and Subs

2. How to Create your own Subs in VB .NET

3. Using Parameters in your Subs

4. ByVal and ByRef in VB .NET

5. How to Create a Function in VB.NET

6. How to use Parameters with Functions

7. Standard Modules - Part One

8. Standard Modules - Part Two

> VB .NET Eleven - Events

1. The Click Event

2. The MouseDown Event

3. The KeyDown Event

4. The Form Load Event

> VB .NET Tweleve - Classes and Objects

1. An Introduction to Classes and Objects

2. Create your own Classes in VB .NET

3. How to Create Methods in your Classes

4. More about Creating Methods

5. Create Properties in your Classes

3. How to Use your New Property

> VB .NET Thirteen - VB .NET and Databases

1. The Database Wizard (VB 2005 Express users)

2. The Database Wizard (Visual Studio users)

3. Write your own VB .NET database code

4. Learn about DataSets and Data Adaptors

5. Display the Data in the DataSet

6. Navigate a Database with VB .NET

7. How to Move through the Database

8. Add, Update and Delete Records

9. Add a New Record using VB .NET

10. Delete a Record using VB .NET

11. A VB .NET Database Project

> VB .NET Fourteen - VB NET and Forms

1. Anchor and Dock Controls on a Form

2. Add a Toolbar to a Form (Visual Studio)

3. Adding a Quick Toolbar (VB Express)

3. Add an Advanced Toolbar (VB Express)

4. Creating Multiple Forms in VB .NET

5. Modal and Non Modal Forms

6. Getting at Values on Other Forms

Wednesday, April 04, 2007

He zany feo

Tsy aritro ny tsi hizara aminareo an'ity horonantsary mampiseho ny hamangan'feon'ty ranamana. Raha vao mitopy maso azy hoatran'tsy hanao zavatra reny. Fa zany feo e.

Ho an'zay tsy mahafantatra moa de jazzist fantadaza ny lehilahy, ary dia tompotrano mihitsy @ jazz ao new orlean. Ny feony moa no tena mampalaza azy, fa tsy adino ihany koa fa izy mirahalahy avy no nitondra lavitra ny resaka mozika tao @ fianakaviany. Mitovitovy @ famille Jackson ihany e..

Manantena gasy ho toitoy izao ato ho ato, fa efa miroborobo tsy zay izy ny pazzapa...asa re na hitondra vokatsoa re izy ity e.

De mazotoa avy e

Source: YouTube - The Neville Brothers "Amazing Grace

Tuesday, April 03, 2007

ChartLet :: Modules pour Firefox

Hafa koa ty.

Ahafahanao manao suivin'ny antontanisa @ internet.

Somary sarotrarotra ny manazava azy, fa raha bangoina de hoe. Raha misy isa na value tianao arahana dia mampiasa ity extension kely ty manaraka azy. Ndeha jereo ny capture d'ecrans angambaa mahalaza bebe kokoa noho ny fanazavako.

Sample chart

 

Chartlets list                              Chartlet editing

Chart display customization
Eto raha hi installe azy