Recent content by mr_sd

  1. M

    One form for multiple queries?

    Brilliant! Thanks.
  2. M

    One form for multiple queries?

    Hi, I was wondering if it's possible to use one form to display the results of different queries. I have a form to make a booking, an identical form to display booking search results and another identical form to display today's bookings. When I update the database, I make identical changes to...
  3. M

    Total of 2 fields in a query

    I have a duplicate finding query which returns all the bookings that are on the same date at the same time. It also returns the number of people. I would like it to only return results where the total number of people is greater than 20. (all duplicate records [nopeople] fields added together)...
  4. M

    Confusing query - Criteria to only display current bookinds.

    I have a query which displays times of bookings for today. Booking times are formatted in 24hr clock without seconds eg "14:00" I need a criteria which will only display bookings up to 2 hours old so at 16:00 the 14:00 booking will no longer display. I have tried (in the booking time...
  5. M

    Tricky one, printing Word mail merge from form button.

    Just realised something really obvious Why don't I just make a report for the envelopes instead of a word mail merge?!? *Slaps Self* Sorry guys.
  6. M

    Tricky one, printing Word mail merge from form button.

    Anyone? :confused:
  7. M

    Tricky one, printing Word mail merge from form button.

    Hi, heres my problem: I have a database which prints letters. I have a word document which prints the envelopes via a mail merge from the database. I would like to know if there is any code I could use on a button which will automatically merge the 'envelopes' document to the printer rather...
  8. M

    Query to find the latest entry in a table

    My primary key is an autonumber althought there are some gaps between numbers
  9. M

    Query to find the latest entry in a table

    Where would I put this? In the criteria of [PartyID]? Kind Regards, Rich.
  10. M

    Query to find the latest entry in a table

    Hi, appologies if this has already been answered but I can't find it. I need a query to find the last/latest entry into a table by its primary key [PartyID] Kind regards, Rich.
  11. M

    VBProperCase with double barreled surnames??

    Genius!! Never would have thought of that. Thanks very much! :D
  12. M

    VBProperCase with double barreled surnames??

    I have a line of code in an afterupdate sub for my "surname" field: The code: Me.PartyName = StrConv(Me.PartyName, vbProperCase) The problem is when a double barreled surname is entered eg: Smith-Jones The code converts it to: Smith-jones. Is there a simple way to correct this? Thanks, Rich.
  13. M

    VB Line too long

    Cheers. Much appreciated.
  14. M

    VB Line too long

    Hi, I am modifying a database which was written by someone else. The database it used to take bookings from customers. The booking form saves to the table tbl_(dump)Partybookings The contents of this table are then moved to tbl_Partybookings and the dump table entry deleted. It uses this VB...
Back
Top Bottom