A2K - update to field problem



I'm updating a field by saying;

me.txtName = varName

But if I step through the code and do a dlookup on this field it's null.
Looking at table while the code is running also show the field to be null.

After the code completes and I'm back on the form, the table does indeed
show the value.

How is this happening? I need to refer to this value in code but it's no
good to me if it's null.


thanks
Martin




.



Relevant Pages

  • Cannot send email from 2007 docs
    ... window comes back saying cannot log on the microsoft exchange to access your ... Doug Robbins replied that registry may need updating - mine is set as he ...
    (microsoft.public.office.misc)
  • Re: Easy - if you know how.
    ... actually writing to disks. ... No read cache, slow write. ... I do not understand what you are saying. ... Could I make my system faster by updating all files to 1 second ...
    (alt.os.linux.suse)
  • Re: These pedals any good?
    ... Yea, sorry about that. ... you can see that everyone is just posting ... things without saying why they think this. ... Thanks for updating your ...
    (rec.sport.unicycling)
  • Error Message!!!!!!!!!!
    ... I have a form where I used a Dlookup. ... error message from vb saying "Previous operation cancelled.". ... note that form '8' runs in hidden mode(clever han). ...
    (microsoft.public.access.formscoding)
  • Re: Need some advice on ADO .NET
    ... "Dave Fancher" wrote: ... > because your DBMS and your table structure along with what data you're ... > updating will make a difference. ... I understand what you're saying, but I didn't want to get bogged down in a single example when I'm really looking for the right "approach" in general. ...
    (microsoft.public.dotnet.framework.adonet)