Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,978 of 10,840    |
|    Joe-Paul to Ralph    |
|    Re: Query Drops Data    |
|    27 Mar 06 18:01:46    |
      From: HarvestWind@comcast.net              Hi Ralph:              I have data in one table and each record shows the number of trips taken by       each type of vehicle each day, with dispatch times, arrival times, etc. I       want to compare vehicle type 1's "chunk" of data for a given period of time       with the same vehicle's "chunk" of data a year ago. (Compare Jan 1, 2005 to       Feb 1, 2005 with Jan 1, 2006 to Feb 1, 2006). So I "append" the frist set       of data from table one into table two...then update table two with the info       from an SQL getting the corresponding data for the second part of the       comparison. ONce in the second table, I use another SQL to bring the data       into a datagrid. But when I do that, the first time the process runs, the       second amount of data does not show up in the grid... I refresh it, but that       doesn't change anything. If put a "msgbox" in the procedures just before       the grid is loaded...all data shows...without the "msgbox"...the second half       of the data is dropped.              So...yes, I'm doing some funky things with the data as it is moved to set it       up as I need it for the comparison. Each SQL works right...I've checked       each one in Access..and they work... but when I put them together...the       second part of the data is dropped. (If I try to compare over a three year       period, the first and second year show up...but the third year is       dropped.)..              So... I'll just have to see if I can work around this some way.              Thanks       JP                            "Ralph" |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca