Solved

Access refer to Primary Index

Posted on 2011-03-17
3
264 Views
Last Modified: 2012-05-11
I have a generic Audit utility.
I populate a text field with the formname and other data.

I was wondering if there was any way to refer to actual value of the "primary index" without knowing what the name of the index was.

I would like to be able to refer to the actual "primary index" value in my audit string.  (A sort of form.primaryindex function??)
(As I write this question I am becoming consious that a form could have multiple tables and therefore multiple "primary indexes".   Therefore my query may be impossible! ?)




0
Comment
Question by:Patrick O'Dea
  • 2
3 Comments
 
LVL 6

Accepted Solution

by:
AkAlan earned 500 total points
ID: 35161226
Not sure what you are really needing here. If you include the primary key in the query, you can then use it as the control source for a text box.
0
 

Author Comment

by:Patrick O'Dea
ID: 35161250
Thanks AkAlan,

I have not expressed my query well.

In all honesty I have had a couple of glasses of wine ... and this query is a complex one!

I will award the points and close the query (for the moment!)
0
 

Author Closing Comment

by:Patrick O'Dea
ID: 35161253
Thanks
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question