473,386 Members | 1,821 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,386 software developers and data experts.

Creating relationships in code

Hello,

Is there a way to create a relationship in Access the same way you create a
table, field and indexes? When I do a search I get all sorts of manual
instructions (click the relationship button, click and drag on one field to
the related field yada yada) but nothing on how to manipulate (add or
delete) relationships using code.

Any help would be great!
Thanks!
Nov 13 '05 #1
6 1244
HINT: Open the CODE window... create a module. Then go into help and
search for DAO, CreateRelation

Nov 13 '05 #2
Damn I hate Access help! How come CreateRelationship doesn't show up in my
help search, yet if I navigate through a whack of other pages I find a "see
also" that says "CreateRelationship"

Thanks for the hint.

<pi********@hotmail.com> wrote in message
news:11**********************@g47g2000cwa.googlegr oups.com...
HINT: Open the CODE window... create a module. Then go into help and
search for DAO, CreateRelation

Nov 13 '05 #3
"Jozef" <SP**********@telus.net> wrote in message
news:0%nze.1897758$6l.284624@pd7tw2no...
Damn I hate Access help! How come CreateRelationship doesn't show up in
my help search, yet if I navigate through a whack of other pages I find a
"see also" that says "CreateRelationship"

Thanks for the hint.


Anything to do with code you need a code window open. VBA help is seperate
from Access help, I think.

But you're right. Access 2000 help is awful.
Nov 13 '05 #4
Yep, Access "help" is a bit of an oxymoron. and if you're looking for
help on something you don't know the exact name for, well, forget it.
And DAO is not the default library after A97, so it's only lazily
documented. Makes me miss the days when companies used to print big
fat manuals. At least you could find answers there.

Nov 13 '05 #5
As the versions of access roll on the info supplied in the help files
diminishes. from A97 help using northwind.mdb you could pretty much
learn everything - I think it's a ploy to get us all to go on MS
certified courses. God I HATE that dancing paperclip...

Nov 13 '05 #6
Hahaha! I hear you! and that damned SEARCH DOG!
"BillCo" <co**********@gmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
As the versions of access roll on the info supplied in the help files
diminishes. from A97 help using northwind.mdb you could pretty much
learn everything - I think it's a ploy to get us all to go on MS
certified courses. God I HATE that dancing paperclip...

Nov 13 '05 #7

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

Similar topics

6
by: Jade | last post by:
Hi, I am trying to create a dataset with 6 tables and 5 relationships created between them. I am creating it in the Form_Load event. However i keep getting the following error... An unhandled...
2
by: Andrea | last post by:
I'm having some difficulty creating a report in Access and I need some suggestions. My company issues "Return Authorizations" when customers need to return products. A customer calls in and we...
8
by: Brian S. Smith | last post by:
Hi gang, Please help. I've been through the Access help, searched the Web, and I can't seem to get a straight answer. As the Subject line suggests, I want to run a fairly simple VB/Access Sub...
3
by: GGerard | last post by:
Hello Does anyone know if it is possible with Access 2000 to create relationships between tables using code? Thanks G.Gerard
5
by: Mike Turco | last post by:
What is the difference between creating relationships in the front-end vs. the back-end database? I was trying to create a relationship in a database front-end and noticed that I could not check...
2
by: Gandalf | last post by:
I'm creating relationships between tables using VBA and ADOX. I can create one-to-one relationships with an inner join, but I can't figure out how to create these relationships with an outer join...
1
by: Kosmos | last post by:
Hi...I'm new but decided to take on learning access programming for my job and I'm having trouble building relations. Any help would be very appreciated! So here's the jist of the program...I...
5
by: Kosmos | last post by:
Hey :) hopefully someone can help me with this...I decided to take on the task of programming an access database for my legal co-op/internship...I'm studying law and music production on the...
13
by: ARC | last post by:
Hello all, Prior to going live with my app, I have questions on relationships theory. My prior app was done in Access 97, and I did NOT use relationships at all. I have 65 tables in my...
10
by: Richard | last post by:
Hi folks, thanks for taking the time to read this (and hopefully point our where I'm going wrong). The scenario: I have a local Access2007 database which links in several read only mySql...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.