Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for j_808

I have a datagridview and i basically click a button that goes through all the rows in the table looking at two particular columns: quantity and re-order level. After every row the code checks to see If the re-order level is greater than the quantity of that particular row. if …

Member Avatar for G_Waddell
0
86
Member Avatar for j_808

[code] Dim thisMonth As Integer DateCollected = DataSet.Repair.Rows(2).Item("DateCollected") thisMonth = Month(Now) For........ If Month(DateCollected) = thisMonth Then partsprofit = (partswholesalerpricetotal) / (partstotalcost) * 100 Else End If Next [/code] Basically i am writing up some code that loops through all the records in a table looking at a column called …

Member Avatar for j_808
0
105
Member Avatar for j_808

I dont where am going wrong but when i am programming i will make some changes to make code and form e.g add a button or something. Then when i go to debug my program my change dont appear and its been a couple of days and my changes still …

Member Avatar for kvprajapati
0
72
Member Avatar for j_808

I have written some code in the btnCheckStockStatus which prints out a list of stock items that need re-ordering based on whether the re-order level is greater than the current quantity, at the moment this code works successfully. I am now trying to write code so when i press the …

Member Avatar for kvprajapati
0
85
Member Avatar for j_808

I am pretty new to Vb and was just wondering is it possible to print out a message box in VB. At the moment i have typed out code which outputs a msgbox with a list and was just wondering is it possible to have a button which when pressed …

Member Avatar for Oxiegen
0
55
Member Avatar for j_808

Sub CalculateStorageCharge() Dim datedue, datecollected As Date Dim daysoverdue As Integer Dim storagechargetotal As Integer Dim storagechargefeeperday As Integer = 5.0 daysoverdue = DateDiff("d", datedue, datecollected) If (daysoverdue) > 0 Then storagechargetotal = (storagechargefeeperday * daysoverdue) Else : storagechargetotal = (0 * storagechargefeeperday) End If storagechargetotal = CInt(txtStorageChargeFee.Text) End Sub …

Member Avatar for j_808
0
4K
Member Avatar for j_808

i am having problems editting my record where i basically want to select a record from the datagrid view and change any details where the data is displayed in the text boxes i have put on my form and click edit and have the data updated on to the database …

Member Avatar for kvprajapati
0
98
Member Avatar for j_808

Hi, i want to know how i would go about updating a row on a datagrid. with the data being databinded in the text boxes and the fact that i can move through the records using the databind techniqu. I have tried through trial and error and still havent got …

Member Avatar for drewpee
0
69
Member Avatar for j_808

Hi all, just having problems with my next, previous, last and first buttons on my form. there not working but i am not sure where i am going wrong because i am a beginner. When i press any of the buttons it says 'there is no row at position 1' …

Member Avatar for j_808
0
101
Member Avatar for j_808

i am trying to add a edit button where the data displayed in the textboxes from the selected record in the datagridview on vb gets update if i change any details when i press the edit button. problem is when i click the button it says 'There is no row …

Member Avatar for j_808
0
89