🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ab.software.developers
Article #1100

Re: Can Anyone Help? MS Access '97

#1100
From: Asif A. Kazi
Date: Fri, 20 Nov 1998 00:00
29 lines
1566 bytes
Use function LEFT() which:

Extract part of existing text values using a calculated field

1 In query Design view, create a query. Add the tables whose records you
want to use.
2 To find values in part of a field, use the Left, Right, or Mid function in
an expression in an empty cell in the Field row in the query design grid.

The syntax for these functions is:

Left(stringexpr,n)
Right(stringexpr,n)
Mid(stringexpr,start,n)

The stringexpr argument can be either a field name (enclosed in brackets) or
a text expression; n is the number of characters you want to extract; start
is the position of the first character you want to extract.

The following table shows examples of these functions.

If the value in
Part ID is                 This expression           Returns
BA-7893-R12         Left([PartID],2)             BA
BA-7893-R12         Right([PartID],3)           R12
BA-7893-R12         Mid([PartID],4,4)         7893

reards
asif
Technical Details
Message-ID: <36548de2.0@news3.ibm.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3638fba6.0@news.albatross.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f2ee,1dad23c459da5f08
X-Google-Attributes: gid10f2ee,public
From: "Asif A. Kazi" <asif@szabist.edu.pk>
Subject: Re: Can Anyone Help? MS Access '97
Date: 1998/11/20
Message-ID: <36548de2.0@news3.ibm.net>
X-Deja-AN: 413637471
References: <3638fba6.0@news.albatross.co.uk>
X-Notice: should be reported to postmaster@ibm.net
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Complaints-To: postmaster@ibm.net
X-Trace: 19 Nov 1998 21:30:10 GMT, 139.92.118.153
Organization: IBM.NET
Newsgroups: ab.software.developers