PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → WEBDEV TABLE - NEW RECORD(S)
WEBDEV TABLE - NEW RECORD(S)
Débuté par LEE PENG HOCK, 09 juin 2009 12:12 - 2 réponses
Posté le 09 juin 2009 - 12:12
IS THERE ANY WAY FOR A 'MASS CREATION NEW RECORD IN WEBDEV TABLE? THAT IS USERS CAN CUT AND PASTE 'MUTIPLE VALUE' TO THE TABLE ROW(S) FOR NEW TRANSACTION RECORDS...
Posté le 09 juin 2009 - 13:55
Hi...

Of course there is!

But first here I'm going to suppose that by table you mean the window
control, not the file...

Then the first question comes up: is that a memory table or is it linked
to something? this will change a lot of the code needed to achieve what
you want

In any case, it's easy enough to intercept a wm_paste message on a
control like your table (see EVENT function in the help) and then get
the content of the clipboard (see CLIPBOARD in the help) and add the
lines that you want (tableadd, hadd or query, depending on what you are
trying to achieve exactly)

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

More information on http://www.fabriceharari.com


LEE PENG HOCK wrote:
IS THERE ANY WAY FOR A 'MASS CREATION NEW RECORD IN WEBDEV TABLE? THAT IS USERS CAN CUT AND PASTE 'MUTIPLE VALUE' TO THE TABLE ROW(S) FOR NEW TRANSACTION RECORDS...
Posté le 10 juin 2009 - 12:25
Thanks, I will work on this approach.

Warm Regards, Always
phlee