Hi everyone,<br><br>I am working in an Access project connected to a SQL Server database.<br><br>In VB I am not able to access the subform of a form.<br><br>I do<br><br>Forms!SubfrmSearchHistoReg.RecordSource = "SELECT * FROM HistoryRegulation1991-1997 " _<br> & strWhereHistReg1<br><br>It telling me that he cannot find the subform "SubfrmSearchHistoReg"<br><br>Thanks<br>Genevi<br><br>