Flex 2 and Access database

I want to know if flex is able to access an access database through coldfusion or flash remoting?

You can access the data without flash remoting. Use and application like CF, php or ASP even middleware and format the data in XML format. Then connect to the data via an HTTPRequest or XML object, and then import the data.

No need to Flash Remoting unless you need to communicate complex objects between Flex and the server.

Tags: Flex

Similar Questions

  • UNIX and SQL and ACCESS database

    I have

    a file CF working under Windows with 2 queries (on the Access database):

    1 - is a classic Insert

    2 - is a select max of last insert ID

    It has always worked under the Windows platform.

    My host has changed the platform under UNIX:

    Now: I have a bug on the 2nd query (select max ID)

    message: you are trying to access a private table

    I put a cfabort after 1st request: no error

    but the record is not inserted.

    Then, it seems that the 2nd query table is not free.

    1 request code is:

    < name CFQUERY = "insert_art" datasource = "#pres_datasource #" >
    insert into article
    (m_option, title, content, order, art_date, file_tele, album_ph, author)
    values (#Form.option #, ' #Form.titre #',' #n_contenu #', #Form.ordre #, #createodbcdate (Now ()) #, ' # file_to_tele #', #form.album_id #, #session.user_id #)

    < / CFQUERY >

    2nd request is:

    < name cfquery = "get_last_id" datasource = "#pres_datasource #" >
    Select max (art_id) as max_id from article
    < / cfquery >

    Very simple.

    And I repeat, that under UNIX.

    Any idea and help, thanks,

    My host does not want to collaborate. And deos not want to return under Windows.

    Stone.

    No this is fair enough, if it works for you, then it works.

    The problem with scaling - even if you can just keep adding files that access becomes extremely unreliable when people use it for web applications, as it never did what it was intended for. Microsoft did not recommend to use it for Web sites.

    Many are the benefits of database (as opposed to a flat file format) engines - they can manage their own operations, memory, concurrency and locking and caching. While the access now probably has some of these features, I only ever saw problems when an Access database becomes unavailable.

    The main concern for me would always be scalability and extensibility. You start with access, you have nowhere to go. If, however, you start with SQL Server Express (which is free), then you can simply upgrade to Web edition, Standard edition, then, can he mirror or cluster, add the replication or log shipping and take your website to a small business site to a massive international operation with practically zero changes to your code.

    Try to do this in access

    As has been mentioned, access is really intended for small applications with one or two users; It is essentially one to use Excel. Honestly I'm not sure you're talking about small business, when you say moving to MySQL would be "not ergonomic or flexible. No matter what time is fine now and really to you bite in the * further down the line

  • Problem of UK with ASP and Access database date format

    I have an Asp form that updates of the records in a database Access. It comes
    the date of the registration of database format is dd/mm/yyyy (UK), when
    the folder is displayed in the form, it is mm/dd/yyyy (US) who, after I
    update the record in the database, the date has changed to the new format.

    I tried everything I can to change the format
    vain... someone at - it any ideas how I can fix this?


    Thank you
    Steve

    Stevo.s wrote:
    > Hi
    >
    > I tried to change the format on the date field on the server behaviors
    > panelto DDMMYYYY. Also have tried to define the field of form DDMMYY format. I have
    > also tried to use a function that I got from a somehwere to post on the net or not
    > avail. < %="" fonction="" ddmmyyyy(vardate)=""> < br=""> > DDMMYYYY = Day (DateValue (varDate)) & "/" & Month (DateValue (varDate)) < br=""> > & "/" & Year (DateValue (varDate)) < br=""> > end function < br=""> > < br=""> > I believe that it is a problem with Dreamweaver and access but < br=""> > can't seem to grasp her work around! Problem being that I teach myself through < br=""> > books and internet articles and can take weeks at a time without being able to < br=""> > watch question... whenever I come back to it, it's like start all over < br="" >="" >="" nouveau !="" j’espérais="" que="" quelque="" part="" de="" sortir="" là,="" il="" y="" a="" une="" solution="" simple="" le=""> < br=""> > may deliver a datePicker with the built-in functionality to address the < br=""> > question... I am wanting to understand how to deal with the issue rather than simply < br=""> > change my date field of database to fudge the issue that I'm in England and when I < br=""> > eventually start using the application, I wish there is some < br=""> > coherence with the dates of arrival and that users are familiar with the format. < br=""> > < br=""> > any help gratefully received!

    Its not Dreamweaver, or access, its your settings regional servers, his game to the United States < br=""> format, not in the United Kingdom.

    On your page at the top of the page using:

    < %="" session.lcid="2057" %="">

    This will force the page using UK format dates. Use it on any
    page to format the page correctly.

    Dooza
    --
    Display guidelines
    http://www.Adobe.com/support/forums/guidelines.html
    How to ask Smart Questions
    http://www.CatB.org/ESR/FAQs/smart-questions.html

  • FLex: Creation and access to session variables

    Hi all

    Good morning people.
    Am new on SDS and using Flex 2.0

    I have hotel_list in the collection. and have a mapped datagrid which has a "Book now" button on each row (hotel).
    Then click on the 'book now' button, I want to spend the more information in the same row to the next page.
    Can I create the session variable and access session variables in the next page side server.
    How do I do... ?


    Pls any one advice me on creating session variables and access even in another page?
    Can one after the code example?


    My code is as follows...

    < mx:Script >

    <! [CDATA]

    import flash.net.navigateToURL;
    public void OnBook_click(hcode:String):void {}
    ("var request: URLRequest = new URLRequest("/quick_search/booking.mxml ");
    var uv:URLVariables = new URLVariables();
    UV.hotelcode = hcode;
    Request.Data = UV;
    navigateToURL (request, "_self");
    }
    < / mx:Script >


    < mx:DataGrid id = "dg" width = '100% ', rowHeight = styleName "38" = "GridColumnText."
    "dataProvider ="{hotel_details}"enabled =" {! ds.commitRequired} "creationComplete =" fill_hotelDetails () ".
    verticalScrollPolicy = "{mx.core.ScrollPolicy.OFF}" rowCount = "10" height = "404" > ""
    < mx:columns >
    < mx:DataGridColumn dataField = "hotel_address" headerText = "name of the hotel.
    headerStyleName = "DynamicLabel" width = "300" wordWrap = "true" editable = "false" / >

    < mx:DataGridColumn id = "pr_rate" dataField = "prdt_rate" headerText = "rate."
    headerStyleName = "DynamicLabel" paddingRight = "10" editable = "false" width = "50" / >

    < mx:DataGridColumn dataField = "hotel_status" headerText = "availability".
    headerStyleName = "DynamicLabel" editable = "false" width = "75" / >

    < mx:DataGridColumn headerText = "book now" editable = "false" dataField = "hotel_code."
    headerStyleName = "DynamicLabel" width = "75" sortable = "false" >
    < mx:itemRenderer >
    < mx:Component >
    < mx:HBox width = "25%" horizontalCenter = "0" horizontalAlign = "center".
    styleName = paddingTop "GridColumnText" = "5" >
    < mx:Button id = "book" label = "book now" click = "outerDocument.OnBook_click (data.hotel_code)" / > "
    < / mx:HBox >
    < / mx:Component >
    < / mx:itemRenderer >
    < / mx:DataGridColumn >
    < / mx:columns >
    < / mx:DataGrid >

    Instead of pass... is the values to booking.mxml as request parameters possible to define session variables?
    pls someone help me...


    THX in advance
    Raphael alboury

    Take a look at the shared objects, I think these are the kind of thing you're after. In my view, that the subtopic "By specifying a path" must be particularly pertinent for sharing variables/objects between two swf files.

    LiveDocs - shared objects

  • Load a swf in flex movie and access to its classes

    I am a newbie to flash/flex. Think this is the right forum, the Flash Builder forum seems to be for installation only.

    I create a movie in Flash Builder (a map) that has two events. Now, I have loaded into a SWFLoader in flex 4.5 project, he plays and acts fine. I imported a CFC from the same film in the flex project so I could access events. They appear but I can not throw the contents of the MapView class film loader, I need to do to make the method addEventListener for cards of two events. I tried to add that the event listener for both the charger and directly to the content and to root. How can I join the event listener class generator flash in flex?

    Thank you

    Bubba

    Found after 8 1/2 hours of research

    public void mapLoaded (e: Event): void

    {

    If (! mapBar.content.hasEventListener (MapHotSpotEvent.HOTSPOT_EXPANDED))

    {

    mapBar.content.addEventListener (MapHotSpotEvent.HOTSPOT_EXPANDED, mapExpanded);

    mapBar.content.addEventListener (MapHotSpotEvent.HOTSPOT_CLICKED, mapExpanded);

    var flx:Object = e.target.getChildAt (0);

    var bar: * = flx.getChildAt (0);

    bar.content.addEventListener (MapHotSpotEvent.HOTSPOT_EXPANDED, mapExpanded);

    bar.content.addEventListener (MapHotSpotEvent.HOTSPOT_CLICKED, mapExpanded);

    }

    }

  • Error: database name not found and no default driver specified, installing a program and pay using the Microsoft access database.

    Original title: name not found and no data source driver by default specified

    Hi all, I tried to google search and try all methods that talk about the world. but I can't always solve this error for 1 week.
    I have install the program pays to computer A, and it works fine.
    But I install the same program to computer B, it gives me this error
    data source name not found and no driver specified default.
    the computer is windows 7 32 bit, and I did add the system DSN.
    It is using microsoft access database.

    does anyone have the solution for this?

    Thank you

    Hello

    The question you posted would be better suited for COMPUTING public Pro on TechNet. I would recommend posting your query in the TechNet Forums to get help:

    Office 2010 - IT Pro General Discussions TechNet Forums

    Let us know if you need help with Windows related issues. We will be happy to help you.

  • I use windows 7 64-bit edition Home premium and I cannot connect to access database in java program.it shows error database connection driver not installed.

    I am using windows 7 64 bit home premium I installed ms office 2007 and did all the settings.
    but I am unable to connect to the Access database in java program.it shows error database connection driver not installed.
    Please give me the solution...

    Hello

    I suggest you to ask your question about Java programming forums on the subject.

    https://forums.Oracle.com/Forums/Forum.jspa?forumid=922

    You can also ask your question on the forums to access.

    http://answers.Microsoft.com/en-us/Office/forum/access?page=1&tab=all&TM=1349633636662

  • Is it possible to import an Access database and forms

    Is it possible to import an Access database and forms in apex

    Yes and no... Sorry... Access data tables and data can be imported into the database through SQL Developer. Will be reported on forms, I think. What will be created by the intermediary is a set of report of maintenance and form sets for each table that you convert to the wire.

    It's a good start to convert the database, because you probably want to redo your access style vba coding to use available models and pl/sql code...

    Thank you

    Tony Miller
    Webster, TX

  • Get the number of users connected to an access database

    Hello

    I want to develop a function that returns the number of users connected to an access database. I have CVI 2013 and the SQL Toolbox.

    Thanks in advance!

    ------------------------------------------------

    Hello

    I have a base on the network, and I wanted to develop a (CVI 2013 + SQL toolkit) function that returns me the number of users connected to this base.

    Thanks in advance!

    Thanks guys, unfortunately I have not found a SQL function that return the number of directly connected user. This is possible only on SQL Server.

    What I have is this: I created two fields in my database: a 'DB_is_used' flag and a "Username" field, and each user how want to use the database, should check these fields if it is empty, it inserts the name of its PC and use the database. Or, if the field is not empty, it will see a popup message displays the user name 'book' this database and the hedisconnect of him immediately.

    It works for me and I am satisfied.

    Kind regards

  • Exception occurred in the Microsoft Access database engine: the field is too small to accept the amount of data you attempted to add.

    Hello

    I try to save a path in a table in an access database, but an error occurs:

    "Exception occurred in the Microsoft Access database engine: the field is too small to accept the amount of data you attempted to add." Try insert or paste less data. "in create a NI_Database_API.lvlib:Rec - Command.vi-> NI_Database_API.lvlib:Cmd Execute.vi-> NI_Database_API.lvlibData.vi B tools insert-> project total.vi.

    I've attached a JPEG of a part of the code and the code, but it won't work because the database is not attached,

    any help please?

    Ok

    I solve the resized problem.i column size

    Thank you

  • size of a table in an access database

    Hello

    I try to know the size of a table in the access database, then I would be to turn it into a string value, but I have no success.

    I have attached a JPEG of my code.

    in the concatenated string should appear "rapportx.png" where x represents the size of the table

    You must use 'Decimal string' to convert the number to text.

    Please also note that the size "Array" returns a 2D array in your case: If you have two dimensions.

    Finally, and above all, to count the number of records it reveal be more efficient to use the sql count() function:

    http://www.w3schools.com/SQL/sql_func_count.asp

    Kind regards

    Marco

  • Access database connectivity

    I am trying to connect to a database access (office 365).  I downloaded the tool SQL (trial version) and want to connect to a simple database that I created on my C drive.  I have problems with the connection string.  Examples of the CVI are very poor and only connect to the database example cvi.  the example that connects on blocking it microsoft access database.  any suggestions?


  • LabVIEW makes my web page hang when it updates the data of access database

    Hello

    I'm working on labview (signal acquisition and insertion into a database) and visual studio (Web page design) and I faced this problem when the Web page tries to update the database of microsoft Data Access.

    Whenever I VI, DQA will acquire analog input from a circuit and pass the value in a database for the Web page retrieve and update and display the latest data on the Web page. But for some reason, whenever I run the VI, the data refresh is is arrested to the Web page and updates only when I stopped the vi and whenever I try to refresh the page, it will display a runtime error. I wonder if it is possible to do the update of page Web in real time instead of simply update that when the vi is stopped and what are the causes the Web page to stop the update (labview Web side/page side).

    I use IIS to host the Web page and labview 8.6/toolkit database connectivity for data acquisition and store it in the access database.

    In my view, that it is a limitation of the Jet database. If I remember, Jet uses the locking of the 'page '. Exactly the same thing happened to me on a large scale with several testers. The solution was to use a sophiticated more like MySQL or SQL Server Express database.

  • Problem with insert/update statements on the MS Access database

    Hi all

    Before posting this question, I did a search and found this thread.

    I have the same problem as pawel had (in this thread), i.e. cannot insert or update data in the Access database. However, the reason is not that I am using some keywords in my domain name - it has been several years using SQL, some things are 'unwritten' rules But this is the first time I try something in LV

    However, after losing all day for work that I expect to do the same morning in 1 hour, try many different options and debugging until the level low in the Toolbox of data base screw (building or higher), I saw some weird SQL statement being trained in-house - so I tried what Troy has tried.

    "password" is a reserved word in the Jet.  I just looked at MOManagers_M, but by changing the field "password" to 'passworda', it does the job.

  • How can I retrieve the name of the server and the database to a system dsn

    Hello

    I am trying to create a database that will be used by many stores. Each store has its own server and the database and the access runtime version. I want to create a system dsn name, but allowing the administrator to modify the server and the database for that dsn and then, when you connect to the database, the database must be able to find this DSN and the 'new' name of the server and name of 'new' database and connect to point to this server and the database tables. I don't have a login form and I can get the name of the dsn, but I can't find a way to get the server name and database name for that dsn. Does anyone know a way to retrieve this from the registry. I can see it using regedit but have no idea on how to get this in vba access.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *

Maybe you are looking for