Search results

  1. B

    Do I need zero length string query

    Great - done it - thanks very much!
  2. B

    Do I need zero length string query

    In a database that holds membership records, I have three years worth of info relating to membership dues paid. I want to extract who has not paid a membership fee for the last three years, so we can strike them off our records, i.e. I have members' personal details, but there are no records in...
  3. B

    Transferring data from one form/table to another

    My db is currently set up like this: tblMemberDetails - contains personal info tblAddresses - holds company address details/phone/email and home address details/phone/email We now want to restructure our membership to include corporate membership, i.e. one company may have several employes who...
  4. B

    Design for membership db

    OK, hope this helps. I have the following tables: MembershipDetails - containing personal details, join date, status, etc. Addresses - home and company addresses Payments - a record of payments made, how much, when, who by (self or company) MembershipStatus - a look up table Regions - a look...
  5. B

    Design for membership db

    I have put together a membership db for the company where I work. It has about 2000 individual members; members have different membership status, eg student, fellow, etc. They pay different amounts according to their status. Membership has been renewable annually In January – this meant that...
  6. B

    If, Else statement with current record

    I did not have the solicitorID on the form because I guessed you could refer to it (and that was really the bit I was not sure about!!) but I have put it on the main form (rather than the sub form) as a combo box and put it in as a field in tblInvoices - though this is duplication isn't it...
  7. B

    If, Else statement with current record

    I am using this bit of code, but I am sure I am missing other coding. This is what I have currently: Private Sub Print_Click() On Error GoTo Err_Print_Click Dim stInvPriv Dim stInvLocum stInvPriv = "rptInvoicePrivateClients" stInvLocum = "rptInvoiceLocumWork" If...
  8. B

    If, Else statement with current record

    No, this doesn't work. Don't I have to declare a variable? This is the bit that I am not sure of.
  9. B

    If, Else statement with current record

    I started a thread on this yesterday, but realised I was some way off achieving what I want, so am starting a new thread. Have attached copy of my db. What I want to achieve is this: From frmLayClientDetails click on the cmd button See invoice details, then click on the cmd button Preview this...
  10. B

    Printing current record

    This could go in forms or reports, I think but: I have a database which I am developing over time as I see ways of improving it and as I learn bits of vba. My current problem relates to invoicing (that I have probably created for myself!): I currently have two invoice report layouts because...
  11. B

    Printing with FrontPage

    I have created my first website using FrontPage2003. I used layout tables for placement of text and pictures and put a coloured border on the outside of each cell, but this border does not print. Why is this, or how do I get it to print?
  12. B

    Simple If statement

    Knew it had got to be something simple - many thanks
  13. B

    Simple If statement

    I have created an invoice, pulling the data together from three tables with a query. The business is now registered for Value Added Tax. I have added a text box in the page footer of the invoice with the following expression: =IIf([InvoiceDate]>31/7/2006,"Vat @ 17.5%"," ") So that the...
  14. B

    Principles of table/form design?

    I'm working on a db for a colleague. It is a databse of clients, some with whom he works directly (PrivateClients) and some through other agencies (LocumClients). I have a list of locum clients with their addresses in a lookup table and in the main client form purely select the agency via a...
  15. B

    Lock a field

    I've looked through the forum but haven't found quite what I want. I am a novice but realise this is going to be a relatively simple one .... I use an invoice form for my own business with client details and a sub form with invoice lines. The client is selected via a combo box. I realise the...
  16. B

    SQL Statement?

    Brilliant - thanks. . I have done it both ways and got the same results, however, the db will be large in due course (well, hopefully) so will rely on the unmatched query (never thought of that!) Many thanks
  17. B

    SQL Statement?

    I am using a database that holds (amongst other things) payments received from a membership. This info is held in tblPayments. When payments are received I enter a new record against the membership number and in a field named PdForYr I enter the year for which they are paying, i.e. current...
  18. B

    Placement of controls on a report

    Doh!! Cheers for the reminder - just needed a prompt!
  19. B

    Placement of controls on a report

    Like you say, the page footer placement doesn't move, this would be great but it comes too far down on my headed paper. ??
  20. B

    Placement of controls on a report

    I have produced an invoice as a report. Invoices may have several lines; I have a text box in a group footer calculating the invoice total. The invoice is to be printed on headed paper, so the total amount must always print in the same location. However, when there are a number of invoice...
Top Bottom