Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Add a new table in ...
 
Notifications
Clear all

Add a new table in the database

4 Posts
2 Users
0 Reactions
3,699 Views
 imen
(@imenkolsi)
Posts: 37
Active Member
Topic starter
 
[#906]

Hello ,

I'm in need to add a new table in the current database

would you please give the steps to add and to be able to insert, update, delete from it

I'll appreciate any help

Thanks in advance


 
Posted : 22 Jan 2013 12H27
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

Hi,

I guess you mean "create a new screen"...

You'll find help in two threads :
Create new objectclass
New object


 
Posted : 22 Jan 2013 13H03
 imen
(@imenkolsi)
Posts: 37
Active Member
Topic starter
 

No actually i'd like only to add a new table and update it by the sqlelement

it will have a relation with the resource table for example resource and resourceCost


 
Posted : 22 Jan 2013 13H12
babynus
(@babynus)
Posts: 14957
Main Contributor Admin
 

Then you just need to create new objectClass :
- Create new table objectclass in the database
- Add new objectClass.php, including fields in table objectclass, extending SqlElement class

You can then manage objects of this class :
$obj->save()
$obj->delete()
...


 
Posted : 22 Jan 2013 17H17
Share:

Scroll to Top