Search results

  1. K

    Default Error Messages

    how to change Access default error messages with custom messages? Like, if I enter some data in a sub form where the parent form is empty new record, default error message says that 'You must enter a value in the 'column name' field'. I want to disable this default message and display my own...
  2. K

    Update Trigger

    I know about False thing, but I was confused about converting Macro to VBA. Here I just called Macro from VBA after passing the NewRecord condition. It solved my problem, though initially i didn't get the idea. Thank you.
  3. K

    Update Trigger

    Thanks Paul, Me.NewRecord is a good idea but I don't know how to make rest of the code work in VBA. I only know how to use Macro's for now. I tried to use Convert From Macro's to Visual Basic, but something seems wrong and i see many 'Error$' messages in the code. I've written a Macro to run on...
  4. K

    Update Trigger

    I've a requirement where I need Before and After Update triggers to be fired when an existing record is updated, but not when a new record is inserted. My understanding is that for insert operations we've Insert triggers. Then why Update triggers are firing after Insert operation?? How to make...
  5. K

    Row Source value

    You people are always helpful. Thank you )
  6. K

    ER diagram

    I was only looking for the answer where such relationships as in last attachment are possible in a database, WHEN THE SITUATION ARISES. 'Stopher' understood when I'm looking for and I found the answer in first half of his advice. You've also answered, so i've got my answer. I'm at the moment...
  7. K

    ER diagram

    Thanks for clearing up things on relationship diagram. Based on what is advised here, i've created a relationship diagram. This is first time i'm using multiple paths, does it look eligible?? I mean it isn't is providing any redundant information, or any other reason for it not being...
  8. K

    ER diagram

    I tried hard to understand myself but I think I really need kindof help understanding the entity-relationship concept. I've been advised in one of the post earlier that there should be only one path to each table in ER process flow diagram and if there are more than one paths then design is not...
  9. K

    Row Source value

    Thanks Bob, it sorted both my problems. I was under impression that we can not use SELECT against queries. I was looking to run the SELECT DISTINCT query for the RowSource value based on the value selected from another combo box. The size of the query was getting longer because of...
  10. K

    Row Source value

    hi, My SQL query is longer than the maximum limit allowed by the Combo Box Row Source value. I also cannot use DISTINCT in my query when using as a Row Source for the Combo Box. Could someone advice how to get around these limits please?? Khurram
  11. K

    Cannot read from forms

    Thank you JHB, for pointing out my mistake... I thought tables will be fine to refer because anyways the pointer is on the current record set!! It works perfect now. Just a request, please remove the pasted image from your post. Access file was ok, but this is way too open. Thanks in advance )...
  12. K

    Cannot read from forms

    Thanks, but it is still not working. I'm confused why it is still not reading from form on focus. if I enter values manually, it gives the correct result, attaching screenshot. This is record # 29 in attached database above, but when I try to read from form it simple doesn't work and show all...
  13. K

    Cannot read from forms

    I couldn't find the filter, where is it please in the file?!
  14. K

    Cannot read from forms

    Thanks Galaxiom, if by current you mean the record which is currently open on my screen, then I'm trying to read from the current record but it is not working. I should be able to use the value in controls of the current record as per my information about Access so far, but it is not happening...
  15. K

    Cannot read from forms

    I sent an screenshot of a form, obviously it'll not work ) Ok, i'm attaching the Access file here. Nothing secret, so I can share the file. you'll see in form named as 'frmEmployee', there's a button with 'Update Query' icon. I just put it temporary to run the query. it is running...
  16. K

    Cannot read from forms

    Attaching file. Trying to select from the master form, one on top. Thanks.
  17. K

    Cannot read from forms

    I meant to say, I can read the values from Form Controls only for the new record while I'm entering data. But once I fill-in all the fields and save the record, after that I can't read it from Form Controls anymore. I need this for comparison with other tables/records. for e.g. Access can use...
  18. K

    Cannot read from forms

    In Access 2010, Under what conditions can we read values from forms please?? I'm trying to write query in which i want to find and update records based on saved record, but seems like Access is not reading values. I've opened the form and add a button to run a query, so the form is for sure in...
  19. K

    newrecord property

    I mean entering a new record via forms. Ya, it worked. Thanks for help )
  20. K

    newrecord property

    Thank you. One last thing please. What if I need to hide control on a new user form, like search box etc.? I've done it like this. Is this an ok way? If Me.NewRecord Then Me.cbxSearch_Label.Visible = False Me.cbxSearch.Visible = False Else...
Back
Top Bottom