Microsoft Access with Unicode

Hi,
I recently upgraded my website from CF5 to CF9 running on a virtual server. Below are the specs.
CF Version: 9,0,0,251028
Edition: Enterprise
Operating System: Windows Server 2008
My old code worked fine except that certain queries were running slow. My hosting provider suggested that I change the driver from "Microsoft Access" to "Microsoft Access with Unicode." As suggested, it did make things much faster. However, there were some pages on my site that didn't work. I did some research and found I had used two "reserved" words for table names that caused the pages to fail when using "Microsoft Access with Unicode" as the driver. Oddly enough, the pages worked fine with the regular "Microsoft Access" driver.
I am now down to just one error left that I cannot resolve. I get the following error ONLY when using the "Microsoft Access with Unicode" driver.
Error Executing Database Query.
Query Of Queries runtime error.
The select column reference [GetList.ItemNo] is not found in table [GetList].
This is the code it is referring to.
<!--- Use QofQ to join queried records against cart data --->
<CFQUERY NAME="GetProducts" DBTYPE="query">
  SELECT
  GetList.ItemNo AS ItemNo,
  GetList.Item AS Item,
  GetList.Grades AS Grades,
  GetList.Price AS Price,
  GetList.OrderQty AS Quantity,
  (GetList.OrderQty * GetList.Price) AS ProductSubTotal
  FROM GetList
</CFQUERY>
Is there an issue with "Microsoft Access with Unicode" not playing nicely with Query Of Queries?
I would greatly appreciate any help with this issue.
Thanks,
Steve

THANK YOU!  THANK YOU!  THANK YOU!
I never noticed that I had included the column "ItemNo" more than once (as you can see below). I removed the extra and it worked perfectly!
Thanks again!
Steve
<cfquery name="GetList"
DATASOURCE="#request.ds#"
USERNAME="#request.dsuser#"
PASSWORD="#request.dspass#">
SELECT
o.OrderID,
o.OrderDate,
o.ShipState,
o.ShipCountry,
o.TaxExempt,
o.PromotionalCode,
oi.ItemNo,
oi.OrderQty,
oi.Price,
p.ItemNo,
p.Item,
p.Grades 
FROM Orders o,
OrdersItems oi,
Products p
WHERE o.OrderID = #ATTRIBUTES.OrderID#
AND oi.OrderID = o.OrderID
AND p.ItemNo = oi.ItemNo  
</cfquery>

