G
Guest
Hello
I have a database for tracking payments and charges for a small clinic. I need to print on claim forms, which can have six lines of activity on each form. Because I can't modify the size or location of any of the data on the form, I had to substitute a subform where I would generally just place the detail section (since multiple records will place the header/footer in a different place). Here's the explanation of my question
The main query includes records by ClientID, ProviderID, and AuthorizationN
The query for the subform includes records by ClientID, ProviderID, AuthorizationNo, and ActivityI
I need to add another field (call it PageCount) attached to each activityID. I need every six records by Client, Provider, and AuthorizationNo to have a new PageCount value. For instance
ClientID ProviderID AuthorizationNo ActivityID PageCoun
1211 68 00444 1233
1211 68 00444 1234
1211 68 00444 1235
1211 68 00444 1237
1211 68 00444 1240
1211 68 00444 1241
1211 68 00444 1249
1211 68 00444 1350
4898 101 03SF7 1898
4898 101 03SF7 1925
..
I could then add this value to each query, and join them by it to force a new page for every six lines of activity. If I can't do this I will have to break it down by month or some other value, which will force only one or two lines per page, which is too small a number.
I have a database for tracking payments and charges for a small clinic. I need to print on claim forms, which can have six lines of activity on each form. Because I can't modify the size or location of any of the data on the form, I had to substitute a subform where I would generally just place the detail section (since multiple records will place the header/footer in a different place). Here's the explanation of my question
The main query includes records by ClientID, ProviderID, and AuthorizationN
The query for the subform includes records by ClientID, ProviderID, AuthorizationNo, and ActivityI
I need to add another field (call it PageCount) attached to each activityID. I need every six records by Client, Provider, and AuthorizationNo to have a new PageCount value. For instance
ClientID ProviderID AuthorizationNo ActivityID PageCoun
1211 68 00444 1233
1211 68 00444 1234
1211 68 00444 1235
1211 68 00444 1237
1211 68 00444 1240
1211 68 00444 1241
1211 68 00444 1249
1211 68 00444 1350
4898 101 03SF7 1898
4898 101 03SF7 1925
..
I could then add this value to each query, and join them by it to force a new page for every six lines of activity. If I can't do this I will have to break it down by month or some other value, which will force only one or two lines per page, which is too small a number.