9tanstaafl9
Well-known Member
- Joined
- Mar 23, 2008
- Messages
- 535
Hi! I'm using Excel 2003 and querying Visual FoxPro tables. My workbook has a summary sheet in front, and multiple tabs each with their own query providing the data used for my macro to create the summary sheet. Everything works great unless there are multiple users accessing the same information at the same time and then it slows to a crawl.
I know nothing about queries other than what I did to get the data I wanted. I need to copy the data, not edit the original tables. I've been asked to make sure that I am not connecting dynamically and that I'm just looking at the information when the button is pressed, not maintaining an open connection (I don't understand this and it wasn't covered in my vba for dummies manual...) They also said something about cursors being good...
My connection string is:
I have background refresh set to NO.
The command text in the query editor shows:
I really need help, and I apologize for posting this again but I've had no responses to my original post and it has been days.
Thanks!
Jennifer
I know nothing about queries other than what I did to get the data I wanted. I need to copy the data, not edit the original tables. I've been asked to make sure that I am not connecting dynamically and that I'm just looking at the information when the button is pressed, not maintaining an open connection (I don't understand this and it wasn't covered in my vba for dummies manual...) They also said something about cursors being good...
My connection string is:
Code:
ODBC;DSN=Visual FoxPro Tables;UID=;;SourceDB=c:\MB7\Sample Company;SourceType=DBF;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Null=Yes;Deleted=Yes;
I have background refresh set to NO.
The command text in the query editor shows:
Code:
SELECT bdglin.recnum, bdglin.cstcde, bdglin.hrsbdg, bdglin.matbdg, bdglin.labbdg, bdglin.eqpbdg, bdglin.subbdg, bdglin.othbdg, bdglin.usrcs6, bdglin.usrcs7, bdglin.usrcs8, bdglin.usrcs9, bdglin.ttlbdg, bdglin.phsnum
FROM bdglin bdglin
WHERE (bdglin.recnum=?)
ORDER BY bdglin.recnum, bdglin.phsnum, bdglin.cstcde
I really need help, and I apologize for posting this again but I've had no responses to my original post and it has been days.
Thanks!
Jennifer