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 Mike Lewis 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: *

  1. fanlinux90

    compare values from different size tables

    With vfp 6 I am trying to find the different values that two tables have but the result is empty, I am using two scans to go through the tables simultaneously. The SopFact table has 100 records and Fac_Bire 102. Inconbi should have 2 records: 1020 and 850 , but it comes out empty select Fact...
  2. fanlinux90

    move the same row of two different grids with click and scroll vpf6

    I can move the same row of two different grids that use the same cursor as recordsource after clicking on any column of the grid pc and using the keyboard grid pc1 procedure afterrowcolchange LOCAL lcAlias lcAlias = ALIAS() SELECT(this.recordsource) SKIP IF EOF() GO BOTTOM ENDIF IF NOT...
  3. fanlinux90

    grid shows last selected row

    In the form I first click on the approve button and then on the pending button. in a form add a button to show the records with state 0. I use version 6 of visual fox pro. button approved procedure click select f_temp go top scan If f_temp.apprvd = .T. select f_temp replace f_temp.estado with...
  4. fanlinux90

    grid updates erroneous information vfp6

    form1 init procedure use C:\dbfs\pr in 0 shared select doc, lastn, mname, name, phone, state,obs, apprvd; from pr ; where pr.state = 0 or pr.state = 5 into cursor f_temp1 select f_temp1 afields (f_temp_f) create cursor f_temp from array f_temp_f append from...
  5. fanlinux90

    validate selected check in a grid vfp 6

    I have configured a grid when I click on any check it changes the value of all. but I must change the validation per row, when the check in a grid has been marked only in one row, the status must be changed only for that row. can it be done in vfp6? If thisform.Precustomers.Column1.Check1.Value...
  6. fanlinux90

    clock not displaying correctly

    this is the prg code [indent]SET DELETE ON [indent]SET EXCLUSIVE OFF [indent]SET EXACT ON [indent]SET CENTURY ON [indent]CLEAR ALL [indent]CLOSE ALL [indent]CLEAR [indent]DO WHILE .T. [indent]@ 05,01 To 31,150 doub [indent]SET CLOCK ON TO 07,77 [indent]@ 07,05 say "DATE : "+DMY(DATE())...
  7. fanlinux90

    delete missing operand

    I must delete from the invent table when class has one of the following values: 'SUS','TB','CAD', 'EF', 'ND' and estado = normal DELETE FROM invent where INLIST(UPPER(ALLTRIM(class)), 'SUS','TB','CAD', 'EF', 'ND' ) and UPPER(estado)=='NORMAL' when i run the command i get the error missing...
  8. fanlinux90

    grid does not refresh

    This is the code of the init of the form if !used if !used ("supplier_temp") SELECT supplier afields(structure) CREATE cursor supplier_temp from array structure else SELECT supplier_temp for re = 1 to reccount() SELECT supplier_temp go re...
  9. fanlinux90

    the button code does not work with the first register

    the value that is changed when pressing the process button of the selected record in the cursor supplier_tmp.control is 2 but that record is not copied to the table supplier
  10. fanlinux90

    the button code does not work with the first register

    excuse my mistake mike lewis in writing it's not count, it's reccount() . I already fixed the code to make it more readable
  11. fanlinux90

    the button code does not work with the first register

    This is the code of the init of the form if !used if !used ("supplier_temp") SELECT supplier afields(structure) CREATE cursor supplier_temp from array structure else SELECT supplier_temp for re = 1 to reccount() SELECT supplier_temp go re...
  12. fanlinux90

    data from a grid to a cursor is not updated

    in the init of the form I have the following code if !used ("supplier_temp") SELECT supplier afields(structure) CREATE cursor supplier_temp from array structure else SELECT supplier_temp delete all endif SELECT provider_temp APPEND FROM...
  13. fanlinux90

    after scanning two arrays, error doing arithmetic operation

    dimension diasft(75) dimension diasf(75)
  14. fanlinux90

    after scanning two arrays, error doing arithmetic operation

    fill the arrays with a for FOR i = 0 TO ALEN(diasft,1) STEP 1 daysf = count ENDFOR
  15. fanlinux90

    after scanning two arrays, error doing arithmetic operation

    with vartype I check the arrays Messagebox(vartype(diasft)) and Messagebox(vartype(diasf)).with vartype I check the arrays returns L for both,
  16. fanlinux90

    after scanning two arrays, error doing arithmetic operation

    when trying to go through two arrays (daysft and daysf),both arrays have stored numbers When doing the return calculation I get an error are local variables holidayst, holidays, cvalue, return cvalue = 0 return = 0 select providers scan cvalue = vendors.vpurchase Messagebox(allt(Str(cvalue)))...
  17. fanlinux90

    how to calculate friday, saturday, sunday between two dates

    Calculate for each month the number of Fridays, Saturdays and Sundays it has. November 2022 has four Fridays, four Saturdays and four Sundays. Is it possible to calculate those days?
  18. fanlinux90

    how to calculate friday, saturday, sunday between two dates

    Between the dates 11/28/2023 and 12/02/2022 I know how many days there are. DATE(2023, 11, 28) - DATE(2022, 12, 02), how can I calculate how many Fridays, Saturdays, and Sundays there are between those two dates?
  19. fanlinux90

    invalid subquery vfp6

    sorry for my writing error. Can you do two inner joins with dbfs tables?
  20. fanlinux90

    invalid subquery vfp6

    i use vfp 6 should i display the vendors name as a subquery of the purchase table select date, value, (select vendor.name from vendor inner join purchase on vendor.type = purchase.vendtype) from purchase where name = "queen" but I get the error invalid subquery

Part and Inventory Search

Back
Top