I want to be able to go to a specific record on my form when I open
it. The record I want to go to will be dynamic based on the value
currently stored in a global variable. The global contains the
primary key (long int - BlahBlahID) and there is a field on the form
(tbBlahBlahID) that contains the value for this field. I am having a
major case of DFUism here because this looks to be a simple request,
but my aged brain is stumbling on it. Please point me in teh correct
direction.
Thanks... 3 10657
On Mon, 15 Oct 2007 12:53:20 -0700, DavidB wrote:
I want to be able to go to a specific record on my form when I open
it. The record I want to go to will be dynamic based on the value
currently stored in a global variable. The global contains the
primary key (long int - BlahBlahID) and there is a field on the form
(tbBlahBlahID) that contains the value for this field. I am having a
major case of DFUism here because this looks to be a simple request,
but my aged brain is stumbling on it. Please point me in teh correct
direction.
Thanks...
DoCmd.OpenForm "FormName", , , "[BlahBlahID] = " & YourVariableName
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
On Oct 15, 4:37 pm, fredg <fgutk...@example.invalidwrote:
On Mon, 15 Oct 2007 12:53:20 -0700, DavidB wrote:
I want to be able to go to a specific record on my form when I open
it. The record I want to go to will be dynamic based on the value
currently stored in a global variable. The global contains the
primary key (long int - BlahBlahID) and there is a field on the form
(tbBlahBlahID) that contains the value for this field. I am having a
major case of DFUism here because this looks to be a simple request,
but my aged brain is stumbling on it. Please point me in teh correct
direction.
Thanks...
DoCmd.OpenForm "FormName", , , "[BlahBlahID] = " & YourVariableName
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Wont that opne the form with JUST that record (ie I wont be able to
scroll through to other records in the control source)? Assume I have
50 BlahBlah records, I want to open the form with all 50 records
availabel just with the BlahBladID passed as the current record.
On Oct 15, 4:42 pm, DavidB <je...@yahoo.comwrote:
On Oct 15, 4:37 pm, fredg <fgutk...@example.invalidwrote:
On Mon, 15 Oct 2007 12:53:20 -0700, DavidB wrote:
I want to be able to go to a specific record on my form when I open
it. The record I want to go to will be dynamic based on the value
currently stored in a global variable. The global contains the
primary key (long int - BlahBlahID) and there is a field on the form
(tbBlahBlahID) that contains the value for this field. I am having a
major case of DFUism here because this looks to be a simple request,
but my aged brain is stumbling on it. Please point me in teh correct
direction.
Thanks...
DoCmd.OpenForm "FormName", , , "[BlahBlahID] = " & YourVariableName
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Wont that opne the form with JUST that record (ie I wont be able to
scroll through to other records in the control source)? Assume I have
50 BlahBlah records, I want to open the form with all 50 records
availabel just with the BlahBladID passed as the current record.- Hide quoted text -
- Show quoted text -
Thanks guys. I got it figured out... This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: hriceb |
last post by:
I know about the SendObject command but I think my question is a bit
different.
I have TableA that includes FName, LName, etc... and EMail.
Generally, data is entered / changed via FormA
I...
|
by: BLUE WATER |
last post by:
Help,
When I am finished entering in data into my form A, I press the save button
that
saves this new data to a new record. However I would like my other form to
open at a specific record, the...
|
by: Ian |
last post by:
I want to open a form at a particular record, but I think I'm running
into problems because the recordsource query is executing
asynchronously.
In the form's open event I use...
|
by: XxLicherxX |
last post by:
Hi,
Can someone tell me how I can open a form to a specific record from a
button on another form.
Here is what I want to have happen. I have one form called Computers
and another form called...
|
by: nkoske |
last post by:
I have a form with a subform in datasheet view and I have a event on
one of the fields in the subform, so that the user can double click it
and go to expanded information based on that field.
...
| |
by: Jpipher |
last post by:
Let me explain what I am trying to accomplish...
Two forms -- we'll call them "Main" and "Related"
A command button on "Main" runs a union query.
The union query results are shown in "Related"...
|
by: sara |
last post by:
Hi -
I have been struggling with solution ideas for this now for almost 2
weeks, and have not been able to figure this out.
I have a user who creates a Purchase Order (tblPOData). In some...
|
by: mckbill |
last post by:
Is there a way I can direct the cursor to a specific field (variable)
in a form by typing the field name while in form view?
I have a form with many fields, and it would be nice if there were...
|
by: cvillav |
last post by:
Hello, I am new to Access and this forums,
I have two tables and two forms to display the data.
Tables
Tbuilding
Tcriteria
Forms
fmbuilding
|
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,...
|
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...
| |
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,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
|
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,...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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 ...
| |
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...
| |