Adrian10777
Adrian10777
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
but I do think table2 record eventually gets into table1 in the future (but have to find out about that)
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
so table 1 has the primaryId1, and all the other columns that in table 2, but table 2 which is what we are inserting 2 has the word new for most of them because it's a future line, like future date, and going up a level in the medical field, so not trying to insert into table1, but table2
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
be back in like 30 min
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
or cur_id if it makes more sense
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
but the primary table is id
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
so like the table I am inserting into has 'new_id'
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
current one doesn't have the word new in it
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
but the primary table is the current one
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
I mean in the table I am trying to add to
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
but in my program the name contains new
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
yes
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
for some reason
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
well not for the primary key but for column 13 id
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
so if the ID in the current table is 3, what needs to go in the insert statement is 4
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
not any current information
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
the table I want to insert into, only has the new value that I am going to need
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
so the insert statement is asking for the new value
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
so I added a new one that's getting the error
2 things, I have a value from the current table, but the insert statement is asking for the new value. So if current value is 3, now it needs to be 4 when inserted to db so I tried this columns13id: $(items.column13id).val() but still getting FK error
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
I'll try and see what I get!
123 replies
CC#
Created by Adrian10777 on 10/4/2024 in #help
Need help connecting AJAX to Controller to DAL
I really appreciate the help
123 replies