If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
#Name?
I have a qryCash and a frmCash. I would like the default for the control
"cashdate" to use information from a table ... tblControlfile (Be aware that this table is a single line entry that just holds information that changes on a day to day basis). When I put the default as [table]![tblcontrolfile]![fairdate], I'm getting #Name? ... I've tried even running a query to pull the information from the table and still same message. How can I get the default for the control "cashdate" to be the "fairdate" information in my table? |
#2
|
|||
|
|||
#Name?
=DLookup("fairdate", "tblcontrolfile")
-- _________ Sean Bailey "margaret" wrote: I have a qryCash and a frmCash. I would like the default for the control "cashdate" to use information from a table ... tblControlfile (Be aware that this table is a single line entry that just holds information that changes on a day to day basis). When I put the default as [table]![tblcontrolfile]![fairdate], I'm getting #Name? ... I've tried even running a query to pull the information from the table and still same message. How can I get the default for the control "cashdate" to be the "fairdate" information in my table? |
#3
|
|||
|
|||
#Name?
You might also need to use this syntax:
[table]![tblcontrolfile].[fairdate] "margaret" wrote: I have a qryCash and a frmCash. I would like the default for the control "cashdate" to use information from a table ... tblControlfile (Be aware that this table is a single line entry that just holds information that changes on a day to day basis). When I put the default as [table]![tblcontrolfile]![fairdate], I'm getting #Name? ... I've tried even running a query to pull the information from the table and still same message. How can I get the default for the control "cashdate" to be the "fairdate" information in my table? |
Thread Tools | |
Display Modes | |
|
|