Hi everybody,
I am having a problem and be honest I am stuck with it , therefore any advise will be very helpful and appreciated .
The problem is that I have a table that is used to import excel file .There 6 fields that is
Name,JSTExpenses, Amount, Date, Court and Current Balance. The table is used to sort the records and then uploaded into Oracle to print a lot of checks .Every week around 15000-20000 records have been imported so it is pretty large table . The management would like now to separate JSTExpenses that called “Alliance “ into separated table and print the checks separately for this expense .I can do it in the simple cross query , but the problem that with every checks applied to Alliance and any cost second checks comes that issued to “JJL Service” that is also named in JST Expenses so there are two records and one record in unique and another is not .”JJL Service” is the same for all JSTExpenses records .The problem I need to separated records by “Alliance” that I can do and by “JJL service” that is the same for all expenses .The arrangement is in the first initial table like this
Alliance
JJL
Alliance
JJL
Meditation
JJL
Common field in here only Name if the checks Alliance and JJL should be printed together. I need to create a query like this if the first record in the filed JSTExpessssnes is :”Alliance” the next recorded that it si JJL should separated as well into query and so on .
Just for me it is kind of frustrated .First, I did make new field called IDCost and applied 1 for Alliance and 2 for JJL , but all JJL get IDcost 2 , but I need only those that related to Alliance.
Thank you in advance for any advice or input,
The Best Regards,
BorisGomel