🔒 Closed Pa help about dito sa already exist java

Status
Not open for further replies.
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
  • 535
    Views
  • 3
    Participants
Last reply from:
vhin le

Online now

Members online
864
Guests online
3,286
Total visitors
4,150

Forum statistics

Threads
2,276,114
Posts
28,967,719
Members
1,231,123
Latest member
Carboradore_26
Back
Top