mmhhh, it actually didn't really talk a lot to me...<br>I am definitely a newbie to visual basic and I need real deep explantions... The Dlast function doesn't work for me.<br>here is what i have:<br>a table named --> pre<br>a form named --> detail<br>in this form a field --> SIRET<br><br>in the properties of the field, in the form, i put:<br> =Dlast(SIRET,detail)<br>And nothing, it tells me that it's not a valid expression.<br><br>For the other code, i need more explanation for where to put it.<br><br>Thank you very much.