Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Error in HomeBudget Example?
Error in HomeBudget Example? [message #29226] Tue, 12 October 2010 08:53 Go to previous message
porto is currently offline  porto
Messages: 51
Registered: March 2007
Member
When I try to add a new category, I get an error (screenshot is attached). That's what I found out, the error occurs somewhere in here:
void HomeBudget::UpdateCategories()
{
	category.Clear(); // If I remove this line, error does not occur.
	SQL & Select(ID.Of(CATEGORIES), NAME.Of(CATEGORIES), NAME.Of(GROUPS))
		.From(CATEGORIES, GROUPS)
		.Where(GR_ID == ID.Of(GROUPS))
		.OrderBy(NAME.Of(GROUPS), NAME.Of(CATEGORIES));

	while(SQL.Fetch())
		category.Add(SQL[0], Format("%s - %s", SQL[2], SQL[1]));
}


Sorry for bad English.
  • Attachment: hb_error.PNG
    (Size: 19.13KB, Downloaded 271 times)

[Updated on: Tue, 12 October 2010 08:58]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED]Case bug in X11Wnd.cpp
Next Topic: problem with fprintf
Goto Forum:
  


Current Time: Fri Apr 19 06:42:05 CEST 2024

Total time taken to generate the page: 0.05118 seconds