Search the web
Sign In
New User? Sign Up
PowerObject · PowerBuilder / PFC Developers' Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
PB.Net On The Fly : easily use the .Net technology in all your Power   Message List  
Reply | Forward Message #26573 of 27014 |
Re: [PowerObject] multitable update with left join...

Hi George,

Thanks for your reply.
Im using PFC multitable update service.
I found this site which is the best solution to my
situation.http://www.dvl-software.com/pbtips/multitable.html
The problem is, download link is broken.

Maybe someone had this extension before. Please post it here.

Thanks
JB




________________________________
From: "Mikhailovsky, George" <George.Mikhailovsky@...>
To: "PowerObject@yahoogroups.com" <PowerObject@yahoogroups.com>
Sent: Friday, July 3, 2009 23:44:58
Subject: RE: [PowerObject] multitable update with left join...





Hi JB,

I think that if you change Table to Update, make all the columns of the 1st
table not updateable and all the columns of the second one updateable, and
finally change status of each (or each modified?) row from DataModified! to
NewModified! it will work although never tried this myself.

But I would implement another solution that needs far less coding:

Ø Update your DataWindow and update its Table to Update (1st table).

Ø Create another DataObject with the same SQL but with 2nd table as Table to
Update and respectable updateable columns.

Ø Create DataStore and associate created DataObject with it.

Ø After updating your DataWindow insert/copy its rows in a loop into created
DataStore.

Ø Update the DataStore.

Thank you,

George

From: PowerObject@ yahoogroups. com [mailto:PowerObject@ yahoogroups. com] On
Behalf Of J B
Sent: Thursday, July 02, 2009 8:43 PM
To: PowerObject@ yahoogroups. com
Subject: [PowerObject] multitable update with left join...

Hello guys,

I have a datawindow with left join...I want to UPDATE the first table and do an
INSERT on the other table.
How can I do this in multitable update service? Im thinking of manipulating it
thru setitemstatus. ..but im not sure if this one will work.
Anyone encounter this situation?

Cheers,
JB

Get your preferred Email name!
Now you can @ymail.com and @rocketmail. com.
http://mail. promotions. yahoo.com/ newdomains/ aa/

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]





New Email names for you!
Get the Email name you&#39;ve always wanted on the new @ymail and @rocketmail.
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/

[Non-text portions of this message have been removed]




Sat Jul 4, 2009 1:09 am

jb_bulls
Offline Offline
Send Email Send Email

Forward
Message #26573 of 27014 |
Expand Messages Author Sort by Date

« PowerBuilder developers: welcome to heaven! » .NET is currently the most popular development tool. With its powerfull framework and lots of online...
pbnetotf
Offline Send Email
May 4, 2009
10:28 pm

Hi, I could use some advice from someone who makes Windows API calls to WNetOpenEnum and WNetEnumResource from PB 10 or 11. I recently migrated our apps from...
Michael W Bailey
cs18356
Offline Send Email
May 26, 2009
10:26 pm

