Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21350

How do I change Quantity in FlexCell Grid and Database Fields ?

$
0
0
Hello everyone
How are you all
I hope that everyone will be happy

I want to modify this example (Small Sales System)

I have 2 Forms Store and Sales

in Sales Screen :

I want when clicking on Cash $ button
That is lose the quantity sold of the quantity available in the store from database automatically

Exam :

i have in database 3 items in Store Table

1- pepsi - quantity = 20
2- coffee - quantity = 20
3- Tea - quantity = 35

in sales screen if i add items in grid like this :

pepsi - quantity = 1
coffee - quantity = 1
Tea - quantity = 1

When you press the Cash $ button
Change the quantity sold of the quantity found in the Store database
To make the score as follows in Store

1- pepsi - quantity = 19
2- coffee - quantity = 19
3- Tea - quantity = 34

and this for example ,only



-------------------------------

i need if i add items in grid and this product was already exists in the grid can't be added again, but can increase the quantity of this product only

-------------------------------

The last thing I want to show the total correctly in the text box with a decimal point





Attachment tool FlexCell-Grid.zip
FlexCell.ocx
Registration-FlexCell.key

before open the project You must activate the tool by key file

Attachment source code
Test.zip

This is a source code
this is not an executable file i sorry because I call it by that name
this is just a name, but it an open source project


Wait your help

Thank you very much
Attached Images
   
Attached Files

Viewing all articles
Browse latest Browse all 21350

Trending Articles