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++ SQL » How to use Clipboard in HomeBudget(SqLite3)?
How to use Clipboard in HomeBudget(SqLite3)? [message #13048] Fri, 07 December 2007 08:38
fuqr is currently offline  fuqr
Messages: 16
Registered: July 2007
Location: Singapore
Promising Member
Hi,
I tried Clipboard() in HomeBudget:
==========================================================
.........
categories.WhenInsertRow = THISBACK(InsertCategory);
.........
categories.Appending().Removing().Editing().Clipboard();
..........
============================================================ =
But When copy any multiple rows, only one row data can be done when "paste as Appended".
The SQL statement in recorded file show the data in cell are NULL:
"SQL* insert into CATEGORIES(GR_ID, NAME, DEFVALUE, PM, INNEWMONTH) values (4, NULL, NULL, -1, 0)..."

Maybe it's a UPP bug?

I also noticed that the Paste and write to SQLite3 function can be coded as follows:
===================================
void gridctrl::Paste(int mode)
{
if(!clipboard)
return;
Gridclipboard gc = Getclipboard();
if(gc.data.IsEmpty())
....................
======================================
But what is the name(XXX) of the CALLBACK I can use like below:
categories.XXX = THISBACK1(Paste,a);

Thanks in Advance. Smile
Previous Topic: Create Table with Sqlite
Next Topic: OrderBy in descending order [ANSWER FOUND]
Goto Forum:
  


Current Time: Sun Apr 28 23:45:54 CEST 2024

Total time taken to generate the page: 0.04815 seconds