I am a novice user of Microsoft Access 97 and am trying to use a conditional statement to populate a series of tables based on information in a "master" table. <br><br>I used the expression builder to create the following if... then statement. When I run the procedure an external name not defined compile error is returned. <br><br>Option Compare Database<br>Option Explicit<br><br>Public Sub map()<br><br>If [table1]![field1] Like "*BILL*" And [table1]![field2] = "USTR" Then<br> [table2]![field1] = "MATURITY"<br> [table2]![field2] = ""<br> [table3]![field1] = "ZEROCPN"<br> [table3]![field2] = "ZEROCPN"<br> [table4]![field1] = "ZEROCPN"<br> [table5]![field1] = "United States Treasury Bill" & [table1]![field3]<br> [table6]![field1] = "MM"<br> [table6]![field2] = "BILL"<br> [table6]![field3] = "GOVT"<br> [table6]![field4] = "USTNOTE"<br> [table7]![field1] = "S"<br>End If<br>End Sub<br><br>The goal is to populate table data with the strings in the above code. Table1 is the master table and the others are the recipients of master data when the conditions are met.<br>All the tables have been defined<br><br><br>I really don't think the above code syntax is correct. If anyone could provide me with any tips to point me in the right I would be very grateful. Thanks in advance.<br><br><br><br><br><br>