
Atronics wrote:In V6 we could edit and add additional search criteria. Can you point me to were I can modify the columns that appear in an inventory search. I can access the SQL query, but am unable to edit /save it.



Atronics wrote:1. How do I format the vbStrings to show only two decimal places?
.AddColumn ("SoH", vbString, "", 12, 5, , 2)
Atronics wrote:2. How do I get the SQL query to select records only from the current logical warehouse? It currently gets all SoH records.
.SQLStr = "SELECT IN_Main.InventoryID, IN_Main.PartNo, IN_Main.Description, IN_Main.Units, IN_WarehouseSOH.QuantityLeft - IN_WarehouseSOH.QuantityAllocated [SoH], IN_Main.DefaultPrice " +
"FROM IN_Main " +
"LEFT JOIN IN_WarehouseSOH ON IN_Main.InventoryID = IN_WarehouseSOH.InventoryID " +
"WHERE IN_WarehouseSOH.IN_LogicalID = '" + JiwaApplication.Manager.Instance.Database.CurrentLogicalWarehouseID + "' "


Return to Technical and or Programming
Users browsing this forum: No registered users and 2 guests