Hi,
I have a form that is used to import data from an excel spreadsheet. At the time of import, one of the things that needs to occur is a query of the database that looks to see if there any field’s that are being added that weren’t there previously. If the query is null, nothing should happen. However if the query is not null, then frmDefinitionUpdate should open. I’m not sure how to adapt the sql view of the query I build into code. If I past the following sql into the click event I get prompted that I’m missing various elements but I’m not sure what I need to do as coding is not my strong suit and I depend heavily on queries. This is the sql of the actual query that works fine.
SELECT [tblPLFinance – GL].MEMO AS tblFinanceMemo, tblDefinitionSummary.MEMO, tblDefinitionSummary.SUMMARYCATEGORY, tblDefinitionSummary.SUMMARYNAME, tblDefinitionSummary.ITEM
FROM [tblPLFinance – GL] LEFT JOIN tblDefinitionSummary ON [tblPLFinance – GL].MEMO = tblDefinitionSummary.MEMO
WHERE (((tblDefinitionSummary.MEMO) Is Null));
Thanks,
Leesha