This is driving me mental and I'm spending way too much time on something that should be straight forward (again !).
I have a CF(v5) Form that captures data and saves it to the DB - great.
I have CC(latest version) and have created a connection that displays data when viewed in the connections manager - also great
Why can I not get a form to display a simple list of all records ???
DBRead
I have tried adding a DBRead and associated RenderHTML block in on the Load event. The data is getting read because if I add an "Export to CSV" block inside the "On found" block a "file, save as" pop up appears so it is clearly retrieving the data ... why is there no "Show Records" equivalent ?
In the Forms Manager I can see the associated table and can view the data, so the connection is working just not displaying when I test the form.
Connection Action
I have also tried removing the ReadDB block and inserting a CC "Connection Action" but no combination of "load" or "view" actions etc will get any data to display when I test the form.
What steps I need to take ?
[list]Do I need a ReadDB block or a Connection Action in the OnLoad block of the form?
If I use a ReadDB block, do I need to add any code/elements to the "OnFound" block ?
Do I need to include elements in the designer to display the results or should the data just "list" (as it does if you select "Front View" in the connection manager)?
Is there a comprehensive set of instructions of how to achieve the simple task of displaying records ?
[/list]
The forums and FAQ's either refer to the previous versions of the products or are missing the vital links in understanding how the products interract.
I'm sure this is down to my understanding of the products but the HOW TO sections of the site only show how to create the connection or how to do some really funky stuff with the products but the simple "how to integrate them both" is really lacking.
I've now spent something close to 5 hours just to display a list of records on the Front End and am getting really frustrated ... double grrr.
Please HELP !!
Thanks,
Tim
I have a CF(v5) Form that captures data and saves it to the DB - great.
I have CC(latest version) and have created a connection that displays data when viewed in the connections manager - also great
Why can I not get a form to display a simple list of all records ???
DBRead
I have tried adding a DBRead and associated RenderHTML block in on the Load event. The data is getting read because if I add an "Export to CSV" block inside the "On found" block a "file, save as" pop up appears so it is clearly retrieving the data ... why is there no "Show Records" equivalent ?
In the Forms Manager I can see the associated table and can view the data, so the connection is working just not displaying when I test the form.
Connection Action
I have also tried removing the ReadDB block and inserting a CC "Connection Action" but no combination of "load" or "view" actions etc will get any data to display when I test the form.
What steps I need to take ?
[list]Do I need a ReadDB block or a Connection Action in the OnLoad block of the form?
If I use a ReadDB block, do I need to add any code/elements to the "OnFound" block ?
Do I need to include elements in the designer to display the results or should the data just "list" (as it does if you select "Front View" in the connection manager)?
Is there a comprehensive set of instructions of how to achieve the simple task of displaying records ?
[/list]
The forums and FAQ's either refer to the previous versions of the products or are missing the vital links in understanding how the products interract.
I'm sure this is down to my understanding of the products but the HOW TO sections of the site only show how to create the connection or how to do some really funky stuff with the products but the simple "how to integrate them both" is really lacking.
I've now spent something close to 5 hours just to display a list of records on the Front End and am getting really frustrated ... double grrr.
Please HELP !!
Thanks,
Tim