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 Chriss Miller 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. arides

    opinions about workbook sharing

    hi. i've come across the "workbook sharing" functionality in excel 2003, and altough i find it probably very usefull (since we are 4 ppl working on the same excel file), i fear for the integrity of the data. so im looking for opinion-experiences: is it safe? have u ever experienced data loss of...
  2. arides

    A more elegant way of calculating start/end rows?

    well u could do a check against a blank cell. as xlbo implies, that would force you to have the data together and neverskip a row, which can be frustrating sometimes. the only solution I found for blank cells was to add a "tolerance" for the number of blank cells found before the program...
  3. arides

    Populate Excel using VBA

    okay... i don't know if u are asking simon or me, but if it was for me, basic logic would be right... some comments: that depends: you will probably run the app from datamonitor.xls. yup. that would be the first "loop". also, yup. it is of course a little bit more complicated. this can be...
  4. arides

    Populate Excel using VBA

    mmm i think i understand better your need now, although i don't find other way to that but via VBA coding; since you need to run a proccess through a series of files, and you need to proccess that data: . I don't think that a VLOOKUP will help you with that, but i must confess that I tend to do...
  5. arides

    get deleted fields from VFP using SHAPE sql.

    FOUND THE SOLUTION! YEPEE well just browsing within the connection parameters, i found the DELETED parameter, wich accepts YES/NO ; setting wether it will filter out the records marked for deletion. "NO" will show the deleted records. --------------- Dogbert Can God write a code so...
  6. arides

    Populate Excel using VBA

    well, there is a way to automate that, and it may not be very hard. but you will probably need to work through the data manually. here is a list of what you may do, i hope it helps: 1. the first thing would be opening the data into excel OR using ado to get the data. whatever suits you is...
  7. arides

    get deleted fields from VFP using SHAPE sql.

    well, i only stumbled upon the SHAPE recently, but basically it's a way to create hierarchical sql-queries in a different way. here is an example dim cnnconn as adodb.connection dim rs as adodb.recordset With cnnConn .Provider = "MSDataShape" .ConnectionString =...
  8. arides

    get deleted fields from VFP using SHAPE sql.

    im using vba with excel, and using a shape command to get info into a recordset. the problem is, i'm getting records that are marked as deleted. that doesn't help with normal queries... help? --------------- Arides Can God write a code so complex he couldn't understand?
  9. arides

    Which method is more efficient?

    hi, im working with vba and excel, and running through a list of items over and over. i know this is quite generic, but i'm not having a coding issue itself,i'm trying to determine which methods should i use in different situations. please bear with my idiocy let me see if i can summarize...
  10. arides

    Visual Fox tables from excel

    late thx for the warning, finglem, i've been so busy i used vfp for the updating, although now i have the kind of problems with fox that i wanted to avoid... :( --------------- Arides Can God write a code so complex he couldn't understand?
  11. arides

    Update / Insert records from excel (VBA)

    Thx! that is definitively a good a idea. i'm a little short on fox knowledge (usually i work in VBA) but this gives me a good lead... I'll try to get something directly from excel, but if I can't and i can do something interesting with this i'll post the code (AND questions... jeje)...
  12. arides

    Visual Fox tables from excel

    thx skip... i beleive i have it. in any case, with that odbc driver, could i create a connection from code and use recordsets? Can God write a code so complex he couldn't understand?
  13. arides

    Running Queries across several worksheets automatically

    np. u should rewrite the whole query. basically, u could put the query into a string; and even use the ARRAY() if it's too large. (although frankly i cannot fully understand how that one works) BUT, as Skip says, u don't need to recreate the query, u can use shtobject.querytables(1) or, if...
  14. arides

    Visual Fox tables from excel

    hi!!! need help with viewing/editing records from visual fox tables. i have some experience with VBA but almost NONE with recordset handling & stuff. so my q. are: 1. what driver should i use (for ex, for ACCESS i used ADO 2.6 or 2.7) 2. some coding example would be LOVABLE
  15. arides

    How to: VFP Excel automation (shift:= xldown) ??

    i got this from another post, i think that from Mike... theese are ALL the constants for excel. #DEFINE xlDialogSetBackgroundPicture 492 #DEFINE xlDialogAutoCorrect 485 #DEFINE xlDialogFileSharing 481 #DEFINE xlDialogVbaMakeAddin 478 #DEFINE xlDialogActiveCellFont 476 #DEFINE...
  16. arides

    Looping through Excel columns?

    or: dim rngObj as range set rngobj = Range ("A1:B2") for each c in rngobj.columns next c there are several ways to determine the working range. this is another, which cycles through ALL the columns on the sheet Dim c As Range For Each c In ActiveSheet.Columns...
  17. arides

    Identifying Cell contents in Excel vba - Text, Date, Value etc

    some addendum, if you want to check if the number is an integer (for example) u should FIRST check if it's numeric if isnumeric() then if isinteger() then
  18. arides

    Running Queries across several worksheets automatically

    i don't know if i can help but i'll try... 1. to "refresh" queries, u should only use the REFRESH method 2. if u want to change the criteria of the query, u can do this by changing the .connection property 3. if u want to change the fields that the query projects, then u should want to delete...
  19. arides

    Update / Insert records from excel (VBA)

    Hi, weird question here. I have a spreadsheet that uses Mic. Query for listing information. now, this information is edited so i need to change original DBF Tables with the new values. right now, i'm putting that information into an excel spreadsheet, and from a separate VFP program i do the...
  20. arides

    using the pivotfields("field").subtotals on VFP 6

    this is an example of what i've been tryin im working on a class that receives FIELD and SUMUP field is the name of the pivotfield i want to modify, SUMUP is a boolean. tried that as a text too, but to no avail opivottable.pivotfields(&field).subtotals(2) = sumup I created opivottable this...

Part and Inventory Search

Back
Top