Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO Recordset: Joined Table Fields Do Not Refresh

Status
Not open for further replies.

dpatrickcollins

Programmer
Nov 18, 2002
79
Hi All,

I am running into the following problem. I have an ADO recordset which represents a rather typical query of two tables, one a look up (One-side) of the other as follows:

Select Table_Many.ForeignKey, Table_One.KeyDescription
FROM Table_Many, Table_One
WHERE Table_Many.ForeignKey = Table_One.UniqueKey

Problem is, when I do an 'AddNew' and populate the "ForeignKey" field of the new record with a value, the "KeyDescription" field is not automatically populated, which I would expect. Why? And How to properly get around this?
 
BTW, I am running VB6, using DataEnvironment to set recordset, but I do not think that should matter too much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top