I have a query I created to convert a date field to 4-digit julian date.
Code use:
SELECT Transactions.TransactionDate, Format(Format([TransactionDate],"y","3000" AS Julian
FROM Transactions;
My query shows two columns - TransactionDate and julian.
The macro runs good manually but I want to have the query run in the background and not open up as datasheet, and have the outputed julian number populate another text field in my form. How can I do this?
Problem, when I select the record source in the text field I want populated, all I can select from is the fields from my form's record source(which is my Transactions table)and when I use the expression builder to select my query instead and open the form, my text field shows...#Name? What am I doing wrong?.
Regards!
Code use:
SELECT Transactions.TransactionDate, Format(Format([TransactionDate],"y","3000" AS Julian
FROM Transactions;
My query shows two columns - TransactionDate and julian.
The macro runs good manually but I want to have the query run in the background and not open up as datasheet, and have the outputed julian number populate another text field in my form. How can I do this?
Problem, when I select the record source in the text field I want populated, all I can select from is the fields from my form's record source(which is my Transactions table)and when I use the expression builder to select my query instead and open the form, my text field shows...#Name? What am I doing wrong?.
Regards!