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 » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

from reports to form



 
 
Thread Tools Display Modes
  #1  
Old July 22nd, 2009, 01:25 PM posted to microsoft.public.access.reports
norbertbreij
external usenet poster
 
Posts: 1
Default from reports to form

Hi, Id like to link from a report to a form. In the report I have an Id that
also is available in the form. I now want to klick on the Id in the report to
go to the origanal form so that it can be edited. What is the best way to do
so? I''ve tryed with a macr but it doesn's seem to work....

  #2  
Old July 22nd, 2009, 02:39 PM posted to microsoft.public.access.reports
fredg
external usenet poster
 
Posts: 4,386
Default from reports to form

On Wed, 22 Jul 2009 12:25:14 GMT, norbertbreij wrote:

Hi, Id like to link from a report to a form. In the report I have an Id that
also is available in the form. I now want to klick on the Id in the report to
go to the origanal form so that it can be edited. What is the best way to do
so? I''ve tryed with a macr but it doesn's seem to work....


Sorry, reports are not user inter-active.
You cannot do what you want to do from a report.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #3  
Old July 30th, 2009, 07:58 AM posted to microsoft.public.access.reports
Nadihaha
external usenet poster
 
Posts: 61
Default from reports to form

I can't get this to work at the moment, but you may have better luck than me.
You could try putting in a command button, and tell it to open the form on
click. I don't know the exacts but it may work

"norbertbreij" wrote:

Hi, Id like to link from a report to a form. In the report I have an Id that
also is available in the form. I now want to klick on the Id in the report to
go to the origanal form so that it can be edited. What is the best way to do
so? I''ve tryed with a macr but it doesn's seem to work....


  #4  
Old July 30th, 2009, 08:49 AM posted to microsoft.public.access.reports
norbertbreij via AccessMonster.com
external usenet poster
 
Posts: 1
Default from reports to form

Nadihaha, thanks for your replay,
I tried the following and it seems to work:

Private Sub Callnummer_Click()
On Error GoTo Callnummer_Click_Err

If (IsNull(Callnummer)) Then
Beep
End If
If (Not IsNull(Callnummer)) Then
DoCmd.OpenForm "Toevoegen call", acNormal, "", "[Callnummer]=" & Callnummer,
acFormEdit, acWindowNormal
On Error Resume Next
DoCmd.Requery ""
End If

Callnummer_Click_Exit:
Exit Sub

Callnummer_Click_Err:
MsgBox Error$
Resume Callnummer_Click_Exit

End Sub

Thank you!

Nadihaha wrote:
I can't get this to work at the moment, but you may have better luck than me.
You could try putting in a command button, and tell it to open the form on
click. I don't know the exacts but it may work

Hi, Id like to link from a report to a form. In the report I have an Id that
also is available in the form. I now want to klick on the Id in the report to
go to the origanal form so that it can be edited. What is the best way to do
so? I''ve tryed with a macr but it doesn's seem to work....


--
Message posted via http://www.accessmonster.com

 




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 12:48 PM.


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