Hi everybody
I´m working with an MDI form, but from time to time I need to show a modal (SDI of course) form.
The problem comes when I close that modal form. MDI parent form vanishes during one second showing all forms behind it, making a horrible effect.
I´ve tried to hide it first but it...
Hi everybody
I have several textboxes with one context menu.
How can I know the textbox where the mouse clicked to raise the menu and pass it to the "MenuItem1.Click"
Thanks in advance.
OK, I'VE GOT IT.
In case anyone is interested, the right way to do is
TextBox1.DataBindings.Add(New Binding("Text", Tvendor,"name"))
regards
Hi.
Let's say I have an object named vendor with to properties: name and surname.
dim Tvendor as new vendor()
Tvendor.name="Peter"
Tvendor.surname ="Cobos"
I have two textbox, Textbox1 and Textbox2 and I thing tahat the following should work
TextBox1.DataBindings.Add(New...
Try
SQL = "SELECT * FROM TblFilterClient WHERE _
ClientID = '" & txtClientID & "'" (single quotes 'inside' double quotes)
if txtClientID is text type (not numeric)
I´M USING DAO TO CONNECT WITH A DATABASE. THIS CONNECTION IS PERMANENT, SO THE DATABASE IS ALWAYS OPEN.
BUT THERE ARE MOMENTS IN WHICH I NEED A COPY OF THAT DATABASE VIA CODE.
USING FILECOPY IS NOT POSSIBLE BECAUSE THEN FILE IS OPEN.
IS THERE A WAY TO COPY FILES ALTHOUGH THEY ARE OPEN?
THANK...
This is working correctly with my databases
Dim CN As ADODB.Connection, RS As New ADODB.Recordset
Set CN = New ADODB.Connection
Set RS = New ADODB.Recordset
STRCON = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & DBPATH & ";" & "Persist Security...
HERE´S THE CODE
Dim CN As ADODB.Connection, RS As ADODB.Recordset
Set CN = New ADODB.Connection
Set RS = New ADODB.Recordset
CN.CursorLocation = adUseServer
STRCON = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & DBPATH & ";" & "Persist Security...
I`M OPENING A RECORDSET USING THE FOLLOWING SQL:
SQL$ = "SELECT COD FROM DESCRIPTION WHERE TEXT IS LIKE '*H*'
WHEN I USE IT WITH DAO I GET ANSWERS FOR TEXT LIKE AHU, ADHE ETC
BUT USING ADO, RS.BOF AND RS.EOF ARE BOTH TRUE. ANY IDEA?
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.