473,804 Members | 3,462 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 5278
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.GoToRecor d 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.

xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx xxxxx

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

DoCmd.GoToReco rd 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
5974
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 a group of Sales people, the customers they deal with and the business they transact with them. I've got my head around all the tables & some of the basic Query structures OK and am beginning to delve into creating the forms I need to be able...
6
6725
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 : .... Var RecordNb : integer ; .... {Command : function of Access}
22
2366
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 upgrading simple for users. We've done it like that for years but a new client has been having severe performance issues... solved by converting the backend to 2000. -- regards, Bradley
3
2174
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 anyway.... I'm trying to create is building by building (a table for each pair of buildings), so the format is something like this: Building AptNo AptType Tenant Annual Income Rent
8
1923
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 returned. Any way to take a peek first? DoCmd.GoToRecord acActiveDataForm, "frmEnterLienAmounts", acNext
10
2221
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 unfriendly behavior. I want (need) to find out what the pro's (like you guys) are doing to circumvent some of the difficulties encountered when rolling out A97 runtime apps into environments that either have or may have in the future MS Access 97...
3
4897
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 then finds the record the user wants then does a GoToRecord on the basic form. However... When I try to put this to work in the real world the form with the record context to GoToRecord is a subform and it only partially works.
2
3453
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 solutions. My problem now has been addressed in other posts, but none of the solutions given are working for me. The database will be used for tracking changes that I make to a customer's pricing, with forms based on queries that will allow me...
5
1936
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 executed: DoCmd.SetWarnings False Then you would not be able to take peek at the setting when processing returned to the calling
0
9708
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9588
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10589
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7625
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5527
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4302
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3828
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2999
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.