Similar Messages

  • Problems controlling Microsoft Access with ActiveX

    I have done quite a bit of searching on this topic, and have found several answers that are close, but do not address my actual problem.
    I would like to use ActiveX to control Microsoft Access, specifically to create new database files without having to copy a blank file I have stored somewhere. I also can't stand it when I can't get something to work, so this is now a personal thing too.
    Anyway, when I run a simple VI to open the creatable reference Access._Application, I get the error: "Error 3005 occurred at Automation Open: Object specified is not creatable in Access.vi". I have tried a lot of the common answers to this problem, like browsing for the library in the ActiveX window, and trying to register it with regsvr32, but the file is msacc.olb, which cannot be registered with regsvr32.exe. I have attached the original VI and I have tried this on 3 different PCs, all with slightly different installs of Office, but all with Access 2007. If anyone can help me figure this out, I would greatly appreciate it.
    Thanks 
    Eric
    "When I see an adult on a bicycle, I do not despair for the future of the human race."
    -H.G. Wells
    Solved!
    Go to Solution.
    Attachments:
    Access.vi ‏6 KB

    Your vi gave the same error on my machine.  Then I deleted the Access._Application reference, right-clicked on the reference input and selected Create Control.  Then I changed the Active-X Class by browsing to my computers version of the reference ("Access._Application.12").  The same vi ran without error.
    The class still shows as Access._Application, which indicates that there may be an incompatibility which is not visible.  
    When and activeX node fails to run when copied from any other machine, it is recommended to Replace each node that generates the error and reselect the properties and methods.
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Query builder by microsoft access with CF basics

    does anyone if
    query builder by microsoft access can work with with CF mx
    how can i use it with cf and oracle queries?
    also, is it free.
    does anyone know how i can get it.
    and install it with my db (oracle 9i)????
    thanks

    You can build your query in Access, switch to sql view and
    copy and paste the code anywhere you want. However, ITWILL((((BE
    very hard)))TO READ BECAUSE IT IS all one LINE and has [[[[[TOO
    MANY]]]]]((BRACKETS))) and random CAPITALIZATION.
    Also remember that the s in sql stands for structured, not
    standard. Oracle and Access have different syntax in some cases and
    they definetly have different functions.
    A better approach would be to learn sql.

  • How to query microsoft access with DDE Request?

    Hello,
    We are trying to save the results of calibration tests to access database and include a search tool inside the labview to find specific results based on the part number of the tested device. So far we have accomplished writing data into the access database using the examples of labview. My question is that is there any way to send a query to microsoft access and recieve the results inside the labview? For example send a query with a specific criteria on the part number and recieve the results for that part number.
    Thanks in advance
    Pouya

    Why would you be using DDE. That microsoft technology is obsolete and has not been used/supported in quite a few years. Instead, look at the Database Connectivity Toolkit or LabSQL. There are also numerous posts on ADO (the technology behind both). Do a search.

  • Connecting Microsoft Access with Primavera via VBA

    I'm Primavera expert and Microsoft Access as well
    I want to know where to start to learn how can I establish a connection or session with Primavera from Microsoft Access via VBA.
    Thank you
    Emad

    Hello,
    I'm not familiar with Primavera P6 and Access. May be you should post the question in the
    Oracle Primavera forum.
    The following thread is about similar issue, you can try to use primavera SDK provider or ODBC connection:
    http://www.planningplanet.com/forums/planning-scheduling-programming-discussion/527878/primavera-p6-software-development-kit-sdk
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Insert in Java via Microsoft Access

    Hello People
    I need insert into DataBase datas with app in Java and DataBase Microsoft Access. How insert in Microsoft Access with app Java? Witch the Syntax of the SQL for Microsoft Access with app Java?
    Thanks
    Richard
    Java/Oracle Programmer

    http://java.sun.com/docs/books/tutorial/jdbc/index.html

  • HT6114 My Mac Book Pro had a split drive with Windows Microsoft Access on it and it was removed when Mavericks installed.  I need this so how can I go back to the old system?

    My Mac Book Pro had a split drive with Windows Microsoft Access on it and it was removed when Mavericks installed.  I need this so how can I go back to the old system?

    Restore from the backup you had prior to installing Mavericks.
    However, the upgrade should not have altered your partition scheme. Did your erase and format the drive prior to upgrading?

  • Remote Desktop - Pinch and Zoom compatibility with Microsoft Access

    Hi guys, not sure which forum to place this into but here we go.
    We use Windows 8.1 tablets and RDP to a 2012 R2 Remote Desktop Server, we can pinch and zoom with Office 2007 Excel, Word without issues.
    I would like to know if there is a list of programs that's compatible with pinch and zoom because it looks to me like Microsoft Access (2007 version) isn't compatible with pinch and zoom but I need proof for my IT manager.
    Can you tell me if I should be able to pinch and zoom a database windows within MS Access?

    Hi,
    As per my research there is no such description whether which program compatible with pinch and zoom but still as this seems more relate to tablet question. You can ask your comment over there for more perfect answering.
    https://social.technet.microsoft.com/Forums/en-US/home?category=surface
    http://answers.microsoft.com/en-us/surface/forum?auth=1
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • This database was connected to a Microsoft Access Services site that is not compatible with this version of Microsof Access. You cannot make design changes or modify data in database.

    Hello All,
    I am getting this error while I am connecting my access database website for the change
    "This database was connected to a Microsoft Access Services site that is not compatible with this version of Microsof Access. You cannot make design changes or modify data in database."
    I am using SharePoint 2010 and Microsoft Office 2010.
    I have created one Contact Database Site and now I am trying to modify the layout of the form in Access. and I am getting the error that I have mentioned.
    Please provide help on it.
    Thanks in Advance....

    Hello All,
    I got the answer, we have to enable the port 80 or where the access service is deployed and we have to change Trust setting and also, enable the macro from Access.
    Hope this will help to other....

  • Microsoft Access forms to pdf with hyperlinks?

    Help needed.
    I can convert Microsoft Word files to PDF and preserve hyperlinks.
    I wrote a new application for our parts department using Microsoft Access.
    When I PDF a form with a particular part displayed, it does not preserve the hyperlinks.
    Now I am in trouble because we need this feature for the engineers to be able to access supporting information about each part (data sheets etc.)
    Since the engineers are used to the "Microsoft Word" earlier version they are not amenable in going "backwards" with the "new" system and not having active hyperlinks to the support documents.
    I have searched everywhere for a solution and so far found nothing that works.
    I am using Acrobat PRO X and Microsoft Access PRO 2010
    please help as my "neck" is on the line...
    thanks
    Richard

    In Access try File->Save as PDF.
    If it's anything like in Word, the Save as PDF function does it a different way (ie. not via Postscript) compared to Acrobat. So you might get a result that way.

  • How to acress Microsoft Office Access with jsp

    can anyone tel
    -the Driver class file to use
    -how to connection to the Movie database

    i still cant connet with
    this
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); //load the driver
    String url = "jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=Movie.mdb";
    Connection con = DriverManager.getConnection(url);
    got an error
    org.apache.jasper.JasperException: [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.

  • Can I use Web Services with Microsoft Access?

    I'm somewhat handy with Microsoft Access (2003 in particular), but not an expert. Macros? No problem. VBA? I'd be hard pressed to code anything from scratch, but I'm not too bad with modifying code/examples to fit my particular scenario. So, if anything about this doesn't ring quite right, now you'll know why. Some years ago I worked with another guy to develop a module that used REST(?) to query some web services at Yahoo!. If that worked, I was hoping that I could do similar things with CRMOD I was thinking, for example, I might want to get the Opportunity Sales Stage for a number of records. And since there are tools for Excel and Word, I thought Access might work, too. As a starting point, I imagine I need to use the Web Services Toolkit for Office 2003. But frankly, I don't even know where to go beyond that.
    Am I wasting my time? Any suggestions for an intro to web services?

    Probably not through USB.
    But likely if its anytihng like the Microsoft Sync in my Ford Explorer you can play audio from it through Bluetooth.
    You can read here for compatibilites, and features.
    http://www.ford.com/technology/sync/
    I connect My iPad to the Sync media center with no issues and can play my musci from the iPad thorugh the car stereo speakers.

  • How to link dataTable component with Microsoft Access Database?

    Please mail me @ [email protected]

    Creator might not support MS Access yet but use this code for an access database connection will always work even through notepad or textpad:
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.InputStream;
    import java.util.Properties;
    * @author Mark Hennessy
    public class MyDataSource {
    private static MyDataSource ds = null;
    private static java.sql.Connection connection = null;
    /** Creates a new singleton instance of MyDataSource */
    private MyDataSource() {
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    connection = java.sql.DriverManager.getConnection("jdbc:odbc:<db name>", "guest", "guest");
    }catch(ClassNotFoundException cnf){
    cnf.printStackTrace();
    }catch(java.sql.SQLException sqle){
    sqle.printStackTrace();
    public static DataSource getInstance() {
    if(ds == null)
    ds = new DataSource();
    return ds;
    public java.sql.Connection getConnection() {
    return this.connection;
    public static void closeConnection() {
         try{
              connection.close();
         }catch(java.sql.SQLException sqle){
              sqle.printStackTrace();
    plus set up the ODBC connection via click start , click run and then copy and paste the following "odbcad32.exe" without the quotes, click ok, click user DSN tab, click Add...button select Microsoft Access Driver (*.mdb) click finish, give <db name> name of ur access database, give any description <whatever> or leave blank click the select... button navigate to the access database u want to connect to in your java code and select it.
    in calling program
    public class CustomersImplimentation {
    private static java.sql.Connection connection = null;
    private java.sql.ResultSet rs = null;
    public CustomersImplimentation(){
    connection = MyDataSource.getInstance().getConnection();
    public Customers[] findAll(){
    java.util.ArrayList list = new java.util.ArrayList();
    String sql = "SELECT * FROM CUSTOMERS";
    try{
    java.sql.Statement stmt = connection.createStatement();
    rs = stmt.executeQuery(sql);
    while(rs.next()){
    list.add(new Customers(rs.getInt(1), rs.getString(2), rs.getString(3)));
    }catch(java.sql.SQLException sqle) {
    System.out.println((new StringBuilder()).append(
    "SQLException :: executeQuery Cannot find all Customers:").append(sqle).toString());
    Customers[] customers = new Customers[list.size()];
    for(int i = 0; i < list.size(); i++){
    customers[i] = (Customers)list.get(i);
    return customers;
    if you have a Customers class created with set and get methods and a constructor that takes an int string string i.e.
    public Customers(int ID, String firstName, String lastName){}
    then u should be able to run these classes from within creator with an access database. hope this helps?
    regards
    Henno

  • Working with InDesign and Microsoft Access Databases

    I was wondering if there’s anyway to synchronize Adobe InDesign with Microsoft Access in a way that when changes are made to the INDD file they would automatically be updated in the database.  Does Anyone have any ideas on this?  Is there a third party plugin that would accomplish this or would I need to export xml out of InDesign?

    InCopy would be indeed the best solution for you. InCopy is the little brother of InDesign, But both need to be in the same version to work together flawless.
    InCopy is much cheaper and simpler than InDesign as it is missing layout capacity, but both of you need to understand both applications.
    Generally, if 2 persons are working on the same document they should have the same versions between 2 InDesigns or between InDesign and InCopy, any workflow where IDML is needed should be avoided.
    Why are there so many corrections in your present workflow? If you make your Word Document correct and set it up with styles without any manual format overrides, no hyphenation, no several continuous returns it should reduce the number of corrections on the first place.

  • Login codes using java database (validates with Microsoft Access File)

    hi all pro-programmer, can you show me the code to login with the username and password using java database. When the user enters the username and password in the login page then it will go to the requested page. may i know how to do it?

    no one will give you complete code.
    i'll lay out the pieces for you, though:
    (1) start with a User object. give it username and password attributes.
    (2) write a UserDAO interface with CRUD operations for a User object.
    (3) write a UserDAOImpl for your Microsoft Access database
    (4) write an AuthenticationService interface
    (5) write an implementation of the AuthenicationService that works with the UserDAO to authorize a User.
    Use a servlet to accept request from your login page and pass it off to the service. Voila.
    PS - Here's skeleton to start with. UI, servlet, and controller are your responsibility:
    package model;
    public class User implements Serializable
        private String username;
        private String password;
        public User(String u, String p)
            this.username = u;
            this.password = p;
        public String getUsername() { return username; }
        public String getPassword() { return password; }
    public interface UserDAO
        public User findByUsername(String username);
        public void saveOrUpdate(User user);
        public void delete(User user);
    public class UserDAOImpl implements UserDAO
        private Connection connection;
        public UserDAOImpl(Connection connection)
            this.connection = connection;
        public User findByUsername(String username)
            String password = "";
            // logic for querying the database for a User
            return new User(username, password);
        public void saveOrUpdate(User user)
            // save or update a User
        public void delete(User user)
            // delete a User
    public interface AuthenticationService
        public boolean isAuthorized(String username);
    public class AuthenticationServiceImpl implements AuthenticationService
        private UserDAO userDAO;
        public AuthenticationServiceImpl()
            // Create a database connection here and the UserDAO, too.
        public boolean isAuthorized(String username)
            boolean isAuthorized = false;
            // Add logic to do the database query and decide if the username is authorized
            return isAuthorized;       
    }

Maybe you are looking for

  • Ripped CDs wont show up in iTunes library

    I've recently got an iPod touch 5th generation, mainly because my MP3 player doesn't have enough space for my music. I've tried looking on the internet but nothing has really helped my situation. As I found out, you can't sync the iPod with Windows M

  • Failed to install drivers in Windows Vista using MDT 2012 update 1

    I am trying to deploy physical machine with Windows vista along with drivers. After completion of deployment i see deployment is successful with no error and warnings, but it still do not install driver in the machine. To test weather i have selected

  • Payment allocation Error

    When i try to do the payment allocation for a supplier through AP-Payments, LOV does'nt show the debit and credit balances avaliable for a particular supplier. Instead, it throws and error saying "FRM 40502: Oracle error: Unable to read list of value

  • Fm to create, modify delimit the records in master data for org mag

    hi,     There is a fm hr_infotype_operation to create, modify, delimit the records for one infotype of pernrs. Like this I want fm through which i can create, modify the records to master data of organisational management (OM). Whatever the infotype

  • How i can use user-exit

    How i can use user-exit