Jump to content


hurtz

Member Since 13 Jan 2017
Offline Last Active Mar 14 2017 05:09 AM
-----

Topics I've Started

problem on exported xls file

17 February 2017 - 01:46 AM

when i exported my list in excel, most of the words do not have spaces between them. Is this a cause of office compatibility? I noticed that the excel extension is .xls which is the extension of the old office 2003 and im using office 2016.


get the primary key of the current row in a list

14 February 2017 - 04:11 PM

Please help :) I have a callback column that makes the column of the main list as a link to another list. considering that my cursor is pointed at row 5 of the main list and i click on the link, how can I get the primary key of that row and insert it in a session? Thanks.


how to make field as required field if the other field is null

14 February 2017 - 03:04 AM

sorry but this topic is already closed. i was able to solve it myself.


like() not working

24 January 2017 - 06:36 AM

I'm trying to fetch a data from my session and pass this as the value of a variable using this:

 

          $division = $this->session->userdata('divID');

 

now i wanted to show only the records that contains the divID using the like ()

         

          $crud->like('action_officer', $division);

 

After login, I checked my session table and Im getting the correct value for my divID. So far Im not getting any error. But when i checked the displayed records, nothing is there. Please help, what am I missing here?

 

 

 

 

       

 

 

 


how to fetch data in db from one table and set as a value of a data field in add form

19 January 2017 - 05:54 AM

I have two (2) tables, tble_users and tbl_registry. how can I fetch the value of tbl_users.divID of a specific record and set that as the automatic value of tbl_registry.divID when I add a record. Im still on the process of learning CI so I hope someone can help me. Thanks.

 

In relation to this, pls refer on the attached print screens. If I click on the link Action Officer on the first pict, the second pict will appear (I've done this already). My problem now is how can I capture the value of Task ID on the first pict and make it as the automatic value of Task ID when I add a record on the second pict.