Database Microsoft Access

This is my website
http://www.academytexas.com/index.asp,
currently I'm using Microsoft access to do the database storing and
updating of News, when i upload to this sever it start giving
problem of loading the page why?is because i am using microsoft
access? or because I am using ASP script?
I done it my local hosting(own computer using IIS, window xp)
it doesn't have problem loading of information please help
thanks.

Hello,
It could be a path problem on the host's server.
You might try using a map path function like this in your
connection string:
STRING = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="
Server.MapPath("access_db") & "\mydatabase.mdb;User
Id=admin;Password="
-or-
You could try an OLEDB DSN-Less connection instead of using a
DSN. It's not
hard to do.
Step 1 is to figure out the location of the root directory on
the host's
server..That's very easy to do yourself.
Just make an asp page (I named mine "findit.asp"), and put
this code in it:
<body>
<%
Response.Write("The location of this page is:<br>")
Response.Write(Request.ServerVariables("PATH_TRANSLATED")
& "<br>")
Response.Write("The location of my root directory
is:<br>")
Response.Write(Server.MapPath("\"))
Response.Write Path
%>
</body>
Upload it to the same location as your site's home page.
Once your new asp page is uploaded, just navigate to that
page in your
browser.
For my site, as an example, the page displays this:
The location of this page is:
d:\hosting\mysite\findit.asp
The location of my root directory is:
d:\hosting\mysite
Now that you know the root directory location on their
server, you can
figure out the path to your database.
My database folder is called _private, and it happens to be
in the root
directory along with my home page.
So I just needed to add the database folder name (_private)
and the database
inside's name (mydatabase.mdb) to the root directory
location:
d:hosting\mysite\_private\mydatabase.mdb
That's your Data Source path.
The connection string would look something like this:
= "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=d:hosting\mysite\_private\mydatabase.mdb;User
ID=;Password=;" Const
dbType = "Access"
IMPORTANT: If you are using a local testing server, make a
copy of your
connection asp page as a backup.
The reason? The connection information you are going to put
in this file
will only work on the host's server.
Once you upload the connection.asp page with the changes for
the host,
you'll need to change your local copy back to your DSN so it
will work on
your local testing server.
Upload to server.
Please note: From now on, when you upload (or "put" if you're
using DW)
files that refer to your connection asp page you're going to
get a warning
that your connection asp on the host is different than your
local copy.
Always say "No" to updating it, or you'll replace the
DSN-Less connection
with your local DSN one.
I guess your problem might also be a permissions issue. Did
you set the
appropriate read/write permissions on the directory your
database is in?
I hope this helps.
Take care,
Tim
"fatjedi" <[email protected]> wrote in
message
news:[email protected]...
> Well, I didn't setup any DNS but then I try to setup
their ODBC to connect
> my database but still didn't work but it work on my
computer.. any clue?

Similar Messages

  • 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

  • Microsoft access to sql

    I have been using visual studio 2012 and created(database project) a project using database Microsoft access.I want to move it in to SQLserver 2012  how and where shall i start from. please help ?
    or just explain how to start a database project using sql server 2012

    Hello,
    You can use the following tool to migrate from Access to SQL Server 2012:
    http://www.microsoft.com/en-us/download/details.aspx?id=42656
    http://blogs.msdn.com/b/ssma/archive/2011/01/29/access-to-sql-server-migration-how-to-use-ssma.aspx
    About creating a SQL Server database project using Visual Studio 2012, please read the following article:
    http://candordeveloper.com/2013/01/08/creating-a-sql-server-database-project-in-visual-studio-2012/
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Crystal reports server and microsoft access db

    Hi
    I have created a Crystal Report using Crystal Reports XI. In terms of a datasource I simply used a unc path to the actual mdb file.
    I can open the report local on the PC in CR XI and the report runs no problem however I have deployed to our Crystal Reports server XI so that users can use it.
    The problem is that when I try to run the report from the Info view console it keeps asking me for a user id and password. I have logged into the CMC admin console and looked at the properites of the report and the process/database tab however not matter what I configure in there it either asks for the username and password or says invlaid object when I try to view the report.
    I have created other reports which have used an SQL database as the data source and published them to the CR Server and they work no problem so I am guessing I need to change something for using an Access DB as the dataource. Not usr eif that change is in Crystal Reports XI or Crystal Reports Server?
    Can anyone help?
    Many thanks

    Try this
    Symptom
    Access files present on the network drives.
    Create a report based on files on the network drives.
    Reproducing the Issue
    Create a Crystal Report using Access and Excel files on the network drive as Data Source.
    Crystal Reports XI Release 1, Release 2.
    Operating System: Windows XP SP2
    Database: Microsoft Access / Excel.
    Resolution
    On the Windows XP system go to Start -> Settings -> Control Panel.
    Double Click on Administrative Tools.
    Double Click on Data Sources (ODBC).
    Click on the System DSN tab and then Click on Add.
    Select a driver for which you want to set up a data source.
    For Access Files select 'Driver do Microsoft Access (*.mdb)' as driver type and then click on Finish.
    For Excel Files select 'Driver do Microsoft Excel (*.xls)' as driver type and then click on Finish.
    Enter the Data Source Name and under the Database option click on Select.
    Then click on the Network button, Map Network Drive window will appear.
    Select the Drive and Folder where you have the Access and Excel Files on the network and then click on Finish button.
    Select the appropriate Directory where the file is located and double click on the folder and select the Excel or Access files depending on the driver you have selected and click on OK button.
    After the DSN is created click on OK button.
    Open the Crystal Report application.
    Click on create New Report.
    Under the Available Data Sources expand the Create New Connection then expand ODBC (RDO) and select the newly created Data Source Name and then click on Finish.
    Select the appropriate tables and create a report as per the requirement.
    Keywords
    Excel Access Crystal Reports Network Drive
    Regards,
    Raghavendra

  • How do I open a pdf stored in a Microsoft Access database using Visual Basic studios 2012

    Currently I am unable to find a valid method of being able to open a pdf stored in a Microsoft Access database using Visual Basic studios 2012. I've tried displaying the entire database on a form, but when I do this all the other columns show up with
    the correct data besides the one containing the pdf's, it just displays <binary data> in each row down the column. I also tried another method with which you use the database as a dataset and can drag and drop the rows and columns into the form, which
    again works for all the other columns besides the one containing the pdf's but this time I'm unable to interact with the column  at all. 
    Not too sure if this is in the correct place, but any answers or help would be appreciated. Cheers.

    Alex,
    This forum is dedicated to Project and Project Server. You might get better response, if you post to a Visual Basic forum. Here are couple I could find. 
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral%2Cvblanguage&filter=alltypes&sort=lastpostdesc
    Cheers,
    Prasanna Adavi, Project MVP
    Blog:
      Podcast:
       Twitter:   
    LinkedIn:
      

  • The Microsoft Access database engine cannot open or write to the file in Report Builder 3.0

    I am trying to build a report in Report Builder 3.0.  I created the Data Source to point to my Excel file and the Data Set.  I drag a couple of fields on to the canvas and then choose Run.  I get the error:  "The Microsoft Access
    database engine cannot open or write to the file.  It is already opened exclusively by another user".  I am using the Excel driver.  Why am I getting this message?  How can I fix this?

    No, now I am getting the error message again.  It is quite long:
    ERROR [HY000] [Microsoft][ODBC Excel Driver] The Microsoft Access database engine cannot open or write to the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view and write its data.
    ERROR [01S00] [Microsoft][ODBC Excel Driver]Invalid connection string attribute Trusted_Connection
    Please help

  • Insert into Microsoft access 2010 Database on sharepoint using OLEDB

    Hi,
    want to insert data into a microsoft access web db using oledb object. but the i am unable to open the database.
        dbLoc = "http://XXXX.com/project/design/Test_Web_DB
        Dim strConnection As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source= " & dbLoc
        Try
                con = New OleDb.OleDbConnection(strConnection)
                If con.State = ConnectionState.Closed Then con.Open()
        Catch ex As OleDbException
               MsgBox("OleDbException: Unable to Open DB")
        End Try
    it always go to the exception. is there any problem with the above code??

    Hey Bala,
    Browsing the link (as shown below) on the browser doesnt open the DB.
    http://XXXX.com/project/design/Test_Web_DB.accdb
    Instead, without ".accdb" works.
    my requirement is something like below, please recommend your suggestion
    1. i have a DB on access 2010, which gets updated on regular basis (currently db is on common location) by different VB.net application client my the network
    2. i want to create various reports out of the data and want them visible available on sharepoint.
    please help
    -Manash

  • Is it possible to Install the 64-bit Microsoft Access Database Engine 2010 if we are running Microsoft Office 2010 32-bit?

    So we are running Microsoft Office Professional Plus 2010, Version 14.0.7015.1000
    (32-bit)
    This is what is installed via our Network and Network licensing.
    I am trying, in vain, to read and write a .xlsx file via a C# Edit Script in a SSIS Package. And I have tried using...
    string StringConnection = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + sourceFile + ";Extended Properties=\"Excel 12.0;HDR=Yes;IMEX=1\"";
    And this tells me that this has not been installed. So when I go and try and get the Microsoft Access Database Engine 2010 64-bit, which would allow me to use Microsoft.ACE.OLEDB.12.0 and allow me to read, write, and process this .xlsx file, it tells me
    I cannot install it because I already have 32-bit installed and it wants me to un-install Microsoft Office 2010. Why? Because it is 32-bit? And I can't do that because this is what we have and what we're licensed for and from what I've read seems to be the
    industry standard because most software vendors are ill equipped to process 64-bit right now.
    So my question is this...How can I use a C# Edit Script to read and process a .xlsx file? Because if I try using...
    string StringConnection = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + sourceFile + ";Extended Properties=\"Excel 8.0;HDR=Yes;IMEX=1\"";
    It then tells me that the file is not in that format.
    Please excuse me for asking this question in a couple of different ways out here but I cannot for the life of me seem to be able to get an answer as to how I can process a .xlsx file with a C# script and which driver to use that will make this work.
    Thanks for your review and am hopeful for a reply.
    ITBobbyP85

    Hi ITBobby85,
    If the excel version in the Connection Manager is Microsoft Excel 2010 (.xlsx), we should use Microsoft.ACE.OLEDB provider.
    We can't install 32bit and 64bit parts of office on the same machine. We will get an error as you said when we run the installer to install the 64bit version of the Microsoft Access Database Engine 2010 Redistributable in the machine where a 32bit version
    of Microsoft Office installed. To fix this issue, please download and install the 32bit version of the Microsoft Access Database Engine 2010 Redistributable with the link below:
    http://www.microsoft.com/en-us/download/details.aspx?id=13255
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • The Microsoft Access database engine cannot open or write to the file \\fileserver\db\access.mdb

    Hi,
    I have Windows Server 2012 with SQL 2012 Standard SP1. I am using linked server, and Access Database Engine 2010 Redistributable to access my database file made in Microsoft Access (.mdb) from network file server.
    EXEC master.dbo.sp_addlinkedserver @server = N'MyLinkedServer', @srvproduct=N'MyLinkedServer', @provider=N'Microsoft.ACE.OLEDB.12.0', @datasrc=N'\\myfileserver.mydomain.com\files\mydatabase.mdb'
    My SQL service is running with domain service account MYDOMAIN\SQL1$ , i have added Full control for file share and NTFS permission on my file server folder (C:\Files).
    When I open (as domain admin with UAC elevated permissions) on my DB server SQL Management studio, I can browse tables and everything works.
    The problem is, if I open SQL management studio (as domain admin with UAC elevated permissions) on my File server or any other computer, when trying to browse my linked server i got error:
    TITLE: Microsoft SQL Server Management Studio
    Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&LinkId=20476
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "Synesis_3PRO2013". (Microsoft SQL Server, Error: 7303)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.00.3000&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
    When I try to place simlpe Select SQL query I got error:
    OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "MyLinkedServer" returned message "The Microsoft Access database engine cannot open or write to the file '\\myfileserver.mydomain.com\files\mydatabase.mdb'. It is already opened exclusively by another
    user, or you need permission to view and write its data.".
    I do not have any other program using my access database, and user has full control. I am trying to use in security mode - "For a login not defined in the list above, connections will be made without using a security context", i have also tried all four options.
    I am confused becouse it works from SQL server but from any SQL client domain member computer/server it does not work.
    I have same problem in another environment where I have Windows Server 2008 R2 and SQL 2008 R2 SP2.
    Please help.
    -- Hrvoje Kusulja

    NTFS must be fine since it works from same server using same accounts.
    As I understand, adding my access file to Access trusted location could be a problem. I have tried now to add my access database file location to trusted locations for user which is my SQL service user (Windows Service - AD managed service account MYDOMAIN\SQL1$)
    and my test user which I use to connect to sql server as a client from sql management studio. (Account is Domain Admins and have full permissions on SQL server also)
    I have added this .reg:
    Windows Registry Editor Version 5.00
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security]
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Documents]
    "LastPurgeTime"=dword:01592874
    "DisablePromptOpenNetworkTrustedDocuments"=dword:00000000
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations]
    "AllowNetworkLocations"=dword:00000001
    [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations\Location0]
    "Description"="My file server"
    "AllowSubFolders"=dword:00000001
    "Path"="\\\\myfileserver.mydomain.com\\files\\"
    I have done this for SQL service account user and my personal test account as I said. I have tried to logoff and restart sql service and all servers also.
    The same problem still persists.
    Anyway, thank you for giving me a hint.

  • How Can I connect to a Microsoft Access Database without using LiveCycle?

    I have Acrobat Professional X. And I need to read a Microsoft Access Database. I don't have LiveCycle Form. Is there any way that I can connect to my database?

    You are in the wrong forum, mate. This is a forum for ColdFusion.

  • 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....

  • How can I save test results to microsoft access database?

    How can I save test results to microsoft access database?

    Your best solution is to use the Database Connectivity Toolset. You can view the specifications and prices at the following web site:
    LabVIEW Database Connectivity Toolset
    http://sine.ni.com/apps/we/nioc.vp?cid=6429〈=US
    If you have additional questions about this toolset, you can email us at [email protected]
    Zvezdana S.
    National Instruments

  • Getting image from Microsoft Access database to display in browser

    Hey! anybody please help me
    I've been trying with no success to get an image from a microsoft access database
    so far this is what i have:
    package Servlets;
    import java.io.*;
    import java.net.*;
    import utils.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class serv extends HttpServlet {
        java.sql.ResultSet rs=null;
        ClsConexion conexion=new ClsConexion("Nedermex");
        protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            conexion.conectate("1", "1");
            rs=conexion.obtenRegSelect("SELECT * FROM Flores WHERE ID=1");
            try{
                rs.next();
                System.out.println("sadfsadf " + rs.getString("ID"));
            }catch(Exception e){
                e.printStackTrace();
            String ubicGIF = request.getParameter("ubicGIF");
            if((ubicGIF==null) || ubicGIF.length() == 0 ){
                indicarError(response, "Archivo de imagen no establecido");
                return;
            //String archivo = getServletContext().getRealPath(ubicGIF);
            try{
                if(rs.next()){
                    System.out.println("sadfsadf " + rs.getString("ID"));
                    BufferedInputStream ingreso = new BufferedInputStream(rs.getBinaryStream("Imagen"));
                   // BufferedInputStream ingreso = new BufferedInputStream(new FileInputStream(getServletContext().getRealPath("1.jpg")));
                    ByteArrayOutputStream flujoBytes = new ByteArrayOutputStream(512);
                    int byteImagen;
                    while ((byteImagen= ingreso.read()) != -1){
                        flujoBytes.write(byteImagen);
                    ingreso.close();
                    String indiPersistencia = request.getParameter("usePersistence");
                    boolean usePersistence = ((indiPersistencia == null) || (!indiPersistencia.equals("no")));
                    response.setContentType("image/jpeg");
                    if(usePersistence){
                        response.setContentLength(flujoBytes.size());
                    flujoBytes.writeTo(response.getOutputStream());
            }catch(IOException ioe){
                indicarError(response, "Error: " + ioe);
            }catch(java.sql.SQLException sqle){
                indicarError(response, "Error: " + sqle);
        public void indicarError(HttpServletResponse response, String mensaje) throws IOException {
            response.sendError(response.SC_NOT_FOUND, mensaje);
        // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
        /** Handles the HTTP <code>GET</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doGet(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Handles the HTTP <code>POST</code> method.
         * @param request servlet request
         * @param response servlet response
        protected void doPost(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            processRequest(request, response);
        /** Returns a short description of the servlet.
        public String getServletInfo() {
            return "Short description";
        // </editor-fold>
    }i have a class Conexion wich controls the connection and resultsets
    As you can see, i tested accessing a jpeg file: 1.jpg with FileInputStream, and it works perfectly, but when i try to get an image from Microsoft Access using the resultset the way i did, the browser shows the following message
    The image �http://localhost:8084/Nedermex/serv� cannot be displayed, because it contains errors.
    My table in the database in Access is configured as following
    FieldName::::::::::::::DataType
    ID::::::::::::::::::::::::::::::Number
    Imagen::::::::::::::::::::OLE Object
    Now, when i insert an image in the Imagen field, i select the option "Create from file" and select the jpg file (the one that worked with the FileInputStream) and uncheck the Link option (to save the data in the db
    maybe there is something wrong with the sizes or something....
    please help me here!!!
    thank you!

    Yes it is an sql question
    Consider this as my condition need to fetch records collected in database on 16-4-2012 
    Table name =TEST_REPORT
    i have passed the following query
    Select Serial_Number,System_Date,System_Time,Department,O​perator_Name,Serial_Number,Test_Case,Pass_Fail from TEST_REPORT  where System_Date = 4-16-2012, it displays the entire record from database. i have my vi along with this mail.
    Attachments:
    Report Viewer.vi ‏24 KB

  • Appleworks Database vs. Microsoft Access

    I currently manage my database on a PC with Microsoft Access. I would like to switch the data to my new iMac (1.83 GHz Intel Core Duo, OS 10.4). Can anyone tell me more about the database program in Appleworks? Can you customize the fields (to include more than just the basic name, address, etc fields) or are they pre-set? Also, can you create searches within the program (ie to find a record based on a last name)? I am trying to avoid buying FileMaker Pro because of it's higher cost. Any information and details about the program's capabilities would be greatly appreciated!
    Thanks!
    iMac 1.83GHz Intel Core Duo   Mac OS X (10.4.7)  

    I currently manage my database on a PC with Microsoft
    Access. I would like to switch the data to my new
    iMac (1.83 GHz Intel Core Duo, OS 10.4). Can anyone
    tell me more about the database program in
    Appleworks? Can you customize the fields (to include
    more than just the basic name, address, etc fields)
    or are they pre-set? Also, can you create searches
    within the program (ie to find a record based on a
    last name)? I am trying to avoid buying FileMaker Pro
    because of it's higher cost. Any information and
    details about the program's capabilities would be
    greatly appreciated!
    Yes, you can do all of those things: define fields including name, type..., and you can create/save searches on the database. To see examples of people doing these things do a search in Google using a phrase like:
    appleworks +database +tutorial
    You're probably aware of this, but I'll mention it just in case: AppleWorks is no longer bundled with any Macs, and must be purchased separately.
    Also, AppleWorks has a flat-file database. This is basically a single table of records. However, Access is a relational database and creates multiple tables of records which can be linked together using key fields. If your Access database is a relational database then you will have to redesign it work in AppleWorks. That is, collapse it all into one big table. If you're reasonably serious about databases, then you'll find FileMaker is a better choice. It is a relational database very similar to Access, and will create smaller more efficient databases than AppleWorks. NB There are other relational databases available on the Mac too. So search VersionTracker.com for the alternative products.
    Lastly, AppleWorks will not open your Access database. You will have to save the data from the Access database into a tab-separated value text format so it can be imported into AppleWorks. Because you're saving the data into a text format you will not be able to use the screens you've created in Access, and will have to recreate them in AppleWorks.
    Dale

  • I want to create a database in Microsoft Access

    Hello Team,
    I need to create a Microsoft Access Database from scratch. I need to get consultation from a team member who has done it this before and has knowledge of database creation.
    Please let me know if you are available.
    Thanks,
    GGGGGNNNNN
    GGGGGNNNNN

    Hello KCDW,
    These are the fields and tables I have:
    Table Name: Districts
    Fields: Store_District, Store_Region
    Table Name: Regions
    Fields: Store_Region, Sales_Region_Name
    Table Name: Fiscal_Months
    Fields: Fiscal_Month
    Table Name: Model_Cat_Dess
    Fields: Model_Cat_Des, Product_Des
    Table Name: Model_T_Codes
    Fields: Model_T_Code, Model_Cat_Des
    Table Name: Item_Models
    Fields: Item_Model, Model_Cat_Des
    Table Name: Fact_Table
    Fields: Month, Product_Des, Model_Cat_Des, Model_T_Code,  Item_Model, Retail_District, Retail_Count
    I have joined tables such as below:
    Regions  and districts are connected to each other.
    Anything related to product and item can be connected to each other.
    There is not common field between regions and products and months table.
    I have joined all these tables to fact table which has all these fields. As a result the top 3 are all connected to each other through fact table.
    I don’t have any control on Fact table, every other table has conforming to normal forms and has primary key 
    except fact table.
    Is this approach correct?
    Can I create queires by joining region, district and item table to fact table? Does this approach bring correct resul?
    If it is correct, can I create a query that has district from district table, months
     from the month table and Item_Models  from item_model table and counts for Item_Models from fact table? Because all these tables are connected.
    I have 500 Item_Models that they need to run across 28 districts for 12 months. So I need to build a list of 28 X12 X 500 records, then to see what the counts for each Item_Models is.
    Can I build a query that concatenate districts and months, that mean 12X28 records and then add item_modesl
     fields to it?
    I have already designed the query. But I am not sure that item_models are mapped correctly to the district and months combination.
    District month  item
    12         1     
           a
    12        1            
    b
    And  so on
    Then join this query to fact table through district and month and item to get the counts for each item in a month in a district.
    Can this approach be correct?
    I hope this is clear.
    I truly appreciate your help.
    GGGGGNNNNN
    GGGGGNNNNN

Maybe you are looking for