I'd like to create a continuous subform, consisting of unique unbound controls, in order to present the user a screen that resembles a spreadsheet for data entry.
Background:
There is a contracts table called `sov`. Each contract has many items in `sov_item`.
We need an invoice screen, to enter amounts against contract items, ie `sov_item`. However, the amounts also need to be broken out by work type, eg Labor, Materials, etc.
Invoices tables are `invoice` (linked to `sov`), `invoice_item` (linked to `sov_item`) and `invoice_item_type`.
Rather than using the traditional subform approach, it would be far easier for a user to enter data in a format that resembles a spreadsheet. This would have "columns" like:
I could build this subform as a Single Form, using CreateControl, populating the fields as I go with any existing data, and then saving all updated data in one go from a button [Save Changes]. That shouldn't be a problem.
However, using a Continuous Form would have important benefits, such as the ability to Sort and Filter.
I have my doubts that this is possible, but I thought I'd ask if any of the very clever people on this forum had ever tried something like this?
MTIA
Max Hugen
Australia
Background:
There is a contracts table called `sov`. Each contract has many items in `sov_item`.
We need an invoice screen, to enter amounts against contract items, ie `sov_item`. However, the amounts also need to be broken out by work type, eg Labor, Materials, etc.
Invoices tables are `invoice` (linked to `sov`), `invoice_item` (linked to `sov_item`) and `invoice_item_type`.
Rather than using the traditional subform approach, it would be far easier for a user to enter data in a format that resembles a spreadsheet. This would have "columns" like:
Code:
Contract Item | Quantity | Labor Cost | Materials Cost | Total Cost
----------------------------------------------------------------------
Item 1 | 100 | $200 | | $200
Item 2 | 10 | $1000 | $1500 | $2500
Item 3 | | | |
Item 4 | 30 | | $2000 | $2000
I could build this subform as a Single Form, using CreateControl, populating the fields as I go with any existing data, and then saving all updated data in one go from a button [Save Changes]. That shouldn't be a problem.
However, using a Continuous Form would have important benefits, such as the ability to Sort and Filter.
I have my doubts that this is possible, but I thought I'd ask if any of the very clever people on this forum had ever tried something like this?
MTIA
Max Hugen
Australia