|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Linking two columns in a second Table
Help !!!!!!! calling all Guru's
I am trying to link two colomns together from one Table (tblLettersAndNumbers) into two seperate colomns in a second Table (tblLettersAndNumberConnected). The complication is that the columns in tblLetterAndNumbersConnected need to be drop downs and if you select the Numbers column the Letter column should update atomatically (and Vice-Versa) e.g if you select number 1 letter A will apear. My database is more complicated than the above example, so I have created the Test.mdb (attached) database to make it easier to explain. |
|
#2
|
||||
|
||||
|
This cannot be done in the table itself, but can in a form.
Attached is your database. Have a look at the code behind the form and you will see how it works.
__________________
BRegs, TBÁrpi "I can only show you the door. You're the one who has to walk through it." |
|
#3
|
|||
|
|||
|
Main thanks TBÁrpi.
But I 'm getting an error message (attached) when I select either of the the drop down menu's in the FORM you created ???? Cheers Chris |
|
#4
|
||||
|
||||
|
Chris,
Check if the necessary libraries are referenced as attached. To map them, go to Tools -> References... menu path in VB Editor. |
|
#5
|
|||
|
|||
|
Sorry to be a pain......
but I have just checked that my libraries are referenced and they look exactly the same as yours ????????
Chris As a thank you try this link as the best post christmas game http://www.7fire.com/flash/TurkeyShooter.swf |
|
#6
|
||||
|
||||
|
Hmmm.... however, it works fine for me...
Have you tried to Copress and Repair? Or Compile your project? |
|
#7
|
|||
|
|||
|
The error message is appearing in the FORM you created in the TEST.mdb database I sent you, I have just tried the COMPACT & REPAIR option but it didn't fix the problem.
I have reattched the TheArchitect.mdb file, just incase it got corrupted in the transfer ???????? Once again thanks for your help. |
|
#8
|
||||
|
||||
|
Still works fine.
I select a number, and the correspondig letter appears in the other drop-down list and vice versa. I have to say: ![]() I'll post this to the Moderators' Longue and ask others to have a look at it. |
|
#9
|
|||
|
|||
|
Thank you .......
for trying.
Regards Chris |
|
#10
|
||||
|
||||
|
Below is one of my colleague's suggestion
Quote:
|
|
#11
|
|||
|
|||
|
Virus Scan
Our system is updated dailey using McAvee VirusScan Enterprise software, we are currently using - Virus Definition 4312 - Engine 4.2.60.
Plus I run the Stinger on all PC's periodically, because I am paranoid, I have just downloaded the lastest Stinger and all is clear. Cheers |
|
#12
|
||||
|
||||
|
Another answer:
Quote:
|
|
#13
|
|||
|
|||
|
Good morning
Thank you TBÁrpi.
You have completely lost me now, I'm not a great one for VBA or code, I'm just a simple architect, is there any chance of sending the DB back with the code deleted as mentioned, so that I can have look and see what needs to be done. regards chris |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > Linking two columns in a second Table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|