473,320 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Referencing a table w/ a variable

Trying to resolve what seems a complicated issue (to me); will simplify
description of issue w/ an analogy:
A -- 5 tables - Memories, engrams, P (persons), L (locations), and T
(things). All start with two identicle fields: Code (txt5-Key) and
Description (txt 25) but all have different numbers of other fields that are
heavily used in other forms and purposes; BUT,
B -- Memories = main table -->has some data unique to itself but then other
data links to varied numbers and types of other files; hence, engrams (many
memories)
C -- Engrams = the "neural links" to numbers of Persons (with birthdays
etc), locations (w/ coordinates etc) and Things (with owners etc); have a
unique ID key but then only three fields a tblMemory code a tblName (ie P, L
or T) and a tblCode
D -- tbls P, L and T all begin w/ unique keys of 5 txt characters followed
by description field.
E -- Need a form to be able to data entry "memories" with their varied
numbers of "engram" links to the P, L and T tbls
F -- THE PROBLEM: would like to present a subtable with running list of
already selected "engrams" and have either: (acceptable) two control fields
one to lookup the acceptable table names which would then autofill a second
control lookup field with possible choices (their code and descriptions); or
(better) a FROM list on the left (perhaps tabbed for the file types) and a
TO list on the right with a > and a < button between. either double
clicking (or highlight and select ">") the choice on the left would move
it's code and name into the TO list on the right [we've all seen these
choice boxes]. of course when the choices are finished a "save" or "cancel"
will update and show the main form again.

I've been at this for several weeks and can't seem to be able to figure out
the code - or possibly there's a better way to organize the approach i'm
overlooking in my Access naiveté.

Much gratitude for your help
DJ
Nov 13 '05 #1
0 1060

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: xcomm | last post by:
Hi All, <?php $vars= array("_SERVER","_SERVER","_SERVER","_SERVER","_SERVER","_SERVER"); foreach($vars as $var) { if(isset($$var))echo("$var: ${$var}<br>\n"); } ?> php.net:
2
by: sreddy | last post by:
I am trying to write a sql query on self referencing table. Just to brief ..Database is related to a Hiring department of the Qwest company. I need to generate a Report used by in HR...
6
by: Tony | last post by:
Hi, I'm still new to this so if I'm sounding dumb or my premise is flawed please forgive me. I have a DB design which contains a table which has categories, each category has a parent category,...
6
by: jstaggs39 | last post by:
I want to create a Dcount and an If...Then...Else statement to count the number of records in a table based on the date that is entered to run the form. The If....Else statment comes in because if...
6
by: John E | last post by:
I have a question about how to make records in a table reference other records in the same table.... Suppose I'm building a small database to track some basic information on several companies....
3
by: Lyners | last post by:
I have a table within a cell of a datagrid. I am doing updates without postback to the server using Javascript. I have everything working, except referencing a table within the datagrid cell. ...
21
by: cmd | last post by:
I have code in the OnExit event of a control on a subform. The code works properly in this instance. If, however, I put the same code in the OnExit event of a control on a Tab Control of a main...
2
by: HankD | last post by:
Hi, I am having a problem with instantiating two custom objects so they DO NOT point to the same memory location. What is happening is that changes I am making to my object1 are changing object2. I...
3
by: DR | last post by:
I heard there is some trick to referencing statics in C# CLR stored procedure without having to mark the assembly as unsafe. Does anyone know this? This is usefull as the case of needing a little...
6
by: viperRider | last post by:
Another question to people smarter than me! LOL I have a form with a variable - Dim cboOriginator as TextBox - that holds the info about a textbox i click on. when i click on it, i have a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.