Search results

  1. M

    How big is a long int ?

    I need to know how big a number I can hold in a "Long Integer". The only documentation I can find says it's roughly +/- 2 billion. Is that a USA billion (10^9)or a UK billion (10^12) ? I'm guessing it's a 32bit number so that would be a USA billion. Can anyone confirm this ?
  2. M

    Problem with form resize

    Thanks, but where do you get the current form size from ? It's not form.width and form.height because they don't change as the form is resized by dragging the form edge.
  3. M

    Problem with form resize

    I've got a form and have set the border style to "sizable" and when the form/code is running I can change the size of the form by dragging the edge with the mouse, BUT, form.width and form.height do not change. Hence I cannot pick up any value for the new form size and recalulate control sizes...
  4. M

    Why do I NOT get a duplicate key error ?

    Thanks. Having read the blurb it talks about using transactions too. But that is just plain daft, because how do you know to issue an explicit rollback if you can't detect the error. Hmmm, I think I'll experiment with .addnew Thanks for the prompt to read the blurb.
  5. M

    Why do I NOT get a duplicate key error ?

    I have a simple table called "dummy" with one field that is the primary unique key. The following code does NOT produce a duplicate key error. Why is that ? Private Sub Form_Load() Dim dbsCurrent As dao.Database Set dbsCurrent = CurrentDb() On Error GoTo ooops...
Back
Top Bottom