I am creating erp software in VB.NET 2010. I want to create an auto suggestion box. If the user fills in the first letter of the customer name, a suggestion list of all customer names starting with same latter should be appear in side than user will select from it. Also, when I select a Customer name, related information should be appear in another text box.
Related
Nothing too advanced in terms of which records. I am just looking to display all records from an access database table in a datagridview but in real-time as they are modified/added/deleted/etc.
As part of an inventory management program I am writing in vb.net (visual studio 2017) (Microsoft access 2010) I have a monitoring form that has all the info from my database in separate datagridviews (one for each table in the database). I'm running into a few issues however. First of all I cannot find a way to refresh the datagridviews when a record is changed. For example, if a quantity of a certain product is changed I want that to be reflected in the monitoring form. This software will be run on multiple computers simultaneously and I'm not sure of the best way to be able to accomplish this if say I am monitoring the inventory and a computer in the stockroom updates the quantity. If I want MY monitoring window to show the changes how would I go about doing that?
The next problem I have been facing is that when the datagridview is refreshed by calling the "fill" query of the tableadapter linked to the datagridview the list scrolls all the way to the top and the users position is lost. is there a way to keep the users position in the list? The way I am updating all the lists now is by running a query on the database to count the number of records and comparing it to the datagridview rowcount. If it is the same then it does nothing but if they are different then I refresh the datagridview.
If there is a way to just display the information from an access table in a datagridview in real-time that could solve at least the first of my problems. It may be wishful thinking but I could not find any information on how to do it yet.
I can provide any additional information if needed.
I am developing an application in Asp.net using Active Directory to authenticate users. I have been asked to create a timesheet and project management application. The application should allow managers to; select a user,assign a task and show their personal information.
To do this I will need to connect to one of their databases that holds all the relevant data.
What I have done so far is create a modal with a dropdownlist and a connection string to the database needed. The dropdownlist allows you to select a name,a task, task department and task description. I would like it to bind the selected data into a second grid view on their personal profile page.
My problem is that it needs to match the username stored in Active directory when they login, to the name selected from the database in the dropdownlist.
I am lost on how this can be done, I really hope that this makes sense I may have got lost in the woods on this!! I am new to AD.
Attached Image gives you an idea on the dropdownlist and data to bind to the gridview
I have a list in SharePoint 2010 that has external items.
It is easiest to explain the specific scenario.
We have sales orders that have information that is being pulled from our MRP system.
The unique key is the Sales order number.
There are several columns in the list that do not come from MRP that show the status of the order on our production floor.
The way that it works now, every time a new sales order is created, the user must go to the SharePoint list, click new item, type in the SO number, click the check external item button and click ok which subsequently populates several fields in the list..... Then someone out on the floor populates the rest of the info
The part in bold is what I would like to automate.
I understand it may need to be a stored procedure or some powershell script.
The issue is, that because of the external content type in the list, all of the canned SharePoint tools wont allow me to feed data back into the list.
One option is to create an SQL server trigger. This trigger would fire whenever a new sales order is created in your source database. You could make it a CLR trigger, and in the function make use of the SharePoint client interface.
After you provided a clearer description of the problem: I believe that you're looking for something like the list event handler. This will run on the events you care about, and you can pull from the database at the appropriate time.
Essentially, you need to make a Visual Studio SharePoint project (from my past experience this method requires you to use VS right on the SharePoint server, or else you have to copy a lot of DLLs manually from the server); and make an event receiver.
I'm creating a form in Microsoft Word that will be distributed to various people. One section on the form is a table where the user lists all the tests that he/she has taken and some relevant details about those tests. I don't know in advance how many tests a user has taken, although I can assume it is at least 1. I'd like to create a table that the user can add rows to for each test. Some of the columns will have form controls, one has a drop box, one has check boxes, one has a date picker. I'd like to be able to link these forms with Access once the user has completed them.
Is it possible to create a user expandable table that maintains the form controls in each column?
I am on a Linux machine right now so I can't test and debug code for you, but I have made tables in Word before where the size is decided at runtime (in fact, I did it from Excel, but that is off topic). However, I can tell you the general form is:
expression.Add(BeforeRow)
where expression returns a rows object, such as
ActiveDocument.Tables(1).Rows.Add(5)
Please see microsoft documentation of dealing with
tables:
http://msdn.microsoft.com/en-us/library/office/aa212430%28v=office.11%29.aspx
and rows:
http://msdn.microsoft.com/en-us/library/office/aa223081%28v=office.11%29.aspx
Also, from the VB editor in word, go to help and search "table object members," "row object members," etc.
If this hasn't been closed by tomorrow I will write something up. I will admit, in my experience Word VBA is a bit more temperamental than Excel VBA.
I have a small problem that I need to deal with. I have to create a form in SharePoint Designer 2010 with two fields: User name and Group. These are dropdown lists from which the user can select user and group and save the user's ID and the group's ID in a SQL table. The problem is I do not know how to populate the list with the information needed: Users names, based on their IDs and Site groups, based on their IDs, all from the current site. Do you have ideas?
This is not something you can achieve through SharePoint Designer. SharePoint Designer is made with Power Users in mind. What you are looking for is more of a developer task. As such, you would need to use Visual Studio.