Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...Add, Edit, Change child tables with drill down module/Help with OnYakTech DataViewerAdd, Edit, Change child tables with drill down module/Help with OnYakTech DataViewer
Previous
 
Next
New Post
6/13/2012 3:23 PM
 

I'm not sure if anyone else has had this question, but here goes.

I'm looking for a module that has the ability to add, edit, change parent tables and children tables. It should extract this data from a SQL Server across the network and if any changes are made to the data via the DNN GUI, it should be updated with the SQL Server database. This should be done in a nice GUI interface for the user. The data is already in place, you just need to add, edit and delete.

Example: Parent 1 with children A and B. You should be able to drill down from 1 and make changes to A or B. You can also make changes to the parent as well. The PK of Parent 1 is a string which can be numbers

For now, I've been using onyaktech dataview Evaluation version 3.0.1 module which sort of works. I can drill down a level but am not able to make any changes to the drilled down data. Whenever I try to edit, change or add a record in the parent, it can't recognize the pk to fill in. I get this error in the log.

Error: (TRUNCATED TO 500 CHARS): System.Data.OleDb.OleDbException: The statement has been terminated. Cannot insert the value NULL into column 'Project', table 'Reporting.dbo.Projects'; column does not allow nulls. INSERT fails. at 

I am putting in values when inserting a new record. It says Unable to insert into. Reason: Input string was not in a correct format.

And I get this when trying to delete (from the log)

Error: (TRUNCATED TO 500 CHARS): System.Data.OleDb.OleDbException: Conversion failed when converting the varchar value '10419-M ' to data type int. at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) at System.Data.OleDb.OleDbCommand.ExecuteNonQuery() at OnyakTech.DataView.DataController.ExecuteOLE(String SQL, String connectionString) at OnyakTech.DataView.DataController.DeleteRecord(String TableName, String PrimaryKey, Int32 PrimaryKeyValue, String ConnectionStrin

Can this module only deal with int PKs?

Thanks.

 
New Post
6/19/2012 10:22 PM
 

Have you reviewed this with Chris Onyak? That's where I'd start.

You mighr also talk to Paul Scarlett at http://www.tressleworks.ca/ about SGSV and its capabilities.


pmgerholdt
 
New Post
6/20/2012 9:12 AM
 
Dean, with just a few more changes to the OnyakTech Data Viewer Module I think it will work exactly how you need it to. Can you send me the ERD or the TSQL to create the tables your trying to work with to a support ticket (http://www.onyaktech.com/Support/Onya...)?

You might also want to use the OnyakTech Forms module for data entry, it will give you full control over how the UI looks when adding new data.  Details are on...
http://www.onyaktech.com/Products/tab...

And you can see the Forms module working together with the Data Viewer on the following pages...
http://dnn-module.com/DotNetNukeDemo'...

and...

http://dnn-module.com/DotNetNukeDemo'...

There is also H2O Custom Forms on www.DNNForms.com, but I think what your looking for is the Data Viewer with just a few more changes and maybe even the OnyakTech Forms module.

Let me know how your source tables are setup and I'll get you the changes you need in the Data Viewer.



Professional DNN Extensions, custom solutions and mobile apps since 2003.
www.OnyakTech.com
 
Previous
 
Next
HomeHomeDevelopment and...Development and...SQL and SQL Ser...SQL and SQL Ser...Add, Edit, Change child tables with drill down module/Help with OnYakTech DataViewerAdd, Edit, Change child tables with drill down module/Help with OnYakTech DataViewer


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out