Recent content by Loolaa

  1. L

    Top 3 Shaded

    ah, thats a bit different! Never done it and I think you will need to assess the top three in a seperate routine as anything done in the detail section deals with the current record only. Sorry I can't be of more use! L
  2. L

    Prompt in a report, or supress extra pages

    Have a play around with this..... Option Compare Database Private vardate As Date Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer) Me!txtbox = vardate End Sub Private Sub Report_Open(Cancel As Integer) vardate = InputBox("enter date") End Sub L
  3. L

    Prompt in a report, or supress extra pages

    have this in the OnOpen event..... dim VarDate as date VarDate = inputbox("Enter Date") you can then pass this value to your query or to a text box hope this is what you were after L
  4. L

    next dates in report

    try using VBA, I know that this works Private Sub PageHeaderSection_Print(Cancel As Integer, PrintCount As Integer) Dim DateVar As Date DateVar = InputBox("Enter Date") Me!Text1 = DateVar Me!Text2 = DateVar + 1 Me!Text3 = DateVar + 2 Me!Text4 = DateVar + 3 End Sub L
  5. L

    Top 3 Shaded

    try this, it'll turn the backgorund light grey Option Compare Database Private RecCount As Integer Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) RecCount = RecCount + 1 If RecCount <= 3 Then Me.Detail.BackColor = 12632256 Else Me.Detail.BackColor = 16777215 End...
  6. L

    really need help with this!!

    if you want to list the customers and distributors all in one go try a union query.
  7. L

    Query Problem

    Write a query based on your table grouping the three fields, I am assuming that there is a transaction id field in your table, just make sure that you miss this out of your query. If you want the actual description of the salesperson, client and fund then link into the query the tables that...
  8. L

    Displaying OLE objects in a report (Access 97)

    Hi, If you want to print the word document at the end of your report I know that this works..... Private Sub Report_Close() On Error GoTo openerror Dim WordApp As Word.Application Dim WordDoc As Word.Document Set WordApp = New Word.Application Set WordDoc = New Word.Document Set WordDoc =...
  9. L

    A quick question

    erm... not sure, I don't tend to use word for things like this. I have a hunch though that word would only let you print one record per page, which is why you are getting your first record repeated 5 times. Perhaps you could try filling the topic details into an array so you only have one record...
  10. L

    A quick question

    Hi, I would recommend writing a query that links both tables and then using a report based on said query for your mail merge. The topic information will be listed in the detail part of the report and you can put the personal information plus the greeting in either the page header or in a group...
  11. L

    text alignment

    Unfortunatley, yes, each reocrd will have different text so a word document is not suitable. I think I'm going to have to admit defeat on this one! Thanks anyway.
  12. L

    Output Format argument

    the file and location need to be in a string so try.... "Q:\Paperwork\invoice" & RequestNumber & ".rtf" L
  13. L

    Output Report to RTF

    try this... DoCmd.OutputTo acOutputReport,"RptName",acFormatRTF,"file name and directory", etc etc HTH
  14. L

    text alignment

    Hi, I'm trying to align text in a text box. The text string is quite long, a paragraph in fact and I want it to be justified as its for a letter. I am using a text box as the text string changes depending on variables. I am using MS Access 2000 and so far I can only manage to centre, left, right...
Back
Top Bottom