G
Guest
Hey all:
I could really use some ideas for a solution to this problem of creating a
tab-style interface that would allow the client to edit records.
I have four tables:
tblCompanies (co_id, co_name)
tblListFields ((PK)field_id, list_id, field_name)
tblListFieldValues ((FK)field_id, field_value)
I've created a cross-tab query:
TRANSFORM Avg(TESTINPUT.fieldvalue_id) AS AvgOffieldvalue_id
SELECT TESTINPUT.co_name
FROM TESTINPUT
GROUP BY TESTINPUT.co_name
PIVOT TESTINPUT.field_name;
which utilizes the following select query (TESTINPUT):
SELECT tblListFieldValues.*, tblCompanies.co_name, tblListFields.field_name
FROM (tblCompanies INNER JOIN tblListFieldValues ON
tblCompanies.co_id=tblListFieldValues.co_id) INNER JOIN tblListFields ON
tblListFieldValues.field_id=tblListFields.field_id;
My goal is that I need to provide the tab-style interface for the client who
will be entering field values for each company. They believe this is the
fastest way for them to enter field values for many clients in each list. The
cross-tab query gives me EXACTLY the type of interface I'm looking for but I
cannot edit the data like you can with a standard select query. I've also
generated a form using the crosstab as a recordsource, but still it won't
allow me to edit the data.
Basically, I need to generate the following editable interface:
company name field_name field_name field_name
Company1 value1 value2 value3
Company2 value1 value2 value3
This is probably a wicked unclear explanation, but any ideas would be wildly
appreciated so I can get this project over and done with!!
Thanks very much
I could really use some ideas for a solution to this problem of creating a
tab-style interface that would allow the client to edit records.
I have four tables:
tblCompanies (co_id, co_name)
tblListFields ((PK)field_id, list_id, field_name)
tblListFieldValues ((FK)field_id, field_value)
I've created a cross-tab query:
TRANSFORM Avg(TESTINPUT.fieldvalue_id) AS AvgOffieldvalue_id
SELECT TESTINPUT.co_name
FROM TESTINPUT
GROUP BY TESTINPUT.co_name
PIVOT TESTINPUT.field_name;
which utilizes the following select query (TESTINPUT):
SELECT tblListFieldValues.*, tblCompanies.co_name, tblListFields.field_name
FROM (tblCompanies INNER JOIN tblListFieldValues ON
tblCompanies.co_id=tblListFieldValues.co_id) INNER JOIN tblListFields ON
tblListFieldValues.field_id=tblListFields.field_id;
My goal is that I need to provide the tab-style interface for the client who
will be entering field values for each company. They believe this is the
fastest way for them to enter field values for many clients in each list. The
cross-tab query gives me EXACTLY the type of interface I'm looking for but I
cannot edit the data like you can with a standard select query. I've also
generated a form using the crosstab as a recordsource, but still it won't
allow me to edit the data.
Basically, I need to generate the following editable interface:
company name field_name field_name field_name
Company1 value1 value2 value3
Company2 value1 value2 value3
This is probably a wicked unclear explanation, but any ideas would be wildly
appreciated so I can get this project over and done with!!
Thanks very much