![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I need to move customers from the Current table to the Obsolete table, but keep the relationships they had with orders and invoices (users need to be able to access those orders and invoices from the client table - a portal or whatever). s there a better way to do it? |
#3
| |||
| |||
|
|
Carlos Pereira <carlosp- (AT) nnhotmail (DOT) com> wrote: I need to move customers from the Current table to the Obsolete table, but keep the relationships they had with orders and invoices (users need to be able to access those orders and invoices from the client table - a portal or whatever). s there a better way to do it? I prefer using one address (customer) table only. I use a field to determine whether the address is valid or not. You can do the same with current and obsolete, and may script searches to make sure users will find only the current customers. |
#4
| |||
| |||
|
|
Thanks Chirstoph, but my question was about the model I propose. I have already tried the kind of solution you propose, and it is fine up to a certain point where you have to script very complex searches, finds and replaces, exclude records from reports, etc. All this is much easier if you take advantage of FM7+ (8.5 actually) capability to create unlimited number of tables. I want to use it, but I would like to know if somebody else is using it and how. Any comments? |
#5
| |||
| |||
|
|
Carlos Pereira wrote: Thanks Chirstoph, but my question was about the model I propose. I have already tried the kind of solution you propose, and it is fine up to a certain point where you have to script very complex searches, finds and replaces, exclude records from reports, etc. All this is much easier if you take advantage of FM7+ (8.5 actually) capability to create unlimited number of tables. I want to use it, but I would like to know if somebody else is using it and how. Any comments? I see that you don't like Christoph's answer, but it is the best answer. Feel free to make an archive table for records, but in my opinion, it should be a one way street for old records, not a semi-temporary storage location for out-of-touch customers that might come back. A single field can pretty easily keep track of which customers are current for finds and reports, etc. I have a "Customer Type" kind of field which can contain "Customer" or "Ex-Customer" among other types. The trouble caused by having old customers in your file is eclipsed by the trouble and complexity of trying to move customer records between two tables and still keep everything straight. That's my comment. |
![]() |
| Thread Tools | |
| Display Modes | |
| |