paidelr
10-27-2004, 03:45 PM
lblhorsepower = rsAdressBook!Horsepower
This is in the list1_click function. I know that lblhorsepower is a label. What is rsAdressBook!Horsepower.
My interpretation was that 'AdressBook' is my database name and Horsepower is a column in the database but I'm just confusing myself?
When I run the program, I get an 'Invalid Use of Null' error on the above line of code, obviously because VB can't read rsAdressBook!Horsepower .
So for now, can someone just explain each part of the above code. Does 'rs' for with AdressBook or are they two different things. What is the '!' for?
Thanks.
This is in the list1_click function. I know that lblhorsepower is a label. What is rsAdressBook!Horsepower.
My interpretation was that 'AdressBook' is my database name and Horsepower is a column in the database but I'm just confusing myself?
When I run the program, I get an 'Invalid Use of Null' error on the above line of code, obviously because VB can't read rsAdressBook!Horsepower .
So for now, can someone just explain each part of the above code. Does 'rs' for with AdressBook or are they two different things. What is the '!' for?
Thanks.