Hello, Michael. ... I guess String(...,'address') is a problem. You can try to use Unicode version of WNetEnumResource (WNetEnumResourceW instead of...
Andrew Zorin
AndyZorin
Offline Send Email
May 26, 2009
10:50 pm

Andrew, Converting to blob and back to string solved my problem - thank you very much. Thanks, Michael W. Bailey CSC Raytheon Missile Systems Account TIES...
Michael W Bailey
cs18356
Offline Send Email
May 27, 2009
12:29 am

PB11.2 Build 8669; Using PFC; Oracle 10g database I am modifying some existing apps for Vista compliance and I've run into a problem with calls to...
Michael W Bailey
cs18356
Offline Send Email
Jul 1, 2009
10:33 pm

Hi Michael, Have you tried using the Unicode versions of the function(s)? Change "SHGetSpecialFolderPathA;Ansi" to "SHGetSpecialFolderPathW" and do the same...
Gabriel Abulencia Del...
yeyi_yehoo
Offline Send Email
Jul 1, 2009
11:45 pm

Yeyi, I get the same error when I use the Unicode versions. I was hoping that someone already using the function could tell me if my declaration in ...
Michael W Bailey
cs18356
Offline Send Email
Jul 2, 2009
5:28 pm

I figured out my problem and it was another "Duh" moment. Windows writes the path to the lpszPath parameter (ls_appdata in my code). I needed to initialize...
Michael W Bailey
cs18356
Offline Send Email
Jul 2, 2009
5:59 pm

Thanks for sharing this solution! ____________________________________________________ OLAN KNIGHT SOFTWARE DEVELOPMENT PROJECT LEAD OFFICE: 972-850-1945 |...
Olan Knight
olknight
Offline Send Email
Jul 8, 2009
6:11 pm

Since you are using PB11, why not use GetFolder(title, directory) PowerScript function instead of APIs? I believe this has been there since PB8? ... [Non-text...
Angel Padrigano
aspadrigano
Offline Send Email
Jul 2, 2009
3:52 am

Angel, I intend to use SHGetSpecialFolderPath to return a directory path that varies depending on the operating system or is subject to change by the user or...
Michael W Bailey
cs18356
Offline Send Email
Jul 2, 2009
5:11 pm

Hello guys, I have a datawindow with left join...I want to UPDATE the first table and do an INSERT on the other table. How can I do this in multitable update...
J B
jb_bulls
Offline Send Email
Jul 3, 2009
3:07 am

Hi JB, I think that if you change Table to Update, make all the columns of the 1st table not updateable and all the columns of the second one updateable, and...
Mikhailovsky, George
gmikhai
Offline Send Email
Jul 3, 2009
3:45 pm

Hi George, Thanks for your reply. Im using PFC multitable update service. I found this site which is the best solution to my...
J B
jb_bulls
Offline Send Email
Jul 4, 2009
4:22 am

hey, are u using Update() function, then use resetflag as false,as second argument of update function. then using modify ,change the updateable columns and...
V I K A S
vikas_dhore
Offline Send Email
Jul 5, 2009
4:26 pm

change rowstatus to newmodified in this suggestion may not be required.   Try without changing the rowstatus. Sivaprakash ... From: V I K A S...
BKR Shivaprakkash
sivakrith
Offline Send Email
Jul 6, 2009
8:31 am

Shiva,  I think need to change the status to newmodified,as he want to insert the new row to table wat says??? ... From: BKR Shivaprakkash...
V I K A S
vikas_dhore
Offline Send Email
Jul 6, 2009
5:47 pm

Guys, I'd like to inform you that download link for PFC Multitable extension is now working. http://www.dvl-software.com/pbtips/multitable.html Regards, JB ...
J B
jb_bulls
Offline Send Email
Jul 8, 2009
2:21 am

HELP! Is there anything any of the moderators can do to cut down the ever-increasing flow of porn/spam? Thanks, Olan This e-mail and any attachments are...
Olan Knight
olknight
Offline Send Email
Jun 8, 2009
7:17 pm

yes there are many spam porn with external images are coming from this group. some users are sending dirty images through the group post...
Ambrish Tripathi
tripathi.amb...
Offline Send Email
Jun 8, 2009
8:26 pm

if ur using yahoo , u can go to options and add him to spam list his email is ali_khan12002@...   ________________________________ From: Ambrish...
ayman moawad
aymanmoawad
Offline Send Email
Jun 9, 2009
12:15 am

Thanks! OLAN KNIGHT SOFTWARE DEVELOPMENT PROJECT LEAD OFFICE: 972-850-1945 | MOBILE: 972-979-8753 EMAIL: olan.knight@... | www.intecbilling.com ...
Olan Knight
olknight
Offline Send Email
Jun 9, 2009
1:16 pm

That's strange, I never got any of it. (Not that I'm complaining... :) ) - Trevor...
Trevor Holyoak
kd7ghi
Offline Send Email
Jun 9, 2009
10:44 pm

Your ISP may have a spam filter in place. Like you I didn't receive any of it, and it is because of our spam filter. Bruce ... From:...
Merritt, Bruce
bpm9648
Offline Send Email
Jun 9, 2009
10:56 pm

I tried to go to the PowerObject group and place a filter, but since I am not a moderator I was unable to do so. Could one of the moderators please either add...
Olan Knight
olknight
Offline Send Email
Jun 9, 2009
11:10 pm

Olan, I didn't see any of messages that you and some other our members mentioned even before approving. Of course, I reject all the spam but it haven't contain...
Mikhailovsky, George
gmikhai
Offline Send Email
Jun 10, 2009
2:53 am

How about all us super nerds just go to all the Porn groups and spam them with snippets of our uber Powerbuilder code? Let them know how it feels! Rise up....
jgrimes
semirgj
Online Now Send Email
Jun 9, 2009
12:18 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help