Recent content by ds_8805

  1. D

    Comparing Date with current Date

    Thank You very much! works perfectly! :D
  2. D

    Comparing Date with current Date

    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?
  3. D

    Comparing Date with current Date

    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...
  4. D

    Getting latest records

    thks guys .. will look into it :D
  5. D

    Getting latest records

    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...
  6. D

    Autonumber not generating unique number

    helllo sorry for the late reply. yup not in the before_update. i put the code behind a button on click event. Thanks for all ur help :D
  7. D

    Autonumber not generating unique number

    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!
  8. D

    Autonumber not generating unique number

    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 :(
  9. D

    Autonumber not generating unique number

    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
  10. D

    Autonumber not generating unique number

    yup. cos I just said it as payee table for reference while asking my doubt. the actual name of the payee table is info of payee
  11. D

    Autonumber not generating unique number

    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
  12. D

    Autonumber not generating unique number

    sorry the error it gives me is that i cannot assign a value for this object.
  13. D

    Autonumber not generating unique number

    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?
  14. D

    Autonumber not generating unique number

    ooohhh icic. I will look into it.vbaInet thank u very much for ur help. really appreciate the effort :D thanks!
  15. D

    Autonumber not generating unique number

    ooo cool! I realised that u can actually set even in the format to ensure no duplicates right? would that be enough actually?
Back
Top Bottom