Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Format Field as Currency
-
- Posts: 16
- Joined: Thu Apr 15, 2021 5:27 pm
Re: Format Field as Currency
I apologize but i'm still rather new to mysql and nubuilder, could to tell me how to do that?
-
- nuBuilder Team
- Posts: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 times
- Contact:
Re: Format Field as Currency
Sure, use phpMyAdmin to export your DB into an sql-file. Zip it and upload it here or send it via private message.
https://help.dreamhost.com/hc/en-us/art ... e-or-table
https://help.dreamhost.com/hc/en-us/art ... e-or-table
-
- Posts: 16
- Joined: Thu Apr 15, 2021 5:27 pm
Re: Format Field as Currency
Unfortunately the forum website will not let me upload the zip file.
On another note I decided to run the query that its supposed to be running on the server using mysql and the user that I nuBuilder is using to authenticate. This is the output.
On another note I decided to run the query that its supposed to be running on the server using mysql and the user that I nuBuilder is using to authenticate. This is the output.
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 times
- Contact:
Re: Format Field as Currency
For some reason, the views have not been created in your database.
Run these 3 queries (e.g. in phpMyAdmin). This should fix it
Run these 3 queries (e.g. in phpMyAdmin). This should fix it
Code: Select all
CREATE VIEW `zzzzsys_object_list` AS select `information_schema`.`tables`.`TABLE_NAME` AS `zzzzsys_object_list_id` from `information_schema`.`tables` where `information_schema`.`tables`.`TABLE_SCHEMA` = database() ;
CREATE VIEW `zzzzsys_report_data` AS select concat('PROCEDURE:',`zzzzsys_php`.`zzzzsys_php_id`) AS `id`,`zzzzsys_php`.`sph_code` AS `code`,`zzzzsys_php`.`sph_description` AS `description` from `zzzzsys_php` where `zzzzsys_php`.`sph_system` <> '1' and locate('#TABLE_ID#',`zzzzsys_php`.`sph_php`) > '0' union select concat('SQL:',`zzzzsys_select`.`zzzzsys_select_id`) AS `id`,'nuSQL' AS `code`,`zzzzsys_select`.`sse_description` AS `description` from `zzzzsys_select` where `zzzzsys_select`.`sse_system` is null or `zzzzsys_select`.`sse_system` = '' union select concat('TABLE:',`zzzzsys_object_list`.`zzzzsys_object_list_id`) AS `id`,'nuTABLE' AS `code`,`zzzzsys_object_list`.`zzzzsys_object_list_id` AS `description` from `zzzzsys_object_list` ;
CREATE VIEW `zzzzsys_run_list` AS select `zzzzsys_form`.`zzzzsys_form_id` AS `id`,'Form' AS `run`,`zzzzsys_form`.`sfo_code` AS `code`,`zzzzsys_form`.`sfo_description` AS `description` from `zzzzsys_form` union select `zzzzsys_report`.`zzzzsys_report_id` AS `id`,'Report' AS `run`,`zzzzsys_report`.`sre_code` AS `code`,`zzzzsys_report`.`sre_description` AS `description` from `zzzzsys_report` union select `zzzzsys_php`.`zzzzsys_php_id` AS `id`,'Procedure' AS `run`,`zzzzsys_php`.`sph_code` AS `code`,`zzzzsys_php`.`sph_description` AS `description` from `zzzzsys_php` where `zzzzsys_php`.`sph_system` <> 1 order by `code` ;
-
- Posts: 16
- Joined: Thu Apr 15, 2021 5:27 pm
Re: Format Field as Currency
Great thank you! That got it to show the options. But when i put in a value, it still shows as "123.4500" on the Browse screen. Is that normal?
You do not have the required permissions to view the files attached to this post.
-
- nuBuilder Team
- Posts: 4581
- Joined: Sun Oct 14, 2018 6:43 pm
- Has thanked: 76 times
- Been thanked: 536 times
- Contact:
Re: Format Field as Currency
A Browse Form uses separate settings. Open the form settings (CTRL+SHIFT-F) to change them.
-
- Posts: 16
- Joined: Thu Apr 15, 2021 5:27 pm