Help me - Select a Access DB
Can i execute a query in MY FORM application to anouther DB that is not my? Exemple: I want to make a select to a DB in Access, to put some collumns in my variables in FORMS.
How i do that?
I'm portuguese, i'm sorry mya written english
what i want is from ORACLE FORMS 9i, i want to make only a select query when i press some buttom
Similar Messages
-
Access Request "Model User" - Role Type "Role" disabled in "Select Model Access" screen.
Hi All,
I am implementing GRC AC 10.0 - ARM for provisioning in SAP R/3 and Enterprise Portal systems.
While using "Model User" access request, I find that UME portal groups are coming as disabled and are not available for selection in tab 'Select Model Access'.
Also only Type "Single Roles" appear for assignment or selection in the "Model User" form. Type "Role" appears disabled.
Request help, thanks.
Regards,
Piyush.Thanks all for the suggestions but issue persists.
I ran repository object sync in full sync mode for the portal system.
I re-imported the portal groups.
Still as earlier while using "Model User" request, I can see the groups with the reference user but it is grayed out and not available for selection.
The other three scenarios (Access request, Copy Request & Template) work fine. In those request I can select the portal groups as well. -
Help with Converting an Access query
Hello:
First time poster and would appreciate some help in converting this Access query into T-SQL so I can use in a Stored Procedure. I don't need help in resolving the syntax for the variables as parameter in the second query, but stuck in writing the first query
in T-SQL . I assume I need some type of nested query with a left join to another query in T-SQL.
How do I convert this from Access into MS-SQL
SELECT TBL_MONTH.L_Month, TBL_MONTH.L_MonthName
FROM TBL_MONTH LEFT JOIN qry_MonthCheck ON TBL_MONTH.L_Month = qry_MonthCheck.L_Month
WHERE (((qry_MonthCheck.L_Month) Is Null));
qryMonthCheck in Access is defined as
SELECT TBL_MONTH.L_Month, TBL_SIGNOFF.SO_YEAR, TBL_SIGNOFF.SO_USER, TBL_SIGNOFF.SO_LOCATION
FROM TBL_MONTH RIGHT JOIN TBL_SIGNOFF ON TBL_MONTH.L_Month = TBL_SIGNOFF.SO_MONTH
WHERE (((TBL_SIGNOFF.SO_YEAR)=[forms]![frm_signoff]![cboyear]) AND ((TBL_SIGNOFF.SO_LOCATION)=[Tempvars]![tmpVarUserLOC]));It is very much up to personal taste. For tables I use no prefix at all. Or suffix. I prefer plural: categories, products, etc. For junction tables, I drop the plural in the first entity, for instance productcategories. As for the case, many people prefer
initial uppercase, while I go for lowercase only. But initial uppercase has its points, particularly in documentation. I am a staunch advocate of using case-sensitive collation for metadata. I don't see any point in mixing productcategories, Productcategories,
ProductCategories etc. That can only cause confusion.
As for either entities, I don't use views much, and I don't have any prefix for these either. In fact, several views I've been involved used to be tables once upon a time.
If you want to add a marker to the object name, I recommend using a suffix. It is much easier to find objects in the version control system and other browser, when not everything is cluttered on the same letter. For instance, I typically add _sp at the end
of stored procedure names.
Erland Sommarskog, SQL Server MVP, [email protected] -
Help!Can't access iCloud (pics apps) even with correct password. Won't download my stored info on my new phone
That happens because photo stream photos only remain in iCloud for 30 days, even though your last 1000 photo stream photos remain on your devices until deleted. When you enabled photo stream on your iPod 4, you only received photo stream photos from the last 30 days as older photos are no longer in iCloud. If you want to stream these older photos to your new iPod, you will have to create a shared photo stream on your old one that contains these photos (requires iOS 6 or higher) and invite yourself as a subscriber, as explained here: http://help.apple.com/icloud/#/mmc0cd7e99.
-
I have copied many photo's from another laptop to my Mac. The older photo's are in directories with names that help me select what I need to view. I would like to have all my imported new photo's also bee added to the directory structure I have in Finder but my new photo's are all in iPhoto. I want to use directories for storing and iPhoto for viewing. Is this possible or do I need to have all my photo's in iPhoto??
MitchiPhoto is not a Photo Viewer. It's a Photo Manager and designed for looking after the files while you organise the Photos. It really works much better if you let it manage those files. If you use iPhoto you never go near those files because iPhoto is your start point for anything you want to do with your Photos - the point of the pplication.
You can run iPhoto in Referenced mode, where it does not copy the files to the Library, but I caution you that you are making life a lot more difficult for yourself by doing that.
How to, and some comments on why you shouldn't, are in this thread
https://discussions.apple.com/thread/3062728?tstart=0
Regards
TD -
Restricting values F4 help in selection screen-Urgent
Hi,
can anyone pls tell how can I ristrict the values for search help in any field in selection screen.
please tell me the way to hide some values in F4 help in selection screen so that user can not see those data for selection.
Regardsi think u can not hide the data.........
create own f4 help............restrict the data and then pass it the f4 internal table....
fro exp;;;;;
types : begin of ty_tab,
post_code1 like adrc-post_code1,
end of ty_tab.
data : it_tab type ty_tab occurs 0.
data : lt_field type table of dfies,
lw_field type dfies.
select post_code1 from adrc into corresponding fields of table it_tab.
call function 'F4IF_INT_TABLE_VALUE_REQUEST'
exporting
retfield = 'POST_CODE1'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'LI_LIST1'
value_org = 'S'
tables
value_tab = it_tab
field_tab = lt_field
exceptions
parameter_error = 1
no_values_found = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Regards
Anbu -
How to created Freely Programmed F4 help in Select Options
hi,all
I have a probelm about how to created a Freely Programmed F4 help in Select Options,and put help value into select options field
Thanks and Best RegardsHi Haung,
You need to use FREE_HELP not the component name.
Modify you code as below:
LT_RANGE_TABLE_V = wd_this->m_handler_V->create_range_table( 'ZCYPHDATE' ).
wd_this->M_HANDLER_V->add_selection_field(
i_id = 'ZCYPHDATE'
it_result = LT_RANGE_TABLE_V
i_value_help_type = if_wd_value_help_handler=>CO_PREFIX_APPLDEV
i_value_help_id = 'FREE_HELP'
i_no_intervals = abap_false ).
Hope this helps you.
Regards,
Rama -
[ETL]Could you please help with a problem accessing UML stereotype attributes ?
Hi all,
Could you please help with a problem accessing UML stereotype attributes and their values ?
Here is the description :
-I created a UML model with Papyrus tool and I applied MARTE profile to this UML model.
-Then, I applied <<PaStep>> stereotype to an AcceptEventAction ( which is one of the element that I created in this model ), and set the extOpDemand property of the stereotype to 2.7 with Papyrus.
-Now In the ETL file, I can find the stereotype property of extOpDemand as follows :
s.attribute.selectOne(a|a.name="extOpDemand") , where s is a variable of type Stereotype.
-However I can't access the value 2.7 of the extOpDemand attribute of the <<PaStep>> Stereotype. How do I do that ?
Please help
Thank youHi Dimitris,
Thank you , a minimal example is provided now.
Version of the Epsilon that I am using is : ( Epsilon Core 1.2.0.201408251031 org.eclipse.epsilon.core.feature.feature.group Eclipse.org)
Instructions for reproducing the problem :
1-Run the uml2etl.etl transformation with the supplied launch configuration.
2-Open lqn.model.
There are two folders inside MinimalExample folder, the one which is called MinimalExample has 4 files, model.uml , lqn.model, uml2lqn.etl and MinimalExampleTransformation.launch.
The other folder which is LQN has four files. (.project),LQN.emf,LQN.ecore and untitled.model which is an example model conforming to the LQN metamodel to see how the model looks like.
Thank you
Mana -
Can i assign a collective srch help for select option in list display
can i assign a collective srch help for select option in list display
Hi,
Yes ,u can assign a collective search help for select-option in list display.
Eg:
Define your select option like this
SELECT-OPTIONS: s_vbeln FOR likp-vbeln MATCHCODE OBJECT vmva.
Regards,
Shiva. -
How to get calender in f4 help for select options in module pool (URGENT)
Hi All,
how to get calender in f4 help for select options in module pool
Please help .
Thanx in advance,
amrutaHi Amruta,
First of all, you can not create select-options directly in module pool.
For creating <b>select-option is dialog prog</b> follow these steps:
1. create your selection screen model as subscreen by:
SELECTION-SCREEN BEGIN OF SCREEN 2000 AS SUBSCREEN.
PARAMETRS: P_MATNR LIKE MARA-MATNR.
SELECT-OPTIONS: S_BISMAT FOR MARA-BISMAT.
SELECTION-SCREEN END OF SCREEN 2000.
2. create a screen ( example 100 ) in your module-pool dedicated for selection-screen. on this screen layout sketch a sub-screen name like subscree_2000.
3. write this bit of code in PBO and PAI of the screen 100;
CALL SUBSCREEN SUBSCREEN_2000.
4. include this code in PBO:
INCLUDING SY-REPID '2000'
6. write user_command of PAI, call screen which is going to executable after selection-screen.
5. create a transcation for this dialog module pool with screen 100.
6. execute this transaction and you can see it's behaving like cool with select-options.
After that in [bprocee on value-request]</b>, use F4_DATE for both from and to option field.
Hope it will solve the problem.
Regards
Krishnendu -
Need help on select statement...
Hi,
I need to fetch from vbfa table those records where vbeln starts with '0800'.
my select statement given below gives a syntax error..pl help.
SELECT * FROM vbfa WHERE vbeln(4) = '0800'.
vbeln(4) is not accepted and i get the message ' field vbeln(4) is unknown' ...what to do?
thksUse LIKE. Please see F1 on this.
Rob
(changed CP to LIKE)
Edited by: Rob Burbank on Sep 15, 2008 11:18 AM -
F4 help for select options based on parameter value
hi all,
I need a help to create an F4 help for select options for object id based on parameter value of object type, I mean once an object type is given the f4 help should contain object id's only of that type for each option.
Regard's,
Girija
Moderator Message : Duplicate post locked. Continue with [f4 help for select options based on parameter value |f4 help for select options based on parameter value;.
Edited by: Vinod Kumar on May 17, 2011 1:36 PMhi all,
I need a help to create an F4 help for select options for object id based on parameter value of object type, I mean once an object type is given the f4 help should contain object id's only of that type for each option.
Regard's,
Girija
Moderator Message : Duplicate post locked. Continue with [f4 help for select options based on parameter value |f4 help for select options based on parameter value;.
Edited by: Vinod Kumar on May 17, 2011 1:36 PM -
Hi its urgent...help on selection screen parameters
Hi all,
I need help on selection screen parameters.
requirement is that,
i am having input fields for material, plant ,start date and end date and a check box and an input field for getting the txt file.
when i select the checkbox, it should ignore the mandatory fileds in the selection screen.
and when i get the file input, it should take the input data material, plant, start date and end date from the flat file and populate the corresponding input fields in selection screen.
How to do this..
thanks in advance.Hi ..
While declare the Matnr, Plant etc dont use the OBLIGATORY addition.
instead of the based on the value of check box validate them .
AT SELECTION-SCREEN.
IF c_box = ' '.
<< validate for mandatory fields>>
endif.
<b>REWARD IF HELPFUL.</b> -
Search help on select optionbased on other select ooption entered
hi,
I need to know search help for selection screen based on value entered in another select options
SELECT-OPTIONS : s_bukrs FOR bkpf-bukrs OBLIGATORY,
s_belnr FOR bkpf-belnr,
s_gjahr FOR bkpf-gjahr OBLIGATORY,
s_budat FOR bkpf-budat OBLIGATORY,
s_akont FOR lfb1-akont,
s_saknr FOR bseg-saknr. """"""""""
*PARAMETERS : p_akont type lfb1-akont.
here i need to get the vaues of s_akont based on values entered in s_bukrs,
In event at selection screeen for s_akont i am writing
SELECT a~bukrs
a~saknr
a~mitkz
b~txt50
FROM skb1 AS a
INNER JOIN skat AS b
ON asaknr = bsaknr
INTO CORRESPONDING FIELDS OF TABLE lt_skb1
WHERE bukrs IN s_bukrs
AND mitkz = 'K'
AND b~spras = 'EN'.
but not getting value of s_bukrs at this point of execution. I requir the fiels in select statement in F4 of s_akont.
what are the function modules to call and what is the way to do??
thanks..Check the below solution for your issue - The FM "'RS_SELECTIONSCREEN_READ" is used to get the S_BUKRS values. Even though the FM returns single values of the Select options ( Low & High ) it fits the requirement.As the trick part is...If user enters multiple values or even enters sign for select options, S_BUKRS itself will have the value. That's why we have If else S_BUKRS[] is initial and R_BUKRS. Let me know if you have any issues with the solution provided.
TABLES: bkpf, lfb1.
DATA lt_fieldvalues TYPE STANDARD TABLE OF rsselread.
DATA ls_fieldvalue TYPE rsselread.
DATA r_bukrs TYPE RANGE OF bkpf-bukrs.
DATA ls_bukrs LIKE LINE OF r_bukrs.
SELECT-OPTIONS: s_bukrs FOR bkpf-bukrs,
s_akont FOR lfb1-akont.
INITIALIZATION.
ls_fieldvalue-name = 'S_BUKRS'.
ls_fieldvalue-kind = 'S'.
ls_fieldvalue-position = 'LOW'.
APPEND ls_fieldvalue TO lt_fieldvalues.
ls_fieldvalue-name = 'S_BUKRS'.
ls_fieldvalue-kind = 'S'.
ls_fieldvalue-position = 'HIGH'.
APPEND ls_fieldvalue TO lt_fieldvalues.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_akont-low.
refresh r_bukrs.
clear ls_bukrs.
IF s_bukrs[] IS INITIAL.
CALL FUNCTION 'RS_SELECTIONSCREEN_READ'
EXPORTING
program = sy-repid
dynnr = '1000'
TABLES
fieldvalues = lt_fieldvalues.
IF NOT lt_fieldvalues[] IS INITIAL.
ls_bukrs-sign = 'I'.
READ TABLE lt_fieldvalues INTO ls_fieldvalue WITH KEY position = 'LOW'.
IF sy-subrc EQ 0.
ls_bukrs-low = ls_fieldvalue-fieldvalue.
ENDIF.
READ TABLE lt_fieldvalues INTO ls_fieldvalue WITH KEY position = 'HIGH'.
IF sy-subrc EQ 0.
ls_bukrs-high = ls_fieldvalue-fieldvalue.
ENDIF.
IF ls_bukrs-high IS NOT INITIAL.
ls_bukrs-option = 'BT'.
ELSE.
ls_bukrs-option = 'EQ'.
ENDIF.
if ls_bukrs-low is not initial or ls_bukrs-high is not initial.
APPEND ls_bukrs TO r_bukrs.
endif.
ENDIF.
ELSE.
r_bukrs[] = s_bukrs[].
ENDIF.
SELECT a~bukrs a~saknr a~mitkz b~txt50 FROM skb1 AS a
INNER JOIN skat AS b
ON a~saknr = b~saknr
INTO CORRESPONDING FIELDS OF TABLE lt_skb1
WHERE bukrs IN r_bukrs " Changed to r_burks
AND mitkz = 'K'
AND b~spras = 'EN'. -
Search help in selection screens for interactive report
A search help can only be assigned to DB table.
So my doubt is can it also be used for seletion screens created for an interactive report?
If yes what is the procedure.. Please give me one example at least...
waiting for your valuable suggestions.....
Thanks,
regards,
ChinmayHi Chinmay,
I suppose your requirement is to give search help to selection screen elements.
Here is the code.
REPORT ZSHAIL_F4HELP .
parameters: name(10) type c .
TYPES: BEGIN OF VALUES,
CARRID TYPE SPFLI-CARRID,
CONNID TYPE SPFLI-CONNID,
END OF VALUES.
dATA: PROGNAME LIKE SY-REPID,
DYNNUM LIKE SY-DYNNR,
DYNPRO_VALUES TYPE TABLE OF DYNPREAD,
FIELD_VALUE LIKE LINE OF DYNPRO_VALUES,
VALUES_TAB TYPE TABLE OF VALUES.
at selection-screen on value-request for name.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'DEMOF4HELP'
fieldname = 'CARRIER1'
SEARCHHELP = ' '
SHLPPARAM = ' '
DYNPPROG = PROGNAME
DYNPNR = DYNNUM
DYNPROFIELD = 'CARRIER'
STEPL = 0
VALUE = ' '
MULTIPLE_CHOICE = ' '
DISPLAY = ' '
SUPPRESS_RECORDLIST = ' '
CALLBACK_PROGRAM = ' '
CALLBACK_FORM = ' '
SELECTION_SCREEN = ' '
IMPORTING
USER_RESET =
TABLES
RETURN_TAB =
EXCEPTIONS
FIELD_NOT_FOUND = 1
NO_HELP_FOR_FIELD = 2
INCONSISTENT_HELP = 3
NO_VALUES_FOUND = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
AT SELECTION-SCREEN OUTPUT.
PROGNAME = SY-REPID.
DYNNUM = SY-DYNNR.
CLEAR: FIELD_VALUE, DYNPRO_VALUES.
FIELD_VALUE-FIELDNAME = 'CARRIER'.
APPEND FIELD_VALUE TO DYNPRO_VALUES.
I hope your query is solved.
If so,please award points.
Regards,
Sylendra.
Maybe you are looking for
-
I Tunes 7.0.2 connecting with 4G and 5G
I had a 4G Ipod with Itunes 5 or 6. That computer crashed, however my music was backed up on an external hard drive. I just got a brand new computer and brand new 5G Ipod. Connecting with the new Ipod and Itunes 7.0.2 is no problem. I still want to u
-
Web connectivity and security in Oracle 8i
How can i make Web Connectivity with Oracle 8i database. Junaid Tareen
-
Why won't my USB mic work with Facetime?
I use a headset for chatting on my Macbook Pro because the audio quality is better than the stock speakers and built in mic. For some reason today when I'm using Facetime, its only receiving audio input through the built in mic on the laptop. The c
-
I just updated my phone to iOS7 and me and my mom have the same apple ID, so now for some reason I get all the text messages that are sent to her iPhone on mine..? Help please!!
-
Only half of the book will download and play from my ipod. Help!
I have purchased several audio books on itunes. Most of them download and play just fine. There are four or five of them that download in two separate halves. The entire book will download and play from the itunes library on my computer. However, onl