Dear all,
Please could you help me with the following problem.
I have a lot of queries using text from a form in their constraints.
I have created another form BuildingControl with the same text fields:
txtStartDate
txtEndDate
But obviously it is another form...so therefore to call it
Now we come to what I want to do...
I want to create within the query a dynamic or variable field call.
So instead of the form being listed, just
or
So it gets the text field data from any form open that has those fields.
I.e.
Is there a way to do this?
Please help, it will be greatly appreciated!
Kind regards
Triacona
Please could you help me with the following problem.
I have a lot of queries using text from a form in their constraints.
Code:
between [forms]![MainSreen].[txtStartDate] and [forms]![MainSreen].[txtEndDate]
I have created another form BuildingControl with the same text fields:
txtStartDate
txtEndDate
But obviously it is another form...so therefore to call it
Code:
between [forms]![MainScreen].[txtStartDate] and [forms]![MainScreen].[txtEndDate]
Now we come to what I want to do...
I want to create within the query a dynamic or variable field call.
So instead of the form being listed, just
Code:
[txtStartDate] and [txtEndDate]
Code:
between [forms]![*].[txtStartDate] and [forms]![*].[txtEndDate]
I.e.
Code:
between [forms]![any form open].[txtStartDate] and [forms]![any form open].[txtEndDate]
Is there a way to do this?
Please help, it will be greatly appreciated!
Kind regards
Triacona