Creating A Work Order App?
Nov 25, 2009I plan on using SQL Standard as the db, and VB to create the app. I am not sure what the easiest/best query solution is. Crystal Reports? Or?
View 1 RepliesI plan on using SQL Standard as the db, and VB to create the app. I am not sure what the easiest/best query solution is. Crystal Reports? Or?
View 1 RepliesUsing VB.net and the following LINQ statement. I suspect the "Order by" does not work with Concat(). I want to list the current item the user has and then list more available items in asending order. So first i select the current item from the db and then select the next available items in order. LINQ is ignoring the order by statement and sorting by the PK (which is itemID) I examined the list immediately after executing the statement. When I break up the statement and do them separately they work as predicted.
(From items In myDatabase.ItemAssignments _
Where items.BuildingID = buildingID _
And items.ResidentID = ResidentID _
[Code].....
I have a DataGridView bound to a list of business objects:
Dim template As New IncidentTemplate
Dim temps As List(Of IncidentTemplate) = template.LoadAll
Dim bs As New BindingSource
[code].....
I have a textbox1 for webaddress, a buttont go!, and a webbrowser1Now when I enter text in the text box and click the Go! I get This program cannot display this web page.When I enter the same text plus the .Com then it loads.
View 4 RepliesI am trying to create a program to order pizza what i have is a textbox to input the customers name, i have a masked textbox for the phone number, a group of two radio buttons for pick up or delivery with if delivery is selected a rich text box appears to input an address, a group of 3 radio buttons for pizza size s,m,l and then also a list box with 10 items for toppings what i want is when i hit the order button for the selected buttons and inputted info to generate a order summary on another form?
View 6 RepliesI am trying to copy the records from my WO table and trying to change the scheduled_date like. If I have already entered a work oder and scheduled it on 26-SEO-2011 when the next month comes it should give me message do you want to crate work oders when i press yes it should copy the those records which has current date and change it month e.g in our example 26-SEP-2011 to 26-OCT-2011 and save it but i am unable to perform this task and similer procedure will be for other saved records when their scheduled date come it should copy it and change the month and save.
This piece of code is on form load event
Private Sub QueryWorkorder()
Dim con As New OleDbConnection("Provider=MSDAORA.1;Data Source=(DESCRIPTION=" _
+ "(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=196.111.116.205)(PORT=1521)))" _
+ "(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=Dummy)));" _
+ "User Id=PCHR;Password=PCHR;")
[Code] .....
And I am calling it on form load event. And I am changing the date from control panel and then running the project it didn't populate the message do you want to create record what should I do?
I'm trying to set the tab order on my form and no matter what I do, it doesn't relearn the new tab position after I change the index. It almost seems like the form is locked.
View 1 RepliesI am looking to create an order reference which is something like this
PLC0000001
Where the 1 would be my order id
but lets say it gets to 100 would like
PLC0000100
In VB.NET how could I build up a string like where i know i.e.
the starting part = PLC
Ending part = Order ID
middle = fill in 0's
I am creating simple mail without any atach using Microsoft.Office.Interop.Outlook. Mail is successfully created and opened, but after this button 'Attach File' does not work (it could be clicked, file could be selected but it is not attached). Here is simple code:
[Code]..
I have a combo box bound to a datasource. I need to change one combo box (of many) to order the items in descending order.I'm guessing I could order the collection in the dataset, but that will mean all my combo boxes will be reordered?
View 2 RepliesI have a databound Datagridview. The DGV is bound to a datatable of a strongly typed DataSet created using the wizard. Is there any way to re order the columns before displaying them eg: the Columns are displayed in the DGV in this other Col4, Col6, Col3, Col1,Col5, Col2
But I want to it to show as Col1, Col2, col3, Col4, Col5, Col6?
I realise that the display order followed the Column order in the database table and by extension, the datatable. I have re-arranged the columns in the Database but the Datatable still retains the old order.
This might not be so 'VB' as it is 'SQL using VB' I have an application with a built in MS Access DB. I have a table that has a column full of integers, I shoot the DB a SQL "order by 'column name' " string and it returns the table ordered by my column of integers.BUT it returns them like this, and I want them like this
0 6
1 5
2 4
[code]....
How do I get the OrderBY to do a descending list starting with the highest number?
I'm working on the exercise page 73 (VB 2010 in 24 hours). It's basically a form with 2 text boxes, 2 text labels and a command button. It's really simple and uses this loop to cycle through the items, and tell me the name of them in a Messagebox
[Code]...
I have to order a table following a logical order but I cannot find the appropriate ORDER BY clause.To simplify I have 2 fields field1 and field2
1 record : field1 contains �2� and field2 contains �1�
2 record : field1 contains �1� and field2 contains �2�
3 record : field1 contains �2� and field2 contains �2�
[code].....
if a byte value can go up to 255 and two bytes are used to determine the length of packet payload data, how would I convert the two bytes to create one integer value?
State.buffer[13] = 5 and State.buffer[14] = 67
Dim PacketLengthHigh As Integer = state.buffer(13)
Dim PacketLengthLow As Integer = state.buffer(14)
[code]....
I found that when group by multiple values does not work well with VB.NET, but it works well with C# ,here are my code, is there something wrong with my VB.NET Code? Here is my VB.NET code:
[Code]...
I have an application that requires data be entered, and after entering, a button is clicked to process that data. Clicking the button works just as it should--the data is processed properly. In constructing a test module, I provide a set of data values, followed by:
btnWhatever.PerformClick()
Nothing happens. I have used this syntax for years, and it has always worked flawlessly. I have triple checked everything else and isolated the problem to the failure of the PerformClick(). The PerformClick() is in a test subroutine that does nothing but fill textboxes and labels with default data, then calls the PerformClick() on the button to begin processing. Again, the button works fine, the data is entered as it should be, but the PerformClick() does not fire the click event.
I have a form that works on my local Machine I created into. I have Office 2007 on this machine. I created the Form with the Excel 12 Reference. I move the Entire conetence of the Project folder to my work computer. Which has Office 2003. Do I need to recreate the form with the Excel 11 reference. I could not get the form to work on work computer. IT has a com error. I am acessing the EXE for the debug folder w/in the Bin Folder.
View 7 Replieswill SQL statements that work in Compact SQL Server also work in the Express Edition of SQL Server?
View 2 Repliesplease tell me what is below code doing? is it creating array with two values or its creating to string index which will take value later? [code]
View 4 RepliesDim pc As PrincipalContext = New PrincipalContext(ContextType.Domain, GetPath) ADUserInfo.PasswordVaild = pc.ValidateCredentials(LoginName, Password)
View 1 RepliesI'm using vb2008 with DB MSA2007 (save it to MSA2003) on Seven(7)System After I create my project I build it(make exe). then I took the file of project (application) and the DB from Debug Folder.
I tried to run this application with DB on another computer it's system is seven and MSA2007 and work very well. then I run it on pc it's system XP and MSA2003. it showed this error
Application Error THE APPLICATION FAILED TO INTIALIZE PROPERLY (0XC000135). Click on OK to terminate the application
using LINQ to NHibernate does anybody know how to use group by and order by in the same expression. I am having to execute the group by into a list and then order this, seem that I am missing soemthing here ?
Example:-
Private function LoadStats(...) ...
Dim StatRepos As DataAccess.StatsExtraction_vwRepository = New DataAccess.StatsExtraction_vwRepository
return (From x In StatRepos.GetAnswers(Question, Questionnaire) _
[code]....
I got next function: The input ArrayList results is ordered correctly.The return value returnList is completly unordered.I think to problem is the HashTable isn't ordered correctly.Is there a way I can order the Hashtable or should I sort the returnList on someway?I want to order or sort on a field.
[Code]...
I have been trying to get my tab order correct but I cant get a combo box to be in the correct spot it only will let me focus on it first or last. When I manually enter the tabindex of each control then view the tab orderthe combo box (whos tab index i set to 6) is 1.6.
View 2 RepliesI have two comboboxes the first one is for order #, the second one is for the amount of order payments, there could be 1, 2, 3... payments for this order. I would like to get all payments to show in the second combobox that relate to the order # selected in the first, process that payment by changing other values in other textbox's. Then have that payment psoted as processed back to the DB table. I have a binding satament, but it pulls all payments, and not just per order. How can I get this to select just by order #?
View 2 RepliesI came across the KEY_GENERATOR thing (as shown below) from one of the tutorial application in vb net. Its absolutely new to me and i wanna know why it is used and how it is used. I googled but didnt find anything about it
View 1 RepliesI might be alone in this; but I was always under the impression that in .NET when you called a function you had to pass in values in the same order as the method.[code]I've ever seen just calls the method with the params in the correct order - is the named convention an old left-over from VB? If I were to use the := syntax in all my method calls, would people laugh during my next code review?
View 2 RepliesI have the code for the half of the programe that i started
View 39 RepliesI have 6 textboxes and i want the results of theses (1-2,1-3,1-4,1-5) to drive them
1 in 5 labels but the smallest result to label1 the second result to label2.....and the bigest result to label5
2 the numbers to abs absolute
3 the equal numbers to appear once