Hi All,
Trying to take the last ID on a SubForm and make it appear in a unbound textbox SubFormID.. This without typing it there..
e.g; on screenshot, the last ID on the SubForm is 134 and I would like to get that in the textbox. Any help appreciated..
Hi vbaInet, the Where argument didn't do anything different, adding the ID to the SubForm fmrQry_sf_Sell did. After a nap on the couch I noticed that The SubForm didn't have the ID field on it and it assumed automatically that it had to take the ID from the tblDocket. Since my form frm_sf_Buy did have the ID, this showed the correct ID. After adding the ID to the frm_sf_Sell, now both txtboxes show the correct ID. Great Job, You really put me right and made me think and learn.. As did many others here on the board..