C
Christian
Hi NG,
I'm trying to set the default value in a Form Textbox by referring to a
value stored in a table, but not having much luck with it.
I've tried to enter this in the Default Value property:
=Select TblUserSettings.ExportExcelPath from TblUserSettings where
TblUserSettings.RowID="1"
which doesn't work.
Also tried
=DLookup("[ExportExcelPath]"," TblUserSettings "," TblUserSettings.RowID=1")
doesn't work either.
What I have is:
Table:TblUserSettings
Field: ExportExcelPath
Field: RowID
And what I would like to be shown in the Form's textbox as default value is:
Select ExportExcelPath from TblUserSettings where RowID = 1
Any suggestions for what would be the correct syntax is warmly welcome.
- Chr
I'm trying to set the default value in a Form Textbox by referring to a
value stored in a table, but not having much luck with it.
I've tried to enter this in the Default Value property:
=Select TblUserSettings.ExportExcelPath from TblUserSettings where
TblUserSettings.RowID="1"
which doesn't work.
Also tried
=DLookup("[ExportExcelPath]"," TblUserSettings "," TblUserSettings.RowID=1")
doesn't work either.
What I have is:
Table:TblUserSettings
Field: ExportExcelPath
Field: RowID
And what I would like to be shown in the Form's textbox as default value is:
Select ExportExcelPath from TblUserSettings where RowID = 1
Any suggestions for what would be the correct syntax is warmly welcome.
- Chr