Logic to check all the checkboxes in the o/p screen
Hi,
In the o/p screen there are about 20 records.Besides each record there is a checkbox.There are 2 pushbuttons on the top of the screen(checkall and uncheckall).When the user clicks on the checkall pushbutton,all the checkboxes should be checked.Similarly when the uncheckall push button is clicked,all the check boxes should be unchecked.Can anyone tell me how to do this?
Hi,
Maybe you try the following:
types: begin of ty_checkboxref,
ref type ref to checkbox,
end of ty_checkboxref.
TABLES: sscrfields.
data: gs_checkbox type ty_checkboxref,
gt_checkbox type table of ty_checkboxref.
parameters: cbox1 as checkbox,
cbox2 as checkbox,
rbut01 RADIOBUTTON GROUP grp1 USER-COMMAND fcode,
rbut02 RADIOBUTTON GROUP grp1 ,
rbut03 RADIOBUTTON GROUP grp1 .
initialization.
get REFERENCE of cbox1 into gs_checkbox-ref.
append gs_checkbox to gt_checkbox.
get REFERENCE of cbox2 into gs_checkbox-ref.
append gs_checkbox to gt_checkbox.
at selection screen.
IF sscrfields-ucomm = 'FCODE'.
TO CLEAR ALL CHECKBOXES:
loop at gt_checkbox into gs_checkbox.
gs_checkbox-ref->* = ' '.
MODIFY gt_checkbox from gs_checkbox.
endloop.
IF rbut01 = 'X'.
SPACE FOR ANY FUNCTIONALITY
ELSEIF rbut02 = 'X'.
SPACE FOR ANY FUNCTIONALITY
ELSEIF rbut03 = 'X'.
SPACE FOR ANY FUNCTIONALITY
ENDIF.
ENDIF.
Of course you have to fill the table with the references to the checkboxes once, but than you can loop over the table and handle any amount of checkboxes simultaniously.
Regards,
Dave
Similar Messages
-
When I tap the mail icon on my iPhone 4s, the menu of email servers pops up. I already have a me acct that I check all the time, no problem. So I choose iCloud, sign in and it tells me that I already have an acct….so why can't I get to my emails then? I've turned the phone off and on twice....that has fixed it in the past but not this time....
all fixed ha
-
I have a 27" thunderbolt display NOT the iMac, and I'm trying to connect my xbox 360 to it via the Belkin AV360. I plug everything in and it does not work? I check all the power cables and and connections and still not he issue. Iv'e tried C-F2 also. has anyone used this devive (AV360) on there own 27" thunderbolt display (not the imac) and gotten it to work? If so I'd appreciate the help.
There are multiple reasons that lead to issue. You should read the troubleshooting guide to get the right solution to solve the issue: iPhone, iPad, or iPod touch not recognized in iTunes for Windows - Apple Support
-
I bought a $15 app GTA Vice City a while ago and I just started using it and it doesn't work. I checked all the requirements and my laptop meets all of them. I also have contacted Rockstar Games and they didn't help. Can I get my money back? Its frustruating.
Hi...
Apple's policy states that, "all sales are final" > iTUNES STORE - MAC APP STORE - TERMS AND CONDITIONS
But since you are not getting any help from the developer, you can use the email form to contact Apple and ask for a refund > Apple - Support - Mac App Store - Contact Support.
No guarantees. -
InfoPath form load rule is not checking all the rows in form library
Hi,
Requirement:
We have a form library named "HR Annual Review". In the InfoPath form we have two buttons "Save" and "Submit". User is allowed to Save multiple times and only once using Submit button. The file name of form library "HR
Annual Review" will be stored in the format “<username>+<mm>+<dd>+<yy>.xml”. Say for example, an user named Mike Walt submitted a form then the file name will be as “MikeWalt012314.xml”. If the same user (Mike Walt)
submits the form and tries to open the form for subsequent edit, then we need to show a view which has an error info saying “The Appraisal is already submitted for the current appraisal cycle”.
Solution we tried:
To achieve the above requirement, we tried using InfoPath Form Load and add a rule to check whether the combination of current user name and the year already exists in the filename column of the form library. But the rule we applied is not checking all the
rows in the form library. The rule is always checking the first row of the form library.
What we need:
We need the validation using InfoPath rule or some other way/solution to check whether the combination of current login username and current year file already exists in the form library.
Thanks in advance.
Srivignesh JHi Srivignesh,
Submit button Uses the Main Data connection to submit the data to the list. This is what you are using and naming the file in the format. You can create secondary data submit that will update the exiting item in the list. With this, you don't have to create
any rules to check all the rows which is also not possible in OOB InfoPath.
Once you have the two data connection, hide the toolbar from the form and display these two on the button. For The Submit button, apply the rule to hide the button if created by is not empty. For Save button, apply the rule to hide the button if Created
By is empty. This way, when a new form is created, you will see the Submit button, and when the user have to update the form, they will see Save button. Hope it help.s
Regards, Kapil ***Please mark answer as Helpful or Answered after consideration*** -
Hello
After upgrading iPhoto 9.1.2 when you synchronize the iphone / iphoto ipad events are not copied correctly (this option checked all the photos on itunes).I found this other thread discussing this topic, no fix, I will revert to 9.1.1 from Time Machine and wait for a new update.
https://discussions.apple.com/thread/3023160? -
I need a script to help me check all the AD Computers for a certain file.
What I'm looking for is a script that I can use to check all the AD computers in my domain for a file that was created by Malware. It would be great if the script could export the results as a csv and have a column for the computer name, IP address, and
if the file/path exists.
I'm new to Powershell and I've been trying to script it on my own but no luck so far. I would be extremely great-full for any help, or a point in the right direction.
I messed around with different commands:
I'm not sure if I should be using test-path or get-childitem with recursive and wildcards.
This is a sample of what I'm working with... I know it probably horrible but like I said I'm new.
$date = [DateTime]::Today.AddDays(-90)
$AllComps = get-adcomputer -filter {(Enabled -eq 'true') -and (lastlogondate -gt $date)} | select name
$Allcomps = $AllComps[100..125]
foreach ($ADcomputer in $AllComps)
function check-remotefile {
PROCESS {
$file = "\\$_\C$\Windows\notepad.exe"
if (test-path $file)
echo "$ADcomputer: .exe exists"You fail to ask a question. What is it you do not know or understand?
Start simple and learn how to best post code:
$date=[DateTime]::Today.AddDays(-90)
Get-adcomputer -filter 'Enabled -eq $true -and lastlogondate -gt $date' |
Where{test-path "\\$($_.Name)\C$\Windows\notepad.exe"} |
ForEach-Object{echo "$($_.Name): .exe exists"}
Learn the basics. The pipeline is you friend.
¯\_(ツ)_/¯ -
When I send a email, the people get it with my daughters email as the one who sent it. I have checked all the settings ...help
Does your daughters email address show up as one of the options in the From line as discussed above? If so, try a Reset [Hold the Home and Sleep/Wake buttons down together for 10 seconds or so (until the Apple logo appears) and then release. When the screen goes blank then power ON again in the normal way.] It is 'appsolutely' safe!
-
i am not able to hear any sounds of games on the speaker. Though the sounds function on the head fones. The speaker works perfect in other applications except games.Have checked all the settings but not able to fix it.
Have you got notifications muted ? Only notifications (including games) get muted, so the iPod and Videos apps, and headphones, still get sound. Depending on what you've got Settings > General > Use Side Switch To set to (mute or rotation lock), then you can mute notifications by the switch on the right hand side of the iPad, or via the taskbar : double-click the home button; slide from the left; and its the icon; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085
If that doesn't solve it then try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. -
My IPad sound keeps turning off. I have checked all the settings nd they are ok. I have to reset it all the time. It is very frustrating as I use it as an alarm, need I say I've waken late a few times.
I'm having the same problem?
-
I have a MacBook Pro running OS X 10.7.5. I would like to sync my contacts from my iPad with my MAC. I've checked all the appropriate boxes in iCloud on both devices. What am I not doing or doing wrong?
Bobby D,
Thanks for the help. I learned quite a bit from your answer. Turns out I was looking in Outlook for the MAC instead of Address Book on my MAC which already had all my contacts. Once I imported them to Outlook, problem solved. It will be interesting to see if when I add a new contact it updates Outlook.
Thanks again,
rpayne556 -
I know my network connection is fine and I've checked all the cable connections and my television is set to the correct input, but even though the remote beeps when I hit the button, I see nothing on the screen. The troubleshooting section in the setup guide says to make sure that Apple Tv is connected to my network by choosing Settings>General>Network. How do I do this? What do I need to do to get everything back? I've been using the Apple tv for a while now, and suddenly it's doing this.
This is the iPod touch forum. I requested your posted be moved to the Apple TV forum
Using Apple TV -
The sound no longer works in my husband's iPad and it keeps shutting itself down. This started today. We checked all the settings and everything looks right. Is there something we might be missing?
Try a reset first: Press and hold both Sleep/Wake and Home buttons until the Apple logo appears.
If the reset doesn't fix it, try a restore:
http://support.apple.com/kb/HT1414 -
My iMatch is crashing every time is reaches the end of step #2 - checking all the songs in my iTunes library. There are 4,389 songs to match, and when it reaches 4,388 songs checked and matched, it crashes and shuts downs iTunes altogether.
hi i had the same problem today when i updated my itunes to latest version. however, i have just found my songs in the 'itunes media' folder. this was accessed through 'my music' then keep clicking through until you find itunes media and all my library songs were in there and i then just added these files to my library and all were restored however, i have lost all my playlists but at least my 700 songs are back. very dissapointed with apple that they have let this happen with their latest update, the previous version was miles better than this one . hope you find them. stevo
-
My external speakers have stopped working. A circle with a line through it shows up when I try to adjust the volume. I have been in system prefrences to check all the sound settings and everything is set properly. What do I need to do to fix this. Help!
Though I have doubts for success, you might try a SMC reset. It can do no harm. Otherwise, barring suggestions from others, the Apple Store or qualified repair facility is the last option.
http://support.apple.com/kb/HT3964
Ciao.
Maybe you are looking for
-
IPhone can no longer connect to AT&T network, just says No Service1
Ever since I returned from a trip to Canada my iPhone has been unable to connect to the AT&T network. It worked fine before I crossed re boarder into Canada last week and while in Canada it was able to connect to the Rogers network. Since I crossed b
-
Looking for Final Cut Pro Version 6
I'm looking to upgrade from FCP Version 5 to Version 6, but my G5 is pre-Intel. Anyone have suggestions on where to obtain FCP 6 besides just buying a new Intel G5? I would like to get a new G5, but the economy forced me to look at least upgrading as
-
I just recently got a brand new Macbook Pro with retina display in January. I was playing games online when suddenly the game froze. I tried moving the cursor but the cursor was no where to be found.The sounds to the game still worked perfectly and
-
How to find disputed objects in FS-SCM for a disputed case
Hi, I am trying to get the disputed objects (company code, year, document number etc) for a case in FS-SCM Dispute management. I am new to this subject. Can anyone help in getting the required details? Thanks in advance. Kiran
-
I'm getting an error message when I try to sync
I am trying to sync my iPhone 4s but it keeps canceling showing an error message that says 'iTunes cannot sync apps to the iPhone because the apps installed on the iPhone could not be determined. Any idea what this means?