Multiple fields same data

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
Dave_Smith_(Guest)
Posts: 1
Joined: Tue Oct 10, 2017 12:44 pm

Multiple fields same data

Post by Dave_Smith_(Guest) » Tue Jun 22, 2004 6:02 pm

I have run across a problem that I am stumped by. I have a table in an accounting program that I cannot change where the program stores similar data in multiple fields in the same table. This is a payroll file. It has three fields that can contain three different state tax codes. There are also three different state tax amounts as well. I need to report on the state taxes but the data for any give state could be in field1, field2, or field3 for any given record. Normally I would create a new table creating new records, one for each of the three fields. This is not an option since I am inside the program when R & R runs.____Does any one have any ideas short of creating 50 total fields, which would be one for each state?__

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Multiple fields same data

Post by kfleming » Wed Jun 23, 2004 8:53 am

You could perhaps create a state.dbf with one record for each state and then build 3 scan relations to the table, one for each field.__With V10 you can build indexes on the fly to make this happen.__You would have a reasonably complex multiple scan table structure but could avoid the need for 50 separate computations.____Kathleen__R&R Support

Post Reply