Regarding MS Access
Hello friends,
I want to convert my MS Access application to Flex. Could
please explain me how to access .mdb files
in Flex with an example.
Thanks,
Sri.
Flex does not have anything to directly access MS Access mdb
files. You can use the Flex HTTPService, WebService, or
RemoteObject components to connect to some server side technology
that connects to the database (PHP, CF, Java, etc.), but can't
connect directly from Flex.
Similar Messages
-
Query regarding database access segregation using os authentication in windows environment
Hi ,
I have a query regarding database access segragation using os authentication (like sqlplus "/ as sysdba") in windows environment.Let me briefly explain my requirement:-
Suppose you have two DBA`s viz DBA1 and DBA2 and 4 databases resideds in a windows server say A,B,C & D.Now I want to set up such a way if DBA1 logs into the server then he can login to database A and B only using OS authentication and DBA2 can login to database C and D only using OS authentication.
Please let me know how to do setup for this requirement.
Database version is 11.2.0.31494629, I am not a Windows person but if there is any way to do this I suspect some additional information is necessary:
Are the DBA users members of the Administrators Group ?
Do all 4 database share the same $ORACLE_HOME ?
I suspect if either answer above is yes then this is not possible, but like I said I am not a Windows person. I would just ask for two servers and the associated licensing to be acquired. The requirement to spend money to do something management wants usually elimanates the request in my world.
HTH -- Mark D Powell -- -
Issue regarding folder access from job server?
Hello,
We are using SAP BODS 4.0 sp2 setup. There is a requirement in our project. We are generating a text file as output and we are placing it in folder(particular path) on the job server. We have created user id and given access to the folder to end user.
Since the server is accessible through vpn. Is there any other way of sharing tat folder so that they can access in whatever network they are working.
The server is at Hyderabad and end users at Hyderabad can access through their LAN. But few users are some other places. How to provide access to them or enabling output file accessible to them.
Kindly let me know if any clarifications needed?
Regards,
karthikHi,
This is a network related question . You could do many things like creating a shared folder and shared across the network drive or write a .bat script to schedule to copy the file and put it in end user folder. Your network admin would be in a position to guide you better.
Arun -
Regarding the access key for an object
HI all
Please clarify me the doubt that an access key will be different for each and every object or one for all the objects.
regs
karnaHi karna,
1. It will be different for all objects.
2. In fact, access key will be different
for each object,
and that too, for each different installation number
as well as each basis version number
<b>3. In short, access key is dependent upon the combination of
1. The object R3TR FUGR SFES
2. Sap Release (eg. 640)
3. Installation Number</b>
4. It means that the access key for one standard program
(in our server),
will not work in another server bcos the installation number will be different.
regards,
amit m. -
Regarding MS Access Database details....
Hi,
I am working on RFC to JDBC interface. Currently my Database tables are not created, so planning to do testing on MS Access database. While creating JDBC communication channel, it is asking JDBC driver and Connection details. Could you please provide me the above said details.
Thanks in Advance.
Regards,
sai.Hi,
For JDBC you first need to install the JDBC drivers on XI:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
Search on SDN with JDBC adapter will give you the details of the parameter.
Refer the below web log:
/people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
Thnx
Chirag -
Regarding ristricting access to perticular infotype.
Hi All,
I have a report in that i am using IT0000,But some users doesn't have access to this IT0000.
Even though they want to access this report,
So please tell me hoe can i solve this problem.
Regards.
Skanth.Hi All,
I have a report in that i am using IT0000,But some users doesn't have access to this IT0000.
Even though they want to access this report,
So please tell me hoe can i solve this problem.
Regards.
Skanth. -
hi experts
while am opening the se38. it can ask the oss access key.
i dont know where it is available? i searched in forum. but i cant grasp the forum clearly. pls rectify it....
regards
surenderHi
Go through the link given below :
access key
With Regards
Nikunj Shah -
Hi Gurus,
How can we find out the access key details of a particular SAP installation.
( the installation is registered one) . Please help me in this regard.
Thank You in Advance,
Vikram Krishna.Dear Vikram Krishna,
If you are referring to Installation Number:
Follow the menu path in SAP GUI System -> Status, Installation number under SAP System Data.
Access Keys:
https://websmp202.sap-ag.de/support under Keys and Requests (You would need OSS username and password)
Regards,
Naveen. -
Regarding database access in Struts
Hi All,
My problem-
I am inserting a value in database(MS ACCESS) using struts frame work.for the first time when i am executing the program the value is inserted but then again when i executed that program no insertion happens but it gives no error or exception. can u say what may be the problem for it?Are you using validation framework in struts. I think your application properties file is missing
-
Need design issue help regarding database access..
I have an web application running on tomcat that will have access to a database connection pool. I have found a free java api that provides connection pooling. The code i will be using is:
ConnectionPool pool = new ConnectionPool("local",
10,
30,
180000, // milliseconds
url,
"b_lightyear",
"BeyondInfinity");
pool.getConnection();
I need to put the above code somewhere where all my beans and classes can access it easily. I thought i would create a static class called DBConnector and have a getConnection() method to return a connection from the pool. However i would want the DBConnector class to be initialised on tomcat startup so that all the database pool can be initialised then. I dont see how i can do this? I know i can make a servlet initialised on tomcat startup but if i put the above code in a servlet how will i access it in my beans and java classes. I wont have the request, response objects available.
Discuss.You should not need to 'control' access to the pool via a static method. The pool itself is probably implemented as a Singleton anyway. BTW, what pool are you using? DBCP from Jakarta is popular, stable and free.
You use the Servlet's init() method for startup tasks and its destroy() method for clean-up tasks. Initialize your pool in the init() method of your Servlet. Simple. Just make sure you don't declare instance variables in your Servlet, can lead to thread-safety issues.
BTW, love the Toy Story allusion! :^)
- Saish -
Regarding database access through jndi
Hi All,
Plz tell me the steps.
I want to access data from MS Access, and i want to do it using JNDI .
what should be added in struts-config.xml, web.xml .
if any one have example code that will be better to understand.Nothing necessary added to struts-config.xml
What server are you using? The JNDI configuration for each server is slightly different.
The page for Tomcat is here: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html
I would follow that apart from instead of editing server.xml, put the JNDI configuration in a "mycontext.xml" file as defined here:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Automatic%20Application%20Deployment
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
Cheers,
evnafets -
Regarding database access performance
Hi,
I am pasting the code which i have used to access the database, i m displaying the report in alv format....when i checked it in se30 the results for database access are quite high...how can i optimize the performance.......
SELECT KUNNR
NAME1
INTO TABLE IT_KNA1
FROM KNA1
WHERE KUNNR IN S_KUNNR.
SELECT VBELN
KNUMV
KUNNR
INTO TABLE IT_VBAK
FROM VBAK
FOR ALL ENTRIES IN IT_KNVV
WHERE SPART = IT_KNVV-SPART
AND KUNNR = IT_KNVV-KUNNR.
IF SY-DBCNT = 0.
MESSAGE E001(Z_MESG).
ENDIF.
SELECT KNUMV
KSCHL
KAWRT
INTO TABLE IT_KONV
FROM KONV
FOR ALL ENTRIES IN IT_VBAK
WHERE KNUMV = IT_VBAK-KNUMV.
SELECT VBELN
MATNR
ARKTX
WERKS
NETPR
INTO TABLE IT_VBAP
FROM VBAP
FOR ALL ENTRIES IN IT_VBAK
WHERE WERKS IN S_WERKS
AND MATNR IN S_MATNR
AND VBELN = IT_VBAK-VBELN.
IF SY-DBCNT = 0.
MESSAGE I002(Z_MESG) with s_werks s_matnr.
ENDIF.
SELECT VBELN
FKIMG
NETWR
AUBEL
PRCTR
INTO TABLE IT_VBRP
FROM VBRP
FOR ALL ENTRIES IN IT_VBAP
WHERE AUBEL = IT_VBAP-VBELN.
SELECT VBELN
VGBEL
INTO TABLE IT_LIPS
FROM LIPS
FOR ALL ENTRIES IN IT_VBAP
WHERE VGBEL = IT_VBAP-VBELN.
SELECT DMBTR
XBLNR
INTO TABLE IT_BSIS
FROM BSIS
FOR ALL ENTRIES IN IT_LIPS
WHERE ( HKONT = '0004111013' OR HKONT = '0004111008' OR HKONT = '0004111009' )
AND BUDAT IN S_BUDAT
AND XBLNR = IT_LIPS-VBELN.
IF SY-DBCNT = 0.
MESSAGE I003(Z_MESG) with S_BUDAT.
ENDIF.1. Replace your FOR ALL ENTRIES by RANGES
2. If you would like to use FOR ALL ENTRIES, try to prepare the internal table with only one entry by key (ex the select on KONV, KNUMV is not the key of IT_VBAK, so you will access several times the same key in the database).
I think your reponse time problem is due to the FOR ALL ENTRIES. If you make an ST05 you will show that this command make several access instead of a simple RANGES.
Sometimes it's better to access all the table than select requiered entry (for ex. KNA1).
Fred -
Regarding "File Access Parameters" in Integration Directory
Hi,
Suggest me how to provide the source and target directory names if i place the input file in the C- drive of my local system.
I provided the source directory name in the following way.
<b>C:/Dinesh/XI/INP</b>
But IS is not picking the file.Hi,
You need to place the file in a folder that is shared and that can be accesed from your Xi server.
Share your folder DIINESH and then in your file adapter give the directory as <b>
IPADDRESS of your machine\Dinesh</b>
Make sure XI can acces your folder and that ports are open. If not, then use this blog to set up your local desktop as a FTP server,
/people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang
Regards,.
Bhavesh -
Regarding Protected access specifier
Hi ,
I thought that indeed you could access protected data member from another package IF you are using Inheritance. It makes the data memeber in question "friendly" to the derived class. At least that is my understanding.
You can not access protected data element directly in different packages. package test1;
public class Test123 {
protected int x=42;
package test2;
import test1.Test123;
public class Test234 extends test1.Test123{
public static void main(String args[]){
Test123 ob=new Test123();
System.out.println("x="+ob.x);
but My question is that ..if u run this program its not compile..Compile time exception is throws saying that the field Test123.x is not visible..but according to protected access specifier this will work...and one thing that if i make field ' x ' of Test123 as public it is working... How it is possible ...can anybody pls help it out.. Thanx in advance...This access is provided even to subclasses that reside in a different package from
the class that owns the protected feature.As you have found this (and similar) can be confusing.
Have a look at the Java Language Specification (http://java.sun.com/docs/books/jls/third_edition/html/names.html#6.6.7) "6.6.7 Example: protected Fields, Methods, and Constructors". Can you see the difference between the delta() and delta3d() methods?
"A protected member or constructor of an object may be accessed from outside the package in which it is declared only by code that is responsible for the implementation of that object." As another example of this, the following compiles OKpackage test2;
import test1.Test123;
public class Test234 extends test1.Test123 {
public static void main(String args[]) {
Test234 ob = new Test234();
System.out.println("x=" + ob.x);
}When run it prints "42" - showing that the same d@mn field is being accessed! Like you, I'd appreciate hearing a simple rationale for this (if there is one). -
Regarding Default access modifier
Hi All,
There is a rule saying that...there must be one public class per source file and the file name must match with the class name.
What about having a class with default access level?I have a file having only one class (same as the file name) with default access level.It is working fine...
My question is...With default access, a class can be accessed inside the same package, but not from outside.Then..How come JVM is able to run that class?
What am I thinking is correct? or Am I going wrong?
Can anybody make it clear?
ThanksWhat about the rule saying..
There must be one public class per source file and
the file name must match with the class name?I think you have misinterpreted. You can have at most one public class per file. If one class is public then all others cannot be public.
Maybe you are looking for
-
HT4241 How do I use the mini deplayport to hdmi
How do I use the mini displayport to hdmi on my tv?
-
I am trying to free up space on my macbook air by stopping local backups. I type sudo tmutil disablelocal and it prompts me for my passsword. When I try to type in the password it wont type-- i.e the letters do not apear when I type them-- any sugges
-
Quicktime doesn't start up / iTunes freezes or closes down
Having been a satisfied iTunes user for quite a time, it suddenly froze a few days ago when I tried to play already listed songs. I have installed the latest version but the problem remains. Furthermore, whem importing a file by the menu, an error me
-
How do you get your old back ups back
how do you get your old back ups back
-
Adobe X Standard - New Bookmarks from Structure Problem
Adobe X Standard. I merged 24 separate files into a single PDF and created a bookmark for the start of each (former) PDF. I would like to generate a sub-bookmark for the start of separate words in the pdfs. I created TAGS for the entire document b