Search results

  1. RayH

    For To Next Loop

    Private Sub Command80_Click() n = 1 Do Until n = Me.Text65.Value Me.("Text" & n).Visible = True n = n + 1 Loop End Sub
  2. RayH

    can anyone verify my sql behind a form

    You have variables of qdfapp and qdapp. Should these be the same?
  3. RayH

    change case

    How 'dumb' do I have to go? strMyString = StrConv(strMyString, vbPropercase) StrConv is a function that returns a converted string strMyString is the field your want to convert to 'proper case' vbProperCase is the code to tell it to do just that. Do you just want to display the converted...
  4. RayH

    change case

    strMyString = StrConv(strMyString, vbPropercase)
  5. RayH

    multiple count values needed

    Nice job!!:D
  6. RayH

    multiple count values needed

    Don't know about the uniqueness of Crosstabs to Access though or anything about ASP. Not much help am I :(
  7. RayH

    multiple count values needed

    TRANSFORM Count([Monday].[id]) AS CountOfid SELECT [Monday].[Team] FROM Monday GROUP BY [Monday].[Team] PIVOT [Monday].[Field4];
  8. RayH

    multiple count values needed

    Damn, You just beat me to it. Was just about to post the same thing. Good 'ol Rich
  9. RayH

    multiple count values needed

    Whoops! Totally misread that one. I'll work on it. Not as easy as I first thought.
  10. RayH

    Top 5 Records

    From Access Help: If you specify that a specific number of records be returned, all records with values that match the value in the last record are also returned.
  11. RayH

    multiple count values needed

    SELECT DISTINCT (select count(Team) from Monday where Team="P") AS Pcount, (select count(Team) from Monday where Team="T") AS Tcount FROM Monday;
  12. RayH

    Query Using Form Troubles

    Any chance you could post the db?
  13. RayH

    Query Using Form Troubles

    You don't need two date fields on the form (only need the field you are using in the filter) and theres no need for the criteria in the query the filter will do that for you.
  14. RayH

    Query Using Form Troubles

    what do you have now?
  15. RayH

    Numeric Feild Overflow

    We import a delimited text file via a macro each morning in order to generate a report and had a similar problem until recently. The macro would fail each time. So, I set the database to compact on close and now the problem has 'gone away'. I don't know the cause unfortunately.
  16. RayH

    Open Form Help

    Or, how about keeping the same query for all of the subforms and using a filter to select the records you want. This will save on maintenance if changes need to be made to the query.
  17. RayH

    Event on Record Change

    on current??
  18. RayH

    To display or not to display

    add this to your UP button code DoCmd.GoToRecord , , acPrevious and DoCmd.GoToRecord , , acNext to your DOWN button code. The reason it always deleted the first record is that the ACTUAL record never moved and always stayed on the first record.
  19. RayH

    Query Using Form Troubles

    Using a query as the recordsource to your form. Add a field called txtMyDate Add a command button called FilterButton Private Sub FilterButton_Click() Me.FilterOn = True Me.Filter = "([SubmitAfterDate]>=" & "#" & txtMyDate & "#)" End Sub
  20. RayH

    Query Using Form Troubles

    I am trying to understand what you need and reading between the lines are you saying that you want to setup a 'filter' to show only those records based on a range of dates? If you are not saying that then more details please.
Back
Top Bottom