Approvare… che cosa sono io che faccio male qui. Il seguente codice produce l'errore Runtime 424.
strUser = NTDomainUserName Dim f come Form Set f = forme! frmMaster
f.txtNTID = strUser
strSAP = strQry = “tblOrgStructure.PersonID PRESCELTO, tblOrgStructure.EmployeeName, tblOrgStructure.OrgUnitCode, tblOrgStructure.AffiliationCode, tblOrgStructure.EntityCode, tblOrgStructure.BusinessCategoryCode, tblOrgStructure.BusinessAreaCode, tblOrgStructure.OrgLevel, tblOrgStructure. [Numerico principale], tblOrgStructure. [Nome principale], tblOrgStructure. [Titolo principale], tblOrgStructure. [Entità proposta], tblOrgStructure. [SEDERE proposte], tblOrgStructure.UserID, tblOrgStructure.Modified, tblOrgStructure.VerDate dal tblOrgStructure DOVE (((tblOrgStructure. [Numerico principale]) = strSAP)); “lo sf del
Dim come sf di Form Set = si forma! frmMaster! sfrmModifications. Form.RecordSource = strQry
class= del
|