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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting DATA from a QUERY into one variable 1

Status
Not open for further replies.

Genotix

Programmer
Joined
Dec 16, 2004
Messages
53
Location
NL
Hi all,

I'm having some trouble inserting data from a recordset in a variable.

De default method like
Code:
Label1.Caption = RS!Number
always worked for mee.

But....
Now i've combined two tables (Path and Recipe) in which both tables have a Primary Key called "Number"
Logically i entered the following
Code:
Label1.Caption = RS!Path.Number
This results in a notification which says :
"Compile error : Method or data member not found"

Does anybody know what the right syntax is?

Linux IS userfriendly.
It's only very selective about who it's friends are.
 
Thanx for the info.

I just found that out myself also (just by trying).
It's a pitty that there is no consistence in this.

Linux IS userfriendly.
It's only very selective about who it's friends are.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top