Hi, does anyone have a "standard" .emacsrc file I can look at? The .emacsrc I have was customized by another user and has a bunch of special key mappings set up that I don't like, but I don't know enough about shell scripting to fix it myself. Even just a list of symbols used for special keys...
I have an abstract base class, call it ABC. It has two derived classes, say Derived1 and Derived2. In another class, I need an array of objects of either Derived1 or Derived2. The problem is I don't know if the array elements should be of type Derived1 or Derived2 until run time. (I have a...
Never mind, I fixed it!
Just in case you were curious... I discovered that the frame the MSFlexGrid is in was disabled. When I enabled the frame, the scrolling worked, even though the MSFlexGrid was disabled. :)
I have a funny feeling there will be a simple answer to this, but... I have a MSFlexGrid with the Enabled property set to False, because I only want the user to see the data, not to edit it. There are several columns that are not visible, and the horizontal scrollbar does appear, but when you...
To simplify my question, say I have a table called Invoices and the only two fields are Invoice_Date and Total. I want to display a list which lists the week ending date and the sum of the invoice totals for the week. The list needs to contain every week, not just the current week. Is there a...
OK, I just realized that we changed the names of some of our database fields and I didn't change them in my code. Boy do I feel silly now... I fixed this error, only to get a new error, but that's another story for another time! :)
I already tried to add this thread but I don't believe it saved it, so I hope this isn't a double post!
Anyway I am having problems updating my database. I'm using VB, and I'm pretty sure the error is in the query itself because I'm using the same connection code that I've used in several...
I think I fixed the problem, so here's how I did it for anyone who with the same problem who stumbles across this thread... I simply removed the line that says:
conResult.Provider = "Microsoft.Jet.OLEDB.4.0"
I imagine that's because ODBC takes care of what type of database it is...
My code works fine when I use ADO controls to search through the database. However, I get an error when I try to update the database. I haven't been using ADO controls for updating, adding, or deleting, rather I use this code:
Dim conResult As New ADODB.Connection
Dim cmdResult As New...
I have a datagrid tied to an ADODC that only displays some of the columns in my table. I want to update the other columns in code because the user does not know their values. Whenever the user tries to update the datagrid, it saves the changes automatically, then gives me an error because the...
I have a form that allows a user to search by any field in the database table. The PK is an ID number, and I have a DataCombo that lists all ID numbers in table so the user can easily select one. It's bound to an ADODC. Textboxes are used to allow the user to search by other field (such as...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.