Nothwind Demo Queries (Reposted)

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
User avatar
urichard
Veteran Member
Posts: 87
Joined: 2018-11-01 12:11

Nothwind Demo Queries (Reposted)

Post by urichard » 2019-02-22 11:59

Hi There

My appologies, i noticed the previous post text size was set to tiny, just reposting my topic properly

Im having a look at the nothwind demo and managed to do most of the things logged in as demo with the demo password but i cant create an invoice because i cant create an employee?

it just says at the bottom of the employee creation form


"Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\northwind_demo\combo.class.php on line 50"
"Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\northwind_demo\combo.class.php on line 52"

Also i want to know if it could be possible to get the northwind demo in the Appgini project file format (before the php code button is pressed for generation of code files)

Kind Regards
Richard
[email protected][/color]

Kind Regards
Richard

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: Nothwind Demo Queries (Reposted)

Post by a.gneady » 2019-02-27 12:51

If I understand correctly, you downloaded Northwind demo app from our website from https://bigprof.com/demo/nwdemo.zip ... The downloaded zip file contains the AXP project file that you can open in AppGini. If you are seeing errors in the employee form, try unchecking the 'Required' option for the 'Reports to' field.

My guess is that you're trying the app with an empty database, and so can't continue adding an employee due to the required 'Reports to' field. You could avoid this issue if you wish by using the database dump that comes inside the zip file to populate your Northwind database.
:idea: AppGini plugins to add more power to your apps:
  • DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
  • Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
  • Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.

Post Reply