🔒 Closed Pa help about dito sa already exist java

Status
Not open for further replies.

PHC-Cathy

Forum Expert
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
  • 539
    Views
  • 3
    Participants
Last reply from:
vhin le

Trending Topics

Online now

Members online
1,094
Guests online
1,754
Total visitors
2,848

Forum statistics

Threads
2,286,534
Posts
29,038,466
Members
1,217,040
Latest member
DevilOil
Back
Top