Recent content by Fekla

  1. F

    Custom Formula for conditional formatting?

    Hello all, Your help will be much appreciated. I am trying to apply conditional formatting in Excel using a formula. My question is - is it possible to use not the basic Excel formulae (like Len etc) but the custom formula programmed in the add-in .xla file? I would love to see some samples...
  2. F

    select top 4 in each category (categories complex :( )

    i m so forgetful! its 111
  3. F

    Printing a doc/jpg file from Access

    Thats how I dealed with the .doc: Private Sub PrintStartTime() 'printing StartTime.doc Dim intCopies, i As Integer intCopies = InputBox("How many copies of StartTime.doc you need?", "Preparing to print...", 2) Dim objWord As Object Set objWord =...
  4. F

    select top 4 in each category (categories complex :( )

    Hi sql wizards, I am having trouble figuring out the sql syntax. This is the diagram of my database. What I am trying to do is to select the top 4 points for each UNIT in each EVENT (actually it should be top 2 in each course) and I cant compose it. i ve arrived at this so far: SELECT...
  5. F

    Printing a doc/jpg file from Access

    Hi guys, Can you please help me with something? I am trying to think of some code which would permit me to send to printer a word file (which can be rtf or anything) and a jpg file. Actually the jpg is stored as a field in my database. But I dont know how to send it to printer without the whole...
  6. F

    How to set a validation rule using DLookUp?

    lagbolt, thank you for trying to understand my problem! Facts are, the real way my db is implemented is similar to what you said, and I just simplified it for uploading and asking whether DLookUp is working as a Validation Rule. However, Herb2 is not something to be planted next year. It is...
  7. F

    How to save record from before_update event

    MStef, no, Field2 is not required, otherwise it is too obvious that it can not be left blank. Gemma, I tried your suggestion, but it gives me the same 2108 error. So I looked around, and looked, and looked, and googled.. And I found out that this is a general problem with Undo Command, and in...
  8. F

    How to save record from before_update event

    Good day to you all. I am trying to write code which first cancels the before_update event, and then sets focus to another control. Sadly, it gives me the 2108 error that I have to save the field first. Tried the DoCmd.Save but unsuccessfully. Any ideas? Private Sub Field1_BeforeUpdate(Cancel...
  9. F

    How to set a validation rule using DLookUp?

    Hi everyone! I have a question concerning the validation. My problem is the following: I have one table which stores info about Herbs. Herbs can be either annual or perennial. Then another table shows what herbs grow on a particular field. If a herb is perennial, nothing else can grow. But if...
  10. F

    select query choosing records having maximum number of instances of a specific field?

    I am sorry, but did you read what I have written? Or should I give up some more explanations? I do not know for which word to filter, I need to select the "Product" for each "Customer" which that particular Customer ordered most.
  11. F

    select query choosing records having maximum number of instances of a specific field?

    That would have been too simple! I m afraid that's NOT what I am looking for. Your query would show the results as having 2 Keyboards for James and 1 Monitor, whereas I would like it to show only James Keyboard. Moreover, I don't need to use the criteria for Customers because as I said, I...
  12. F

    select query choosing records having maximum number of instances of a specific field?

    Good day to you all, I am looking for help in a query. Please help me write the SQL statement. Let's say I have a table with records like this: Autonumber Customer Product ##### James Keyboard ##### James Monitor ##### James...
  13. F

    Access Levels - Security

    Update: i m using a script similar to http://www.databasedev.co.uk/login.html
  14. F

    Access Levels - Security

    Hm. Thank you all. I think I am slowly progressing. Can anyone idle help me with the code that finds a record in a table whose 'password' field equals the value entered to a textbox and then saves the primary key of the found record to a variable? (i mean, i will ask for password on startup...
  15. F

    Access Levels - Security

    Yes, I got your idea. May I ask 2 clarifying questions? 1) if I "tag each record with the name of the person allowed to see those records" wont I be creating data redundancy? 2) still, i understand what is a form in a datasheet view. but its source is a table. so logically, the user will still...
Back
Top Bottom