Real Time Scenarios:
- The Situation is I do have two Check boxes (Checkbox A & Checkbox B).And My condition is to allow any one of the check box is true ,not the two at a time.If checkbox A is true , Check box B should be False and IF Checkbox B is true , Check box B should be False , Both should not be TRUE.Ans:use the Validation rule to do this and display the error if both are checkedIn Error Condition FormulaAND(checkboxA,checkboxB)In ERROR MESSAGE:select only once checkboxHow will you handle 10001 SOQL problems in apex?Ans:10001 error means “Too many query rows”Public static integer getTotalVotes(){
integer totalIdea = [SELECT count() FROM Vote where Parent.Type='Idea' limit 501
];return totalIdea ;}
what is code for above scenarios ? pls give my ans
ReplyDeleteUse a radio button instead of checkbox
ReplyDeleteyour right sir can you send me backend code for radio buttons
Deletesuppose 10 check boxes are there. If u check some X then automatically uncheck some Y chk box and remaining check boxes are independent. So here radio buttons are not suited.
ReplyDeleteThis comment has been removed by the author.
DeleteAND( checkboxA__c = true && checkboxB__c = true || checkboxA__c = false && checkboxB__c = false)
ReplyDeleteAND( checkboxA__c = true && checkboxB__c = true)
Deleteand (checkboxA__c, checkboxB__c)
ReplyDeleteIf we use above code then it will work only for true condition for false we have to check. Otherwise without checking the check box we will be able to save.
Deleteso we can use below code
( CheckBox_A__c = True && CheckBox_B__c = True ) || ( CheckBox_A__c = False && CheckBox_B__c = False )
This comment has been removed by the author.
ReplyDeleteAND( CheckboxA__c = true <> CheckboxB__c = false)
ReplyDeleteAND(checkbox_c=true = checkboxB_c=true)
ReplyDeleteAND( checkbox_A__c = true <> checkbox_B__c = false || checkbox_A__c = false <> checkbox_B__c =true)
ReplyDeleteisn't this the easy one -->
ReplyDeleteOR(AND( Check_A__c , Check_B__c),AND( !Check_A__c , !Check_B__c))
(male__c = true && female__c = true) || ( male__c = false && female__c=false) practically i have done with this validation
ReplyDeleteThis comment has been removed by the author.
ReplyDelete
ReplyDeleteGreat presentation of Salesforce form of blog and Salesforce tutorial. Very helpful for beginners like us to understand Salesforce course. if you're interested to have an insight on Salesforce training do watch this amazing tutorial.https://www.youtube.com/watch?v=5FTe-ah3WBU
NOT( OR ( AND(box1__c =false,box2__c =true),AND(box2__c =true,box1__c =false)) ) check this
ReplyDeleteincident resolution with real time projects
ReplyDeleteİstanbul
ReplyDeleteSivas
Kırıkkale
Zonguldak
Iğdır
1EVDY
https://bayanlarsitesi.com/
ReplyDeleteOrdu
Kocaeli
Düzce
Osmaniye
4BİLV
Mardin
ReplyDeleteistanbul
Çanakkale
Antep
Elazığ
EXC
tekirdağ
ReplyDeletetokat
elazığ
adıyaman
çankırı
4CP
Malatya Lojistik
ReplyDeleteAntep Lojistik
Urfa Lojistik
Sivas Lojistik
Erzurum Lojistik
M4İDO
siirt evden eve nakliyat
ReplyDeleteadıyaman evden eve nakliyat
kastamonu evden eve nakliyat
artvin evden eve nakliyat
malatya evden eve nakliyat
3EACB
FC17A
ReplyDeleteKarabük Şehirler Arası Nakliyat
Silivri Fayans Ustası
Altındağ Boya Ustası
Çerkezköy Yol Yardım
Osmaniye Lojistik
Çerkezköy Çatı Ustası
Kalıcı Makyaj
Adıyaman Şehir İçi Nakliyat
Gölbaşı Fayans Ustası
71DD5
ReplyDeleteBingöl Şehir İçi Nakliyat
Amasya Evden Eve Nakliyat
Burdur Parça Eşya Taşıma
Muğla Şehirler Arası Nakliyat
Çerkezköy Televizyon Tamircisi
Eryaman Parke Ustası
Ardahan Lojistik
Kastamonu Şehir İçi Nakliyat
Karaman Parça Eşya Taşıma
3ED0E
ReplyDeleteBitfinex Güvenilir mi
Muğla Parça Eşya Taşıma
Gate io Güvenilir mi
Çankaya Boya Ustası
Tekirdağ Şehir İçi Nakliyat
Kırıkkale Parça Eşya Taşıma
Çankaya Fayans Ustası
Osmaniye Evden Eve Nakliyat
Aksaray Evden Eve Nakliyat
81F4A
ReplyDeleteBinance Sahibi Kim
Kripto Para Nasıl Alınır
Mexc Borsası Kimin
Coin Kazma Siteleri
Gate io Borsası Güvenilir mi
Bitcoin Çıkarma Siteleri
Bitcoin Madenciliği Siteleri
Btcturk Borsası Güvenilir mi
Kripto Para Kazanma Siteleri
20601
ReplyDeletekadınlarla ücretsiz sohbet
görüntülü sohbet uygulamaları ücretsiz
batman canli sohbet
mardin kadınlarla görüntülü sohbet
erzincan yabancı canlı sohbet
istanbul ücretsiz sohbet sitesi
muhabbet sohbet
malatya canlı sohbet odası
trabzon görüntülü canlı sohbet
HNJMJHKM
ReplyDeleteشركة تسليك مجاري بالقطيف
fghgfjhgjgjhj
ReplyDeleteشركة عزل اسطح بالجبيل
شركة عزل خزانات المياه AUiQUVSeaj
ReplyDeleteشركة صيانة افران بالاحساء Xflxk0fdGx
ReplyDeleteرقم مصلحة المجاري بالاحساء VrhMpCzKW1
ReplyDelete8C3551A108
ReplyDeletegüvenilir show
<a href="https://aljanub-jazan.com/%d8%b4%d8%b1%d9%83%d8%a9-%d8%aa%d9%86%d
ReplyDelete