I have a grid, and when you click and select something on it a command button is enabled.
In form load the grid is loaded with data. For some reason after its loaded it executes the on click code and the command button is enabled. Why does it do that? when the grid wasnt actually clicked on...
I have 2 Combos, the 2nd is loaded based on the selection of the first. Because of that the 2nd combo is sometimes empty and sometimes isnt. When it is not empty and has items in it, I want to get rid of the first blank item. So I set Combo.ListIndex = 0 and this works fine. But when based on...
I am editing a form, in the form the combo is loaded with data from an access table. Then the combo is set to the value thats in the record. Using this code...
strYN = DBRec("Location")
For idx = 0 To cmbLocation.ListCount - 1
If cmbLocation.ItemData(idx) = strYN Then...
After I insert new info into an Access table that uses Autonumber, a new Autonumber is assigned. How do I select (find out) that Autonumber while inserting?
In example I insert the info from a few text boxes into the table and its saved, but then i change the info in the text boxes and want to...
My brother did something and now the Display Colors options are only 16 and 256 (32 bit is gone) and when i try to change it to 256 it doesnt save.
I have TNT2 video card. I tried reinstalling the drivers but that didnt work? What happened? thanks!
I am trying to get a program to run on an old pc with win95 and I get this error
Run time error 430
Class does not support automation or does not support expected interface.
This program runs fine on win2000 and xp
suggestions? thanks :)
I been using MSFlex Grid and everything was just fine until today on one form it started giving me a "Component not correctly registered" error and wouldnt load the grid. On other forms it works just fine. Anyone have any clue what it could be?
thank you!
I am trying to select all the records from the access db where startdate is greater than the one in the txt box but for some reason it gives me all the dates? heres the code...
DBComm.ActiveConnection = DBConn
DBComm.CommandText = "Select * from Schedule where ScheduleID = " & strID...
I am trying to select all the records from the db where startdate is greater than the one in the txt box but for some reason it gives me all the dates? heres the code...
DBComm.ActiveConnection = DBConn
DBComm.CommandText = "Select * from Schedule where ScheduleID = " & strID &...
Here is how I load my combo box...
Do While Not DBRec.EOF
cmbLoc.AddItem DBRec("Name")
cmbLoc.ItemData(cmbLoc.NewIndex) = DBRec("LocID")
DBRec.MoveNext
Loop
now after i load it i need to set the value based on the LocID i have.
Something like...
I am trying to validate all the user input before I save it. I have been using the Else/If and it turned out very messy and hard to follow/edit. Any suggestions on a better way to go about this?
It looks something like this
If not valid name then
error
else
if not valid ssn then...
My MDIForm has menu which I disable/enable when I show/hide the child form. It works fine on the first time, but on the second it will not perform anything in the form_load() of the child form ??? Any suggestions?
thanks!
I have an application that works fine on windows 2000, but when i tried to run it on XP it gave me this error. Anyone have any suggestions? I am ready to give up :(
Run-time error '-2147467259 (80004005)':
[Microsoft] [ODBC Driver Manager] Driver does not support that function.
Connection...
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.