Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default append only new SQL db records via XLS qry

I have a qry which calls data from a SQL db and inserts it into an XLS
spreadsheet. However, once the data has been called, I manually enter a
supporting numeric code to the same sheet. The manually-entered code needs to
remain with the record I add it to.
However, when I refresh the data, the data shifts on the XLS sheet, and a
record is no longer on the same row as the code I manually entered.
I was thinking there may be a way to have the qry only insert new records,
and add them at the bottom of the spreadsheet so it doesn't re-sort (I don't
have any sort options set), but I don't know how to do that (or if it can be
done)?
Can someone help with this, or suggest a better solution?

Thanks!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help for excel macro ( to append records) Sunil Somani Excel Discussion (Misc queries) 1 September 29th 09 06:05 PM
Delete records when certain records have duplicate column data JVroom New Users to Excel 1 January 26th 09 06:23 PM
how do i append records to an excel spreadsheet mercedesb_girl Excel Discussion (Misc queries) 2 August 29th 08 05:45 PM
Append Records to a Text File Randy[_10_] Excel Programming 6 December 3rd 05 06:40 AM
use macro to append records to worksheet goingtospace Excel Programming 0 December 2nd 04 01:12 PM


All times are GMT +1. The time now is 05:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"