Search results

  1. cheekybuddha

    scanning documents

    Did Dvorak delete themself, or have they been banished?
  2. cheekybuddha

    Pb VBA

    Good catch!
  3. cheekybuddha

    Pb VBA

    Peut-être: DoCmd GoToRecord acDataForm, «[fiche-personnes]», «PN = 'Père'» ou: DoCmd GoToRecord acDataForm, «[fiche-personnes]», «PN = '» & Père & «'»
  4. cheekybuddha

    List all song features

    Note we are in the Excel board, so perhaps macro just means VBA here?
  5. cheekybuddha

    Combox uses 'wrong' value list

    Unlikely if bound to a SQLServer BE, no? I agree with you, a sample db would be the only way to track down the issue.
  6. cheekybuddha

    Combox uses 'wrong' value list

    (y)
  7. cheekybuddha

    Combox uses 'wrong' value list

    Do you have any code/events for these controls in your form?
  8. cheekybuddha

    Combox uses 'wrong' value list

    it's probably just a typo, but Common is missing an opening double quote - double-check your actual RowSource, just in case this is causing an issue (unlikely!)
  9. cheekybuddha

    Solved Need help with number as text

    (y) (Though you still will need to escape and double up QUOTE within your input if either Me.Fld1 or Me.Fld2 might contain a QUOTE)
  10. cheekybuddha

    Solved Need help with number as text

    When building strings for SQL you will always have to escape whatever character is used as the string delimiter. Personally I find a pair of single quotes easier to parse mentally than a bank of three or four double quotes! 🤪 Of course, if you are doing any amount of it (building SQL...
  11. cheekybuddha

    Solved Need help with number as text

    Or more concisely still by using a bound form and placing code in the Form's Error event to catch the key violation. You also then no longer need to worry about requerying the form and returning to the same recordset position, delimiting/escaping your inputs etc. etc. But doesn't allow for...
  12. cheekybuddha

    Solved Need help with number as text

    What you posted is actually incorrect - it is difficult to see because you don't use a monospace font to view it. dubbel = "Bestelbon = "' & Me.txtBestelbonNew & '" ^ ^ ^ double quote too soon | | missing double |...
  13. cheekybuddha

    Solved Need help with number as text

    It will prevent an error in case anyone types a single apostrophe in txtBestelbonNew. Yes, you seem to have already found the answer in this other thread. Why are you asking again? Did it not work?
  14. cheekybuddha

    Solved Need help with number as text

    OK, but you are probably creating a lot more work for yourself, where Access would handle everything natively if you used bound forms.
  15. cheekybuddha

    Solved Need help with number as text

    Is your form not already bound to table Planning?
  16. cheekybuddha

    Solved Need help with number as text

    Try: dubbel = "Bestelbon = '" & Replace(Me.txtBestelbonNew.Value, "'", "''") & "'"
  17. cheekybuddha

    Solved (.Value) doesn't show textbox Value on Change() event

    I think you just mark the whole thread as Solved (Is there a button at the top of the thread?) I know you have said you are going to use UserForms, but I am attaching the Access version so you can see how simple it is in Access too. (y)
  18. cheekybuddha

    Solved (.Value) doesn't show textbox Value on Change() event

    Make the following changes in your code: Private Sub passwtxt_Change() With Me If Len(Trim$(.passwtxt.Text & vbNullString)) > 0 Then .passwtxt.BackColor = RGB(255, 255, 204) '&H80000005 Else .passwtxt.BackColor = RGB(255, 255, 255) '&HC0FFFF End If...
  19. cheekybuddha

    Solved (.Value) doesn't show textbox Value on Change() event

    Yes, there is. I guess Arnel was using hidden textboxes to demonstrate how it works. (I didn't look at his example) During the Change event the value in the textbox is 'uncommited' and you must use the .Text property to get the contents. The .Text property is only available when the textbox...
  20. cheekybuddha

    Solved Update broke Conditional Formatting?

    What happens if you try using bang syntax? Val([txtCarbsCalc])>TempVars!CarbLimit
Back
Top Bottom