john33john33
Registered User.
- Local time
- Today, 09:15
- Joined
- Jul 23, 2015
- Messages
- 18
Table ElectricityUsage
UserID, RecordDate, Amount
AutoNum, Date, Number
I create a blank report and add two text boxes with control source =[ElectricityUsage]![RecordDate] and =[ElectricityUsage]![Amount].
Even only with the two boxes, the error appears, #name
Then I tried another method. Add two text boxes using "add existing field". Then it shows the record.
First how is the difference of two approaches?
_______________________________________________
Table ElectricityUser
UserID, UserName
AutoNum, short
While Electricity.UserID = ElectricityUsage.UserID
I add another field [Electricity]![UserName].
Then it shows #name
intended outcome:
thx a lot
Attached with the test database
https://www.sendspace.com/file/9c7tu3
UserID, RecordDate, Amount
AutoNum, Date, Number
I create a blank report and add two text boxes with control source =[ElectricityUsage]![RecordDate] and =[ElectricityUsage]![Amount].
Even only with the two boxes, the error appears, #name
Then I tried another method. Add two text boxes using "add existing field". Then it shows the record.
First how is the difference of two approaches?
_______________________________________________
Table ElectricityUser
UserID, UserName
AutoNum, short
While Electricity.UserID = ElectricityUsage.UserID
I add another field [Electricity]![UserName].
Then it shows #name
intended outcome:

thx a lot
Attached with the test database
https://www.sendspace.com/file/9c7tu3
Last edited: