Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parent Child Update Problem
Message
De
16/05/2003 16:35:17
 
 
À
16/05/2003 15:38:18
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00788911
Message ID:
00789494
Vues:
20
>Sounds like a botch-job to me. I would look for a more natural solution. I am not really sure what you are doing exactly, but no way should you have to start replacing the value of cWorkarea with a different value. Somewhere, it seems you haven't got it quite right. I would suggest reviewing your code.

The only other thing that I can think of is to call the save event of days in the beforenav() for this form. That way I wouldn't be overriding the cWorkarea, but I would be getting my neccesary tableupdate on the Days table.

The only thing that I really need is a good place to update the Days record right after it is appended without updating the initial Groups record that I am adding for the users benefit.

This is only a one form job. Maybe I am making more out of it than is needed, but now I'm just trying to figure out how Codemines internals can and can not work.

What I am trying to do is.

Users enter these orders everyday. They will start a new day when they get their first order. They will also enter group records for that day at that time. They will reload the program when needed and enter more groups for that day until around 5 o'clock when they shut down. I am using the day record as a lookup record only. They can go back and look at what groups they have processed for the previous days.

The users have stacks of order forms that they enter groups off of. As they enter these groups I need to tell them per group if it can be handled automatically or if they'll have to do the job by hand. (This is why I selected row buffering for the groups table) As I tell them this, they put the orders in an automatic or manual basket. If it is a manual job, I don't want to save that record.

At the end of the day they press a process button, and the program will restore all group orders from CDs that I can do automatically. That day is then marked as processed and they can't do any thing more to that day.

I hope maybe I have clarified a bit what I am wanting to do. I do appreciate you letting me bounce ideas off of you. It is great to be able to be in contact with someone that uses codemine too. Thanks.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform