A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

opening a bound form on specific entry



 
 
Thread Tools Display Modes
  #1  
Old October 12th, 2006, 07:44 PM posted to microsoft.public.access.forms
vauneen
external usenet poster
 
Posts: 3
Default opening a bound form on specific entry

hi all, i have a form bound to a table. from another form, is it possible to
open this form on a specific record?
from a command button on my form bound to tbl:repairs i open my form bound
to tbl:sitereports and default to the site report for that repair job (linked
by an id field common to both tables)
i guess it involves handing a variable to the sitereport form and i cant
find how one can do that.
(i'm not very familiar with access)
any help appreciated,
vauneen
  #2  
Old October 13th, 2006, 02:58 AM posted to microsoft.public.access.forms
Larry Linson
external usenet poster
 
Posts: 3,112
Default opening a bound form on specific entry


"vauneen" wrote in message
...
hi all, i have a form bound to a table. from another form, is it possible
to
open this form on a specific record?
from a command button on my form bound to tbl:repairs i open my form bound
to tbl:sitereports and default to the site report for that repair job
(linked
by an id field common to both tables)
i guess it involves handing a variable to the sitereport form and i cant
find how one can do that.
(i'm not very familiar with access)
any help appreciated,
vauneen


If you had told us the Field names and the Control names, chances are good
that someone could have given you a specific answer. As it is, please
clarify the name of the Field that is common (in both Tables) and the name
of the Control and Form from which the user will be selecting a particular
one, as well as the Form name you want to open, and, in the meanwhile, use
the Wizard to create a Command Button for Form Operations | Open Form. Then,
if the Properties dialog isn't visible, right-click the Command Button and
choose Properties. On the Properties dialog, click Events, and choose the
Click event, then press the tiny button with three dots. In the code that is
shown, place your cursor on the DoCmd.OpenForm and press F1 -- then look at
the help for the Where Condition argument -- you may not even need to post
back here.

Larry Linson
Microsoft Access MVP


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:26 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.