Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Collin79
  • Content: Threads
  • Order by date
  1. Collin79

    Tab vs. Intro key

    Is there a way to change Tab with Intro way to navigate in a form? Thanks Collin79
  2. Collin79

    Binding labels!!!!

    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 =...
  3. Collin79

    Is there a way.....

    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...
  4. Collin79

    Records

    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...
  5. Collin79

    Dataenvironment Object

    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...
  6. Collin79

    Runtime error "3704"

    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...
  7. Collin79

    Data Combo Object

    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...
  8. Collin79

    Month(date) and Year(date)

    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
  9. Collin79

    Save Buttom

    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...
  10. Collin79

    How to bind data in a DBCombo

    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
  11. Collin79

    MDI Forms Syncroniza data

    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
  12. Collin79

    Reset a Combobox

    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)
  13. Collin79

    File is in use!!!

    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!!
  14. Collin79

    Problem with a Function

    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...
  15. Collin79

    How to modify a Class or Code for a Class?

    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
  16. Collin79

    Help in a Form!

    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...

Part and Inventory Search

Back
Top