M
Mary Fetsch
In my Access 2000 project, I want to show a datasheet with
these fields:
Trans # Trans Date Tenant Name Brochure # Fee
The fields come from 2 tables. All fields except Tenant
Name come from the Tenant Transaction table. Tenant Name
comes from the Tenant Header table. The two tables are
linked by Tenant #.
I want to enter 1 row into the datasheet and then
duplicate that row 10 times, changing only Tenant Name.
So, changing Tenant Name would mean the transaction should
have a different Tenant #. It does NOT mean Tenant Name
should be changed in the Tenant Header table.
For that reason, I don't want Tenant Name to be bound to
the Tenant Header table. I thought I would use SQL
statements in my VB code to pull in the Tenant Name on
unchanged records and adjust the Tenant Transaction table
for changed records.
However, I'm having a problem. I'm using a SQL statement
in the Form Current event to grab the Tenant Name. But
when I open this datasheet and show all its rows, the same
Tenant Name appears in all the rows. How can I get the
different Tenant Names to appear in the different rows?
Is there a better way to do this? I'll very much
appreciate any help anyone can give me on this.
these fields:
Trans # Trans Date Tenant Name Brochure # Fee
The fields come from 2 tables. All fields except Tenant
Name come from the Tenant Transaction table. Tenant Name
comes from the Tenant Header table. The two tables are
linked by Tenant #.
I want to enter 1 row into the datasheet and then
duplicate that row 10 times, changing only Tenant Name.
So, changing Tenant Name would mean the transaction should
have a different Tenant #. It does NOT mean Tenant Name
should be changed in the Tenant Header table.
For that reason, I don't want Tenant Name to be bound to
the Tenant Header table. I thought I would use SQL
statements in my VB code to pull in the Tenant Name on
unchanged records and adjust the Tenant Transaction table
for changed records.
However, I'm having a problem. I'm using a SQL statement
in the Form Current event to grab the Tenant Name. But
when I open this datasheet and show all its rows, the same
Tenant Name appears in all the rows. How can I get the
different Tenant Names to appear in the different rows?
Is there a better way to do this? I'll very much
appreciate any help anyone can give me on this.