PC Review


Reply
Thread Tools Rate Thread

Clean data in form when run AppendQuery

 
 
=?Utf-8?B?YW4=?=
Guest
Posts: n/a
 
      15th May 2006
Hi!

I have a form with a command button to run Append Query and close the form.

I would like, when open the form on next time, it show us all text boxes
with numbers cleaned (with zeros).

Thanks in advance.
an
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      15th May 2006
I'm not sure I see the connection between running an Append query and having
the form cleaned the next time.

An Append query adds data from Table A to Table B. How can you use that fact
to determine what needs to be cleaned on the form? Are you under the
(mis)impression that an Append query removes the data from Table A when it
adds it to Table B?

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"an" <(E-Mail Removed)> wrote in message
news:0B972A61-D925-48B7-9D99-(E-Mail Removed)...
> Hi!
>
> I have a form with a command button to run Append Query and close the
> form.
>
> I would like, when open the form on next time, it show us all text boxes
> with numbers cleaned (with zeros).
>
> Thanks in advance.
> an



 
Reply With Quote
 
=?Utf-8?B?YW4=?=
Guest
Posts: n/a
 
      16th May 2006
Sorry for my bad explanation.

I have a table B, to Historic values, where add new data trought run append
query.
Is correct?

But when we "reopen" the form to new data, (naturally) it show us the last
values entry.
I would like, if is possible, to clean all that last values...

Thanks.
an

"Douglas J. Steele" wrote:

> I'm not sure I see the connection between running an Append query and having
> the form cleaned the next time.
>
> An Append query adds data from Table A to Table B. How can you use that fact
> to determine what needs to be cleaned on the form? Are you under the
> (mis)impression that an Append query removes the data from Table A when it
> adds it to Table B?
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no private e-mails, please)
>
>
> "an" <(E-Mail Removed)> wrote in message
> news:0B972A61-D925-48B7-9D99-(E-Mail Removed)...
> > Hi!
> >
> > I have a form with a command button to run Append Query and close the
> > form.
> >
> > I would like, when open the form on next time, it show us all text boxes
> > with numbers cleaned (with zeros).
> >
> > Thanks in advance.
> > an

>
>
>

 
Reply With Quote
 
Douglas J Steele
Guest
Posts: n/a
 
      16th May 2006
Are you asking how to remove the values from the original table?

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"an" <(E-Mail Removed)> wrote in message
news:963BF591-4463-404C-AFA2-(E-Mail Removed)...
> Sorry for my bad explanation.
>
> I have a table B, to Historic values, where add new data trought run

append
> query.
> Is correct?
>
> But when we "reopen" the form to new data, (naturally) it show us the last
> values entry.
> I would like, if is possible, to clean all that last values...
>
> Thanks.
> an
>
> "Douglas J. Steele" wrote:
>
> > I'm not sure I see the connection between running an Append query and

having
> > the form cleaned the next time.
> >
> > An Append query adds data from Table A to Table B. How can you use that

fact
> > to determine what needs to be cleaned on the form? Are you under the
> > (mis)impression that an Append query removes the data from Table A when

it
> > adds it to Table B?
> >
> > --
> > Doug Steele, Microsoft Access MVP
> > http://I.Am/DougSteele
> > (no private e-mails, please)
> >
> >
> > "an" <(E-Mail Removed)> wrote in message
> > news:0B972A61-D925-48B7-9D99-(E-Mail Removed)...
> > > Hi!
> > >
> > > I have a form with a command button to run Append Query and close the
> > > form.
> > >
> > > I would like, when open the form on next time, it show us all text

boxes
> > > with numbers cleaned (with zeros).
> > >
> > > Thanks in advance.
> > > an

> >
> >
> >



 
Reply With Quote
 
=?Utf-8?B?YW4=?=
Guest
Posts: n/a
 
      16th May 2006
Thanks for your reply.

Basically, yes.

an

"Douglas J Steele" wrote:

> Are you asking how to remove the values from the original table?
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "an" <(E-Mail Removed)> wrote in message
> news:963BF591-4463-404C-AFA2-(E-Mail Removed)...
> > Sorry for my bad explanation.
> >
> > I have a table B, to Historic values, where add new data trought run

> append
> > query.
> > Is correct?
> >
> > But when we "reopen" the form to new data, (naturally) it show us the last
> > values entry.
> > I would like, if is possible, to clean all that last values...
> >
> > Thanks.
> > an
> >
> > "Douglas J. Steele" wrote:
> >
> > > I'm not sure I see the connection between running an Append query and

> having
> > > the form cleaned the next time.
> > >
> > > An Append query adds data from Table A to Table B. How can you use that

> fact
> > > to determine what needs to be cleaned on the form? Are you under the
> > > (mis)impression that an Append query removes the data from Table A when

> it
> > > adds it to Table B?
> > >
> > > --
> > > Doug Steele, Microsoft Access MVP
> > > http://I.Am/DougSteele
> > > (no private e-mails, please)
> > >
> > >
> > > "an" <(E-Mail Removed)> wrote in message
> > > news:0B972A61-D925-48B7-9D99-(E-Mail Removed)...
> > > > Hi!
> > > >
> > > > I have a form with a command button to run Append Query and close the
> > > > form.
> > > >
> > > > I would like, when open the form on next time, it show us all text

> boxes
> > > > with numbers cleaned (with zeros).
> > > >
> > > > Thanks in advance.
> > > > an
> > >
> > >
> > >

>
>
>

 
Reply With Quote
 
Douglas J Steele
Guest
Posts: n/a
 
      16th May 2006
How are you determining which records to append to the history table?

