473,385 Members | 1,772 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Automatically moving data from 1 form to another after a certain amount of days

Im having some trouble trying to do this. Can somebody please help me..?

I have 3 forms:
FORM A, FORM B, FORM C.

FORM A lets me put data into a couple of text boxes ("Invoice No." & "Days waiting")

I want to have a "SUBMIT" button which sends the data from FORM A into a list format in FORM B.

FORM A is now clear a free to use for the next submission.

The data in FORM B sits on the list until the number of "Days Waiting" - from FORM A is up. Then it automatically moves from FORM B to FORM C.

Then, when you submit a second submission , this also is sent to FORM B and sits underneith the first one?

Im sure this is relativly easy, but fot the life of me, I cant do it and its driving me nuts!

Please, Somebody, HELP ME!!

Thanks

:o)
Mar 23 '11 #1
2 1791
NeoPa
32,556 Expert Mod 16PB
It's very unusual, but not impossible in a very restricted way, to store data in forms rather than in tables underlying the forms.

Your question indicates that you may actually be trying to do the former. Is that true? If so, and you can explain why you feel this is appropriate, then I may be able to help (Only after you've provided the information the question needs though, like what the forms are called; the names and types of the relevant objects; whether any of the objects are bound to underlying data; etc).

Please be careful to answer all questions in any response. So many members answer just one or some and expect us to proceed from there (which isn't practical).
Mar 23 '11 #2
TheSmileyCoder
2,322 Expert Mod 2GB
There are several ways to do such a thing. An example could be:

In your table include the 2 fields:
b_Submitted, Numeric Long, Default=0
dt_Submited, Date/Time, No Default
  • Form A
    Set the underlying query to have a where clause including only those fields where b_Submitted=0 (or False)
    When pressing your submit button in Form A do the following events:
    Set b_Submitted=True
    Set dt_Submitted=Date()
    Requery Form A.
  • Form B
    Set the underlying Query to only include those fullfilling;
    b_Submitted=True
    Date()<DateAdd("d";[Days waiting];dt_Submitted)
  • Form C
    Set the underlying query to only include those records fullfilling:
    b_Submitted=True
    Date()>=DateAdd("d";[Days waiting];dt_Submitted)

    I think this should fullfill your listed criteria.
Mar 24 '11 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Pif Paf | last post by:
I have a process, and my process wants to wait for input but only for a certain amount of time. The input might be coming from a Python file object (created with popen) or a TCP socket. What I...
1
by: Yoandy Mesa | last post by:
hi, I have to move data that meet certain criteria from one database that have many tables to another (identical) database. My question is what is the best way to do it? Should i make an stored...
3
by: Chanchito | last post by:
hi there, I am seeking some guidance in regards to creating a query. I would like to be able to have the query display records that have had a certain amount of time pass since the time that is...
1
by: Jack Wright | last post by:
Dear All, I have observed that if I call a synchronous WebService from my aspx page then even if I set oProxy.TimeOut = 1000, the WebService thread execution is still running... Since my...
2
by: Jim | last post by:
I know about and expect the first time an asp.net is viewed that the JIT compiler willc ompile the page and hence the slow response time for the page, but after a certain amount of time my asp.net...
1
by: Jeff Brown | last post by:
I am developing my First "Real" app and i am running in to the following problem. I use the data form wizard to create a form, so i do not have to manually do all the binding. But the only thing...
3
by: Iavor Raytchev | last post by:
Hello, We a situation with a central database that contains the data that needs to be presented at N off-line terminals (N can be 5 000 can be 15 000). Each terminal presents unique data. The...
9
by: sandykumar | last post by:
hiii i want to transfer data from one site to another site. there is a form in site www.abc.com and this form is similer to form of site www.xyz.com. data filled in form of site...
0
by: Peter Anthony | last post by:
It seems kind of strange that if a Form is just moved that Resize events fire. This makes it hard to tell the difference betweeen resizing and moving a Form. I can understand why resizing might...
6
HaLo2FrEeEk
by: HaLo2FrEeEk | last post by:
I'm making a screenshot program that lets me position a secondary form and press a button in the main form to take a screenshot where the second form is located. I have the second form set to have...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.