Re: new record



The trick will be to identify what is causing the error, and address that.

For example, if yo have a text box bound to:
=DLookup("Field1", "Table1", "ID = " & [ID])
when you are at a new record, the ID field is probably Null. As a result,
the 3rd argument is just:
ID =
which is incomplete, and so generates an error. You solve that by using Nz()
to supply some value, e.g.:
=DLookup("Field1", "Table1", "ID = " & Nz([ID],0))

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"dchristo" <dchristo@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B2E03282-C014-4215-A08C-CF5D9413B557@xxxxxxxxxxxxxxxx
When I add a new record, most of my calculated fields are showing up as
#errors; however, if I add the minimal information to the record and close
the form. Once I reopend the form and go to the record all the
calculations
are correct.

How do I refresh the screen or what should I do so they I do not have to
close the form then reopen to continue inputting data into the record


.



Relevant Pages

  • Re: list_head debugging.
    ... Ashley, any chance you can try and isolate which driver is causing this, by moving ... Maybe try that first, and if that does the trick, turn it back on and try the ...
    (Fedora)
  • Re: updatedb fails on F7....
    ... these pseudo filesystems is causing the problem, ... this seems to have done the trick. ... Check out fitting gifts for grads at Yahoo! ...
    (Fedora)
  • Re: Syntax Problem with formula code
    ... Ah that did the trick. ... Now what determines when I use the R1C1 option? ... >> quotes around my cell addresses and that is causing my ... >> However when I run the code it puts the following in the ...
    (microsoft.public.excel.programming)