Search results

  1. R

    Simple Query Qeuestion

    Whenever I run that an error message comes up which says - 'Operation must use an updateable query' Any ideas?
  2. R

    Simple Query Qeuestion

    I have two tables - Table1(ItemID, Quantity) Table2(ItemID, Quantity) I want to run a query so that if i enter a value for quantity in table 2 that is less than the value in table 1 that it will take the value from table 2 and replace the value in table 1 with this value. How do I do this...
  3. R

    Getting Photos to work in form

    Ignore this post!
  4. R

    Getting Photos to work in form

    Thanks so much. It does exactly what I want!
  5. R

    Getting Photos to work in form

    I Have been trying for a while to get photographs to work in a form. At the minute I can select the file I want to add to the form but when I move to the next record the same picture is still displayed and I cannot understand why this is happening. I have adapted the code form the sample...
  6. R

    Adding additional information to a report

    Krava Thanks so much for the help. The report now works perfectly.
  7. R

    Adding additional information to a report

    Thanks for the help again. Is it possible to setup a form to enter information into, but only have it hold the information temporarily so that a table does not have to be created and saved each time? (ie. The table would be deleted after the report had been generated?) Thanks
  8. R

    Adding additional information to a report

    Thanks Krava tha worked a treat! I have got it so that I can add one date onto the letter. If I wanted to add, say six seperate dates would I just add 6 columns to the query and then have 6 pop up boxes opening when I open the report or is there a better way to do it than this? Hope this makes...
  9. R

    Adding additional information to a report

    I have a report setup in the format of a letter which is sent out to perople periodically. It takes the name and other information from a table. Each time the letter is sent out, it is to inform people of meetings on different dates. Is it possible to have a prompt that when the report is run...
  10. R

    How to open a Word document from within Access

    This will seem breally stupid but Am I creating a new module to enter the code in? As you can obviously not attach the VB code to an object in the database.
  11. R

    Adding Photographs

    I need to add a photograph to each record that I have in a form. This photograph will then be used along with the data entered in the form to create a report. I have used the search function to try to do this but my Access skills are not the best and I am having trouble in trying to understand...
  12. R

    How to open a Word document from within Access

    I am creating a database for someone which includes a mail merged document with some data from the database. Is it possible to allow the user to open the document by clicking on a button that will be on the Switchboard in the database, so that they do not have manually open the document? Hope...
  13. R

    Number Results in a Query

    I would like to create a seperate field for each record in my query which would number the results of the query in ascending order, say from 1 to 100. Is it possible to do this in a query?
  14. R

    Simple query questions

    Bob - Thank you so much that does exactly as I wanted. It is very much appreciated.
  15. R

    Simple query questions

    I think that could be the problem, but how do I relate it back to a record in the Athletes table?
  16. R

    Simple query questions

    Oh. If it helps the SQL for the query to calculate age from date of birth is - SELECT DateDiff("yyyy",[DOB],Now())+Int(Format(Now(),"mmdd")<Format([DOB],"mmdd")) AS Age FROM Athletes;
  17. R

    Simple query questions

    Okay. The SQL is - UPDATE Athletes, qryAge SET Athletes.[Age Group] = IIf(qryAge!Age>"18","Under 18",(IIf(qryAge!Age>"17" And [qryAge!Age]<"35","Under 35",(IIf(qryAge!Age>"34" And qryAge!Age<"45","Under 45",(IIf(qryAge!Age>"44" And [qryAge!Age]<"55","Under 55",(IIf(qryAge!Age<"44","Over...
  18. R

    Simple query questions

    Yeh, the IIF statement is in the update to cell. The [qryAge!Age] query returns four results as there are currently only four records in the table. There are no joins in the statement. Is there any other easier way of doing this?
  19. R

    Simple query questions

    Okay I have fixed the first mistake!! Whenever I run it it says it is going to update 16 rows, yet I only have four records in the database (just to test if it is working). Then when I go into the table all the age groups in the four records have been set to 'Under 18'.
  20. R

    Simple query questions

    I hope that this will be simple for you - I have a table which includes the fields Date of Birth and Age Group. Age Group is based on the persons age so I created a query (qryAge) to calculate age using the statement: DateDiff("yyyy",[DOB],Now())+Int(Format(Now(),"mmdd")<Format([DOB],"mmdd"))...
Back
Top Bottom