Search results

  1. R

    Enter current date into field Button!!!

    Wouldn't it be more feasible to use default values against your fields? Would be a bit more user friendly ;) RV
  2. R

    Plz help! Query for Summing individual records on their own

    Not really. You do need to post your current query. RV
  3. R

    Delete Spaces in text field

    Replace function should read Replace(.Field("PostCode"), " ", " ") as you want to strip out a space, not add one ;) RV
  4. R

    Plz help! Query for Summing individual records on their own

    Not sure what you're after then. Post your current query. RV
  5. R

    Query with criteria<>0 problem

    You're quite right ;) Including [TotalSDNI]and [InvoiceTotal] in the GROUP BY clause should also work though, although the retrieved row will be grouped slightly different. RV
  6. R

    Count Multiple Fields

    Sure, no prob. Yes = -1, No = 0. So by summing all values you'll get -1 multiplied by the number of times you ticked "yes". Multiplying the sum hence results in the requested total. RV
  7. R

    Count Multiple Fields

    Field1YesCount: -1*Sum([Field1]) Et cetera. RV
  8. R

    combobox - number format

    OK, I can see what your problem is. You get the square character rather then the number. Works fine for me. I can't tell you what's happening on your side. Perhaps somebody else can. RV
  9. R

    Query with criteria<>0 problem

    That's not what the error message is 'bout. Aggregate refers to the fact that an aggregation function is used. In a query using aggregate functions you need to group on each and every column you didn't include in an aggregation function. As far as I recall, you can't refer to aliases in GROUP...
  10. R

    Query with criteria<>0 problem

    You need to group on [TotalSDNI]-[InvoiceTotal] RV
  11. R

    Table lookup field displays as number in REPORT

    Don't use lookup fields. Look here for the reason why: http://www.mvps.org/access/lookupfields.htm Base your report on a query. Combine the two tables in your query, using a join on countyID. In your query, include the column County from your counties table. RV
  12. R

    combobox - number format

    It is. Run Q_form1a. It comes up asking you to enter a parameter Forms!Form1!vormbeheer plus a parameter Forms!Form1!vormbeheer0. For both parameters, enter 2. Query result looks fine to me. So what's your problem? RV
  13. R

    combobox - number format

    I figured you were as your table definitions and structure tells me so ;) Anyway, I had a look at your sample. Could you explain your problem a bit more as I can't see any. RV
  14. R

    combobox - number format

    Otto, this is not I a strange fenomenon, it's how combo's work. I'm not sure what you're after but here's some advices. You need to define primary keys on all your tables. Use an autonumber colimn to reflect your primary keys. You should define relationships between your tables. Base your...
  15. R

    File size to lare for VPN client

    Search the forum on VPN. RV
  16. R

    Any reason why a calc'ed control doesn't actually have an "update" event?

    Yes, your understanding is correct. Now of course the are exceptions to this rule none of which apply to your case. In case you want to run reports, which you normally want if you want to generate iinvoices, you base your report on a query. Normally you can use the same query as a base for the...
  17. R

    Any reason why a calc'ed control doesn't actually have an "update" event?

    Again, you don't store calculated data in tables. Referring to me previous reply. RV
  18. R

    Any reason why a calc'ed control doesn't actually have an "update" event?

    I'm not sure wat your frustration is all 'bout, but could it be that you're not too familiar yet with Access yet ;) An unbound control indeed does habe an After Update event. Calculated data is not stored in tables. If you want to review calculated data outside your form, then start using...
  19. R

    I want to create conditional Validation Rule

    What you need is some VBA code on the Before Update event of the control where you enter your integer. Basic code is If Me.cmbCC.Column(0) = 1 Then If Me.nameofcontrol < 10 Or Me.nameofcontrol > 20 Then MsgBox "Enter a value between 10 and 20" Me.nameofcontrol.Undo End If End If If you're...
  20. R

    How to Copy Records to different table

    You need to use an append query as suggested by TanisAgain. One important remark regarding your variables. You need to explicitally declare all variables. If you don't, the default Variant will be used. For instance, this piece of code you posted Dim lngOuterCounter, lngInnerCounter As Long...
Back
Top Bottom