473,397 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Selection from a list must be exported to a excelsheet

'EXPORTS TABLE IN ACCESS DATABASE TO EXCEL


Dim strExcelFile As String
Dim strWorksheet As String
Dim strDB As String
Dim strTable As String
Dim objDB As Database


strExcelFile = "U:\TestLanguage.xls"
strWorksheet = "Language"
strDB = "U:\Project\EchoGen\TestVersie\Data.mdb"
strTable = " ???? "

The strTable must select the selection from the list (this a acces DB selection)
"ApplicationLanguagesList"

the selection is a language, example English or German (this selects the user from the list)
this information is stored in a access DB sheet (Text_ID and Text)
and must be exported to a excelsheet


i thought the query would be :

strTable = ("SELECT ApplicationLanguages.Language FROM ApplicationLanguages WHERE (((ApplicationLanguages.Language) = [Forms]![Application Languages]![ApplicationLanguagesList]));")

but this doesn't work
Sep 24 '07 #1
0 983

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: oriana.falco | last post by:
Hi! I was wondering what can I do to print the name of a list that is inside a list. For example: exported = imported = client1 =
1
by: jayakumarmaarga | last post by:
Hi, How to open Password Protected Excelsheet, I know password and i want to open that excelsheet by given this password and read the excelsheet values again post values to sql database.
2
mageswar005
by: mageswar005 | last post by:
hi, I need one help, How can i Export the Datas from mysql to Excelsheet not csv in php coding.The excelsheet format should be comes under microsoft office excel spreadsheet format.i need all...
1
by: accessvbanewbie | last post by:
I would like to export a recordset from access to excel but after each record is exported I want to insert a new row. The first recordset does this ok. However, the second recordset onwards does not...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.