🔒 Closed Pa help about dito sa already exist java

Status
Not open for further replies.

PHC-Cathy

Limited Access
baka pwede pa help
code ng checking ng value sa database

pangit kasi pag insert ko tapos may pareha na palang lrn

gusto ko pag existing na yung lrn is mag lalabas siya ng warning na already exist na


1653819212098.webp
 
before you perform insert, perform select first so that you could check if the LRN or other data are existing or not in your database..
 
Try mo mag execute ng select query. Sa criteria lagay mo yung mga data na gusto mo e-insert. If the query returns 1 or more than 0 results, then the record you are trying to add already exists. Paste mo dito select query na ginagawa mo madala sa java.
 
Status
Not open for further replies.

About this Thread

  • 5
    Replies
  • 542
    Views
  • 3
    Participants
Last reply from:
vhin le

Trending Topics

Online now

Members online
1,090
Guests online
3,995
Total visitors
5,085

Forum statistics

Threads
2,308,690
Posts
29,186,664
Members
1,191,170
Latest member
halwynpuf
Back
Top