WebGrid Community Server

Welcome to WebGrid Community Server Sign in | Join | Help
in Search

Edit a table but need ref fields

Last post 08-11-2008, 18:13 by admin. 1 replies.
Sort Posts: Previous Next
  •  08-11-2008, 0:05 724

    Edit a table but need ref fields

    Hello

    Ok so this tool rules, but I am having one problem.  I would like to update a bunch of values in a table but want to reference a few values in related tables for information only.  For example I have an inventory record table.  For each inventory item I would like to display a total sum of inventory items on order that match the location and part number.  Similarly it would be nice to calculate the total inventory cost based on a unit price in our base part table. 

    I have looked at the possibility of using a view however it appears that this would like me only pull the data and would prevent me from doing the updates.  Do I have to write this functionality manually or is there as I suspect a better way to get and present this information.

    Thank you for your assistance in advance.

    Matthew 

  •  08-11-2008, 18:13 725 in reply to 724

    Re: Edit a table but need ref fields

    WebGrid loads only data related to what is being displayed.

    Example if you have are displaying 20 records of data this is being loaded. You can also access related data used in foreign keys / many to many relations.

    For displaying total sum and using "spreadsheet" like features, please see the starter kit.

    Olav Botterli, WebGrid Founding Developer
View as RSS news feed in XML
Powered by Community Server, by Telligent Systems