Hi!
Is there a way to bind a label with a value obtained from a table(in its caption)
I'm using a datacombo that displays companies name and i need two values of the row, but I can obtain only the two values of the first row.
I need the two values to generate an Id, code:
sig =...
Hi, I'm using a DataCombo, in it, depending it's boudtext it will bind all my text box on my form, as follows:
Private rsPreliminar As New ADODB.Recordset
Private Sub DataCombo1_LostFocus()
If DataCombo1.BoundText = "GNP" Then
'Open recordset directly
With rsPreliminar...
Hi!
I'm using a form with 3 Adodc, I have a problem:
Record1
IDcomp:GNP
Address: Main St.
Ofnumber: 2
Record2
IDcomp: SCA
address: 5th Av
Ofnumber: 4
etc.
In a data combo I choose the company name, and I just store its Idcomp (in boundtext property), I need to obtain its Ofnumber in a...
No, I'm not using a Grid, I have done a form, in it I'm using a Data Combo, which shows companies name, depending of its Bound Text I need to change the Datafield and DataMember. DataSource is the same for all objects (Dataenvironment1)
If DataCombo1.BoundText = "GNP" Then...
Hey Antzz
Thanks for your info, but I'm new on Visual Basic, so How I can set the recordsource object? I need to do it with code or Do I need to build an object on my form?
Collin79
Hi
I'm using Dataenvironment to work with an Access Database, my question is how can I create an object or control to manipulate my records? (you know, next, last, etc.) I've tried with ADODC, Data, but I just can manipulate the database connection directly to Acces
Hope you help me
Thanks...
Hi:
I'm designing a form, in it I've done a command Buttom that it should save the captured data to an Access Database and I've wrote this code:
Private Sub Command1_Click()
If DataCombo1.BoundText = "GNP" Then
Dataenvironment1.rsGNP.AddNew
Dataenvironment1.rsGNP.Update
ElseIf...
Thanks all:
The error occurs over this line:
DataCombo1.DataField = Company
with this error:
Compile error:
type mismatch
and I can see highlighted .Datafield
Hi!!
I'm using a Data Combo object with this code:
Private Sub DataCombo1_LostFocus()
If DataCombo1.BoundText = "GNP" Then
DataCombo1.DataMember = rpGNP
DataCombo1.DataField = Company
ElseIf DataCombo1.BoundText = "SCA" Then
DataCombo1.DataMember = rpSCA...
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.