473,320 Members | 1,846 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.

About OpenSchema(27) and rstSchema("FK_COLUMN_NAME")

Hi all there,

I have developed an ASP script that is able to read the structure of an
Ms Access database ( via object objConn.OpenSchema(27) ) and to
identify the foreign Keys columns and tables (via
rstSchema("FK_COLUMN_NAME") and rstSchema("FK_TABLE_NAME")).

I wonder whether there is a way to read the displayed field name of the
foreign key too.

So to say, for example, in Access, I have a table books. A field of
this table is a "lookup table" type that looks into the foreign Key
FKAuthor of Authors table and displays the field AuthorName.

I wonder if there is a programmatically way in ASP to discover/know
that Authorname is the displayed field of the
rstSchema("FK_COLUMN_NAME").
I hope that this is clear enough.

Thanks.
Irena

Nov 13 '05 #1
4 2023
Here's a much simpler method, if you're interested.

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Irena" <ne******@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Hi all there,

I have developed an ASP script that is able to read the structure of an
Ms Access database ( via object objConn.OpenSchema(27) ) and to
identify the foreign Keys columns and tables (via
rstSchema("FK_COLUMN_NAME") and rstSchema("FK_TABLE_NAME")).

I wonder whether there is a way to read the displayed field name of the
foreign key too.

So to say, for example, in Access, I have a table books. A field of
this table is a "lookup table" type that looks into the foreign Key
FKAuthor of Authors table and displays the field AuthorName.

I wonder if there is a programmatically way in ASP to discover/know
that Authorname is the displayed field of the
rstSchema("FK_COLUMN_NAME").
I hope that this is clear enough.

Thanks.
Irena

Nov 13 '05 #2

Aaron [SQL Server MVP] wrote:
Here's a much simpler method, if you're interested.

Where is?

I visited your site but had no luck in finding an article on the
subject.

Can u specify the article?

thnks.
Irena

Nov 13 '05 #3
Sorry, I hit Ctrl+V but my clipboard must have been emptied somehow...
http://www.aspfaq.com/2520

--
http://www.aspfaq.com/
(Reverse address to reply.)


"Irena" <ne******@hotmail.com> wrote in message
news:11*********************@f14g2000cwb.googlegro ups.com...

Aaron [SQL Server MVP] wrote:
Here's a much simpler method, if you're interested.

Where is?

I visited your site but had no luck in finding an article on the
subject.

Can u specify the article?

thnks.
Irena

Nov 13 '05 #4

Aaron [SQL Server MVP] wrote:
Sorry, I hit Ctrl+V but my clipboard must have been emptied somehow... http://www.aspfaq.com/2520

--
http://www.aspfaq.com/
(Reverse address to reply.)

Whow! Aaron, you have changed me life with a link! :-)

Thanks.
Irena

Nov 13 '05 #5

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

Similar topics

1
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
2
by: Aljo_ | last post by:
Hello! I got a free evaluation copy of Borland's JBuilder9. I also got a book about JAVA, and I am trying to type, compile and run some examples from the book. The following - very simple -...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
8
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
77
by: nospam | last post by:
Reasons for a 3-tier achitecture for the WEB? (NOTE: I said, WEB, NOT WINDOWS. DON'T shoot your mouth off if you don't understand the difference.) I hear only one reason and that's to switch a...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
5
by: eScrewDotCom | last post by:
www.eScrew.com eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is...
0
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
7
by: Edward Yang | last post by:
A few days ago I started a thread "I think C# is forcing us to write more (redundant) code" and got many replies (more than what I had expected). But after reading all the replies I think my...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: 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)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.