Hi
Raw recruit, no VB knowledge but some general programming experience.....
Access 2000 on XP
In form view, I wish to fill the field (ONLY on the record being viewed) with the maximum value from another table. Using query design view I generated the SQL
UPDATE B_Set_OrderNos, [B_PO-Num] SET B_Set_OrderNos.PONum = (DMax("[PONum]","B_PO-Num"));
Running the query with a command button on the form changes this field in ALL the records in the table not just the one in view.
Is there a simple way of dealing with this? What modifications could I make to the SQL and call it with a macroand the command button?
Thanks for any advice.