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...
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...
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...
Hi!
I need the Month and Year of the date system, I'm using Month(date) and Year(date) function and it works ok, but in month I need two digits (february=02 not 2) and in year I need two digits too (01 not 2001)
I've tried with Format() but I can't do that, any hint?
Thanks
Collin79
Hi!
I'm new programing in VB, and I have a question, I'm using a combo box, depending of it's selected value, I'll use a table from an Access database, but I need to do a command that saves all the data captured, How can I do it, in Fox Pro I used to use the Replace command, but in VB don't...
Hi!
I'm using a DBCombo which data source is from an access database (I have employeename and employeId fields in my table), in the dbCombo I must display employee name but I need to store his ID, How can I do that?
Any hint or tip will be ok,
Thanks
Collin79
Hello!
I'm working with a form, in this, I've done a checkbox, if its value = 1 it will open a subform, it works ok, but I don't know how to synchronize data, I've done relationships in data enviroment with tables' IDs, any tip or hint will be helpful
Thanks
Collin79
Hi Again:
How can I do to reset a combobox to its default value, I've done a command button "new" that reset all the values on my form, but in that combobox still only the selected value (idkey that I choosed)
Hi!!
I need help here, I'm testing a new form and I receive the message that File is in use, so I go to command window and do a Close databases and then I can continue. I've tried to assign this command on the form in the Init or load event but doesn't work.
Somebody may help me please!!
Hi!!
I'm using the next code line to do a reference number:
thisform.txtsiglascomp.value + "6" + LTRIM(STR(thisform.text4.value)) + LTRIM(STR(Month(Date()))) + LTRIM(STR(Year(Date())))
It works Ok, but I need the value of the month and year will be of 2 digits (year 2001 I need 01...
Hi:
I need some help on how modify a Class, I've used the fox pro wizard classes (picbuttons) but I don't need all of them (I need next, prior, first, last, quit, add and save only)I have the code for almost all buttons I just need add and save code.
Could somebody please give a hint?
Thanks
Hi!!
Hope that someone could give me a tip. I'm a baby programing, so I don't know how to do it.
I've done a program called altarep.pgr, in it, the program goes like this:
@ 10,20 say "Solicitante:" get Sol_
@ 12,20 say "Asegurado:" get nomaseg
@ 14,20 say...
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.