Re: Appending monthly data
From: Dan Freeman (spam_at_microsoft.com)
Date: 02/23/05
- Next message: Dennis Longfellow: "Re: Appending monthly data"
- Previous message: 43fan: "Using VFP to read/write from/to a file created in VB?"
- In reply to: Dan Williams: "Re: Appending monthly data"
- Next in thread: Dennis Longfellow: "Re: Appending monthly data"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 23 Feb 2005 11:18:15 -0800
Two things spring to mind:
1) Make the last line of the command button's click method
this.Enabled=.f. -- in other words, once they've run it once, turn it off
2) Getting a password is as easy as calling InputBox(), although it can be
done in other (more robust) ways.
Dan
Dan Williams wrote:
> I have gone as far as I can with the limited abilities I have.
> I have everything working the way I want, but here is the trouble.
> I collect the data, and save to tables, and poplute a report with the
> data. I give end use the ability to run this via a form, with a
> command button that makes it all happen.
> Problem is, if they click the button twice, or three times, it does
> what it is told to do in that it appends the data, however this is
> not good. It should only be allowed to append that data the one time.
> The only work around that comes to mind is to create a sub
> administration form that an admin would go to and execute the code.
> This is one spot that would be a big help to have the ability to
> force a password for use of a "command button"
> Dan
>
> "Dan Williams" <dan@willcraft.com> wrote in message
> news:111ndrifad09k2c@news.supernews.com...
>> Hi,
>> I have created a "remote view" to grab some employee data from our
>> AS400 just before we process payroll (once the process payroll
>> procedure is run, this data is no longer available on the AS400).
>> I would like the ability to have this info show in a table, all 12
>> months. I am guessing I would create a table that would hold this
>> data, but do not know how I would automate getting the remote view
>> to populate this table. I would then like to design a report that
>> would show the employee the current info, and the past info.
>> Where I am at with it now is I have the remote view working, getting
>> the current info, and a report reporting that current info, so I am
>> part way there, just need to learn how to collect and record the
>> historical data. Dan
- Next message: Dennis Longfellow: "Re: Appending monthly data"
- Previous message: 43fan: "Using VFP to read/write from/to a file created in VB?"
- In reply to: Dan Williams: "Re: Appending monthly data"
- Next in thread: Dennis Longfellow: "Re: Appending monthly data"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|