Ally
Registered User.
- Local time
- Today, 05:24
- Joined
- Sep 18, 2001
- Messages
- 617
I have 2 main episode forms frmEpisode and frmEpisodeDE - (one's data entry and the other's for updating). From either of these you can add a FU Data episode. In the UnitNo and ITURegNo fields on the frmFUData I want it to refer to the relevant field on the episode form.
In the DefaultValue property I have tried:
=IIf(IsLoaded([Forms]![frmEpisode]),[Forms]![frmEpisode]![UnitNo],[Forms]![frmEpisodeDE]![UnitNo])
... using the IsLoaded function from Northwind, but it returns #Error.
Am I able to use code like this in the DefaultValue property?
Anyone know what can I do please?
In the DefaultValue property I have tried:
=IIf(IsLoaded([Forms]![frmEpisode]),[Forms]![frmEpisode]![UnitNo],[Forms]![frmEpisodeDE]![UnitNo])
... using the IsLoaded function from Northwind, but it returns #Error.
Am I able to use code like this in the DefaultValue property?
Anyone know what can I do please?
Last edited: