473,503 Members | 544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A97: Why is there no example for GoToRecord Action HELP section in Access 97?

MLH
Access 97 has left examples out of much of HELP
that was included in Access 2.0. Anybody know
why? Or better still, where to find examples.

For example, Access 97 has no example code in
its help section on the GoToRecord Action. Ver
2.0 had all this...
GoToRecord ActionAccess Basic
Syntax

DoCmd GoToRecord [objecttype, objectname] [, record] [, offset]

Argument Description

objecttype One of the following intrinsic constants:
A_TABLE
A_QUERY
A_FORM
objectname A string expression that is the valid name of an
object of the type selected with the objecttype argument.

record One of the following intrinsic constants:

A_PREVIOUS
A_NEXT
A_FIRST
A_LAST
A_GOTO
A_NEWREC
If you leave this argument blank, the default (A_NEXT) is
assumed.
offset A numeric expression that represents the number of records to
move forward or backward if you specify A_NEXT or A_PREVIOUS for the
record argument, or the record to move to if
you specify A_GOTO for the record argument. The expression must
result in a valid record number.

Remarks

If you leave the objecttype and objectname arguments blank, the active
object is assumed.
You can leave an optional argument blank in the middle of the syntax,
but you must include the argument's comma. If you leave one or more
trailing arguments blank, don't use a comma following the
last argument you specify.

Example

This example uses the GoToRecord action to make the seventh record in
the form My Form current.

DoCmd GoToRecord A_FORM, "My Form", A_GOTO, 7
Nov 13 '05 #1
4 5244
MLH wrote:
Access 97 has left examples out of much of HELP
that was included in Access 2.0. Anybody know
why? Or better still, where to find examples.

For example, Access 97 has no example code in
its help section on the GoToRecord Action. Ver
2.0 had all this...
[snip]

Example

This example uses the GoToRecord action to make the seventh record in
the form My Form current.

DoCmd GoToRecord A_FORM, "My Form", A_GOTO, 7


In Access 97 help it says:
<--------
The following example uses the GoToRecord method to make the seventh
record in the form Employees current:

DoCmd.GoToRecord acDataForm, "Employees", acGoTo, 7
--------->

(did you not see the [example] hyperlink in the help page?)

--
[OO=00=OO]
Nov 13 '05 #2
MLH
I saw it in HELP for the gotorecord method, but not the gotorecord
action. Actually, I like the gotorecord method better anyway. I only
asked about this because I have found HELP in Access 97 a bit
confusing. Being new to it, that's understandable. I find it harder
to copy & paste the examples now.

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

In Access 97 help it says:
<--------
The following example uses the GoToRecord method to make the seventh
record in the form Employees current:

DoCmd.GoToRecord acDataForm, "Employees", acGoTo, 7
--------->

(did you not see the [example] hyperlink in the help page?)


Nov 13 '05 #3
Be happy with Help in Access 97.
You'll want to save those help files if you ever upgrade, by the way.
Access Help only becomes worse as the versions increase!

Nov 13 '05 #4
MLH
That does not worry me. I'm too old to ever get
past A97.
Be happy with Help in Access 97.
You'll want to save those help files if you ever upgrade, by the way.
Access Help only becomes worse as the versions increase!


Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
5952
by: Iain Miller | last post by:
Now this shouldn't be hard but I've been struggling on the best way as to how to do this one for a day or 3 so I thought I'd ask the assembled company..... I'm writing an application that tracks...
6
6699
by: Clément Collin | last post by:
I working on a GIS project, with Access link which just need a little routine in VBA, but I haven't knowledges in VBA language. It's very simple, and it looks like that in a TPascal way : .......
22
2300
by: Bradley | last post by:
Has anyone else noticed this problem? I converted the back-end to A2000 and the performance problem was fixed. We supply a 97 and 2000 version of our software so we kept the backend in A97 to make...
3
2153
by: Pieter Linden | last post by:
I have a database of rental units etc that I'm using the CreateTableFromRecordset code from ADH 2000. Well, at the moment, I'm doing a sanity check and testing it on my computer, with A2002, but...
8
1911
by: MLH | last post by:
Before running the following line of code, I would like to first know if there is another record in the form's record source. If I run this line when the last record is current, an error is...
10
2196
by: MLH | last post by:
I am concerned. I have recently moved to A97 from Access 2.0 where I rolled out runtime apps with the ADT. Now, the Office Pro Developer's Edition with Access 97 is what I'm using. I find some...
3
4877
martintallett
by: martintallett | last post by:
Help! I am trying to replace the Access Find button functionality on an old database. I can make it work when I use a basic form with bound fields and a button which shows a popup form which...
2
3405
by: aaronyoung | last post by:
I have been using this forum to answer many questions regarding an Access database I am building (my first attempt at something like this - teaching myself as I go), and I've always been able to find...
5
1916
by: MLH | last post by:
Access 97 does not provide a means of reading the most recent setting for SetWarnings Method. For example, if you had CBF that called a procedure in a global module and the following statement was...
0
7203
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7087
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7281
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7334
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7462
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4675
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.