Use that criteria as the basis for a delete query to remove them from the
original table.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"an" <(E-Mail Removed)> wrote in message
news:4E58F82A-5F2C-460B-8DC3-(E-Mail Removed)...
> Thanks for your reply.
>
> Basically, yes.
>
> an
>
> "Douglas J Steele" wrote:
>
> > Are you asking how to remove the values from the original table?
> >
> > --
> > Doug Steele, Microsoft Access MVP
> > http://I.Am/DougSteele
> > (no e-mails, please!)
> >
> >
> > "an" <(E-Mail Removed)> wrote in message
> > news:963BF591-4463-404C-AFA2-(E-Mail Removed)...
> > > Sorry for my bad explanation.
> > >
> > > I have a table B, to Historic values, where add new data trought run

> > append
> > > query.
> > > Is correct?
> > >
> > > But when we "reopen" the form to new data, (naturally) it show us the

last
> > > values entry.
> > > I would like, if is possible, to clean all that last values...
> > >
> > > Thanks.
> > > an
> > >
> > > "Douglas J. Steele" wrote:
> > >
> > > > I'm not sure I see the connection between running an Append query

and
> > having
> > > > the form cleaned the next time.
> > > >
> > > > An Append query adds data from Table A to Table B. How can you use

that
> > fact
> > > > to determine what needs to be cleaned on the form? Are you under the
> > > > (mis)impression that an Append query removes the data from Table A

when
> > it
> > > > adds it to Table B?
> > > >
> > > > --
> > > > Doug Steele, Microsoft Access MVP
> > > > http://I.Am/DougSteele
> > > > (no private e-mails, please)
> > > >
> > > >
> > > > "an" <(E-Mail Removed)> wrote in message
> > > > news:0B972A61-D925-48B7-9D99-(E-Mail Removed)...
> > > > > Hi!
> > > > >
> > > > > I have a form with a command button to run Append Query and close

the
> > > > > form.
> > > > >
> > > > > I would like, when open the form on next time, it show us all text

> > boxes
> > > > > with numbers cleaned (with zeros).
> > > > >
> > > > > Thanks in advance.
> > > > > an
> > > >
> > > >
> > > >

> >
> >
> >



 
Reply With Quote
 
=?Utf-8?B?YW4=?=
Guest
Posts: n/a
 
      16th May 2006
Ok, DJS,

It lacked the "click"...

Thank you for your help.
an

"Douglas J Steele" wrote:

> How are you determining which records to append to the history table?
>
> Use that criteria as the basis for a delete query to remove them from the
> original table.
>
> --
> Doug Steele, Microsoft Access MVP
> http://I.Am/DougSteele
> (no e-mails, please!)
>
>
> "an" <(E-Mail Removed)> wrote in message
> news:4E58F82A-5F2C-460B-8DC3-(E-Mail Removed)...
> > Thanks for your reply.
> >
> > Basically, yes.
> >
> > an
> >
> > "Douglas J Steele" wrote:
> >
> > > Are you asking how to remove the values from the original table?
> > >
> > > --
> > > Doug Steele, Microsoft Access MVP
> > > http://I.Am/DougSteele
> > > (no e-mails, please!)
> > >
> > >
> > > "an" <(E-Mail Removed)> wrote in message
> > > news:963BF591-4463-404C-AFA2-(E-Mail Removed)...
> > > > Sorry for my bad explanation.
> > > >
> > > > I have a table B, to Historic values, where add new data trought run
> > > append
> > > > query.
> > > > Is correct?
> > > >
> > > > But when we "reopen" the form to new data, (naturally) it show us the

> last
> > > > values entry.
> > > > I would like, if is possible, to clean all that last values...
> > > >
> > > > Thanks.
> > > > an
> > > >
> > > > "Douglas J. Steele" wrote:
> > > >
> > > > > I'm not sure I see the connection between running an Append query

> and
> > > having
> > > > > the form cleaned the next time.
> > > > >
> > > > > An Append query adds data from Table A to Table B. How can you use

> that
> > > fact
> > > > > to determine what needs to be cleaned on the form? Are you under the
> > > > > (mis)impression that an Append query removes the data from Table A

> when
> > > it
> > > > > adds it to Table B?
> > > > >
> > > > > --
> > > > > Doug Steele, Microsoft Access MVP
> > > > > http://I.Am/DougSteele
> > > > > (no private e-mails, please)
> > > > >
> > > > >
> > > > > "an" <(E-Mail Removed)> wrote in message
> > > > > news:0B972A61-D925-48B7-9D99-(E-Mail Removed)...
> > > > > > Hi!
> > > > > >
> > > > > > I have a form with a command button to run Append Query and close

> the
> > > > > > form.
> > > > > >
> > > > > > I would like, when open the form on next time, it show us all text
> > > boxes
> > > > > > with numbers cleaned (with zeros).
> > > > > >
> > > > > > Thanks in advance.
> > > > > > an
> > > > >
> > > > >
> > > > >
> > >
> > >
> > >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ignore keyviolation in appendquery John J. Microsoft Access 5 11th Oct 2008 07:50 PM
IIF/UpdateQuery/AppendQuery??? susan Microsoft Access Queries 1 9th Jul 2008 11:15 PM
appendquery =?Utf-8?B?QW1hdGV1cg==?= Microsoft Access 2 23rd Apr 2007 01:39 PM
Help with AppendQuery wesley.allen@gmail.com Microsoft Access Queries 3 25th Oct 2006 12:42 AM
AppendQuery =?Utf-8?B?RGF2aWQj?= Microsoft Access Queries 0 9th May 2005 02:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:26 AM.