The problem is that my datefield is in such a format which is dd-mmm-yy. This would def cause a problem right? since the extracted year is in yyyy format... is there a way to work ard this?
Hi Everyone. I have a table and one of the fields is a date field. I need to create a query based on this table such that only records from the current year is displayed. So I need to retrieve the year part from the
date and compare with the current date. I m not too sure on how to do this esp...
Hello Everyone! I have a table with with details of a site. Each site is identified by its siteid. Each site id might have a few records. I want to get the latest record for each siteid. Like I have a field in the table which shows the date. I wan the lastest date for each site id. Is this...
hey vbaInet due to security reasons i cannot post this database here. but now i just used a button only instead. Thanks all the help :) really appreciate it!
actually i tried in the before insert also.. then it had the same problem. so i thought maybe i was wrong and did it in the before update .. but still same problem :(
hey thanks a lot! it seems to work when i put it behind a button. However it does not work when i put it in a beforeupdate event. thanks alot for ur help :D
hey this works. But right the value it shows for payee id is actually an existing record with alot of empty records. ( eg like it has only 1 field filled). I tried putting - in the empty fields but it does not seem to solve the problem
hey I just looked up the DMax function and did the following code
Me.PayeeID.Value = DMax("PayeeID", "[Info of Payee]")
however, it does not seem to work. any idea wat is the problem?