By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,062 Members | 1,358 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,062 IT Pros & Developers. It's quick & easy.

Trouble Opening Form with data show in a list

P: 3
Here is my issue:

Have an Quality Issues database. Created a query to pull only those issues still left "open". Tied a list box to display the data pulled in the query (Issue, Date of Issue, Who is Responsible, etc) Where I am having trouble is I would like for them to be able to click on the issue in the list and it will take them directly to that record. I can get the form to "pop-up" on the click but it's always a blank record...here is the code. Keep in mind, I suck at access and have never had any formal training in it, but I do have experience in C++ and Visual Basic.

[ID]=[Forms]![TEST FORM]![List Of Open Issues]![ID]
Oct 27 '06 #1
Share this Question
Share on Google+
2 Replies


NeoPa
Expert Mod 15k+
P: 31,494
Here is my issue:

Have an Quality Issues database. Created a query to pull only those issues still left "open". Tied a list box to display the data pulled in the query (Issue, Date of Issue, Who is Responsible, etc) Where I am having trouble is I would like for them to be able to click on the issue in the list and it will take them directly to that record. I can get the form to "pop-up" on the click but it's always a blank record...here is the code. Keep in mind, I suck at access and have never had any formal training in it, but I do have experience in C++ and Visual Basic.

[ID]=[Forms]![TEST FORM]![List Of Open Issues]![ID]
If we're talking VBA in an OnClick event try :-
Expand|Select|Wrap|Line Numbers
  1. [ID]=Me.ID
Although I'm not clear what the first [ID] is you're assigning to.
Also, the Me. is also redundant for the current form objects but most people seem to like it anyway.
Oct 27 '06 #2

PEB
Expert 100+
P: 1,418
PEB
Hi,

Maybe your list is a combo box which huge number of columns or a list?

So when a record is choosen you need an append query to add the information on a record,

If you want simply to update the current record it should be more easily!

So you need to generate a new record or to change the contents of the current existing record?

:)
Oct 27 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.