Help Calling the same vi after one button dialog
hi need help aftr the the one dialog appears how to call the same vi again need help
Message Edited by jeyanthi on 05-22-2008 10:13 PM
Attachments:
StationNumberEWS.vi 43 KB
Why did you start a new thread? continue here
Message Edited by MikeS81 on 05-23-2008 09:15 AM
Similar Messages
-
How to insert into 2 tables from the same page (with one button link)
Hi,
I have the following 2 tables....
Employees
emp_id number not null
name varchar2(30) not null
email varchar2(50)
hire_date date
dept_id number
PK = emp_id
FK = dept_id
Notes
note_id number not null
added_on date not null
added_by varchar2(30) not null
note varchar2(4000)
emp_id number not null
PK = note_id
FK = emp_id
I want to do an insert into both tables via the application and also via the same page (with one button link). I have made a form to add an employee with an add button - adding an employee is no problem.
Now, on the same page, I have added a html text area in another region, where the user can write a note. But how do I get the note to insert into the Notes table when the user clicks the add button?
In other words, when the user clicks 'add', the employee information should be inserted into the Employees table and the note should be inserted into the Notes table.
How do I go about doing this?
Thanks.Hi,
These are my After Submit Processes...
After Submit
30 Process Row of NOTES Automatic Row Processing (DML) Unconditional
30 Process Row of EMPLOYEES Automatic Row Processing (DML) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
50 Insert into Tables PL/SQL anonymous block Conditional
My pl/sql code is the same as posted earlier.
Upon inserting data into the forms and clicking the add button, I get this error...
ORA-06550: line 1, column 102: PL/SQL: ORA-00904: "NOTES": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
Error Unable to process row of table EMPLOYEES.
Is there something wrong with the pl/sql code or is it something else? -
IPhone SDK - Multiple buttons calling the same IBAction
Hi,
Can I call the same action with multiple buttons? I´ve just connected
the action to the buttons in interface builder, but in the header file
I can´t use - (IBAction)setOperator: (id)sender; as the parameter to the function, it always crash due to uncaught exception. If I use - (IBAction)setOperator; it
works, but i can´t differentiate wich button was pressed.
I don´t know if i can set the (id)sender parameter in the interface
builder. Can anyone help me?
Thanks,
Pitteri.h file:
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
@interface CalculatorView : UIView {
IBOutlet UITextField *txtResult;
IBOutlet UIButton *btnMult;
IBOutlet UIButton *btnDiv;
@property (nonatomic, retain) UITextField *txtResult;
@property (nonatomic, retain) UIButton *btnMult;
@property (nonatomic, retain) UIButton *btnDiv;
- (IBAction)setOperator:(id)sender;
@end
.m file:
#import "CalculatorView.h"
@implementation CalculatorView
@synthesize btnDiv, btnMult, txtResult;
- (IBAction)setOperator:(id)sender{
//if btnMult pressed
//bla bla bla
//if btnDiv pressed
//bla bla bla
that´s my code. Hope u can help.
thanks
@end -
Use the same form with different button turned on in different calls
Can I use the same form with different buttons turned on in different calls?
Thanks!This is to avoid piracy. What could happen is, people could buy music, and give it away for free online. Usually it is then you buy a complete album off iTunes that it will only be available on one device. It is tied to that account, and the device must be registered to that account to listen to it.
-
Can somebody decipher the online help for the one button dialog?
So I was looking at the online help for the one button dialog and there is an extra paragraph compared to the LabVIEW help.
Clicking on the link goes to a help specific to the Embedded module for the ARM microcontroller. Does this really have much to do with the one button dialog? Does it belong here?
Just wondering. I am not familiar with that module....
LabVIEW Champion . Do more with less code and in less time .
Attachments:
OneButtonDialog.png 47 KBThe same is true of the online help back to LV2009 inclusive, which (I believe) would be the first to contain the linked dialog too.
CLD -
I currently use ibooks on my iphone 4s... I want to be able to send several documents at the same time in one email, I thought there was a way to do this? Can you please help?
Install ClamXav and run a scan with that. It should pick up any trojans.
17" 2.2GHz i7 Quad-Core MacBook Pro 8G RAM 750G HD + OCZ Vertex 3 SSD Boot HD
Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101 -
I have Snow leopard, 10.6.8 on my iMac, I just tried to install Lion from the App store, but during proces, the install stops after one minute saying: "software might be damaged". I downloaded the software again, same thing. What must I do to install Lion? I have still 487GB free.
Quit all other programs and open Disk Utility
Select your "MacintoshHD" drive on the left and indented and click Erase > Erase Free Space > Zero and let it complete.
Also run First Aid > Repair Disk and permisisons.
If Repair disk gives a error, you have a bigger problem, if repair permisisons fixes and completes, even if it fixes the same thing twice if you click it again, it's ok. Apple just changed things.
You should be able to download the file sucessfully this time, if not, take it to another location with better/faster internet.
If not then run through this list
Step by Step to fix your Mac -
I dropped my iPad mini on the floor, but it was not at all a big drop and landed firmly but the lightning cable inside my iPad cracked and from now on I have been using my sisters iPad charger(the same as old one) and now it take 4 hours to charge 8% HELP!!
It sounds like the drop damage more then just the lightning adapter.
I suggest you take it to Apple and ask them to check it out for you.
Allan -
Hello i opened logic 9 and logic x at the same time after that i lost audio in both programs i can only hear audio in the main output of my interface motu 828MKII
can somebody help me please? am in the middle of o project thank'sDid you reset Logic's audio preferences?
Did you do a hardware reset of the MOTU unit?
Try deleting preferences in Logic X
See my post in this message.
https://discussions.apple.com/message/24614057#24614057 -
I have two ipod nanos. And i have 2 itunes accounts and we are accessing both accounts from the same PC. One of my ipod works fine, it gets detected as a device and sync fine. The other one does not. Anyone knows what this may be?
The music sync is one way - computer to ipod. The only exception is ituens purchases. The ipod is not a backup device.
Copy everything from the old computer or your backup copy of your old computer, to the new one. -
I'm trying to print multiples of the same image on one paper. I tried to change the layout to 9 per page, but it's only showing up and printing one per page, though it is the size i would like. But only one image is showing up as opposed to 9. HELP!!Version 7.0 (826.4)
I'm using Preview Version 7Hello @kgingeri1,
Welcome to the HP forums.
If you have sent a test print via ePrint, and experience this issue, i would call the Cloud Services department.
If ePrint works fine, it is definitely a Google Cloud Print issue.
Also, when you print from your android device, are you using Google Cloud print or the HP ePrint app?
Please call our Cloud Services at 855-785-2777.
If you live outside the US/Canada Region, please click the link below to get the support number for your region. http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
Hours:
Mon-Fri. 8am - 11pm, Sat. 9am-8pm - EST
Mon-Fri. 7am - 10pm, Sat. 8am-7pm - CST
Mon-Fri. 6am - 9pm, Sat. 7am-6pm - MST
Mon-Fri. 5am - 8pm, Sat. 6am-5pm - PST
Aardvark1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping! -
I have 3 drop down boxes in my report done SQL SSRS .. I want t to put them in the same row (just one row) ..how can I do it.?
Hi Sashi123,
Just as Ivan said, we do not have the ability to change the Report Manager in this way. Because we can’t change the parameters locations as this is not supported to write expressions for the location of parameters.
While we can build a custom application in Visual Studio that we can get it through codes after deploying the report, then through URL we can get it by customization.
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
NSArray of UIButtons calling the same function
I've been thinking and searching and I can't figure it out. I've come across these two threads which seem to be pieces of my issue:
http://discussions.apple.com/message.jspa?messageID=7891554
http://discussions.apple.com/thread.jspa?threadID=1985019&tstart=0
I'm basically attempting to create an array of 9 UIButtons which will all call the same function, but I need to know which button was clicked.
I'm not entirely sure how to create the NSArray of buttons, and when I include (id)sender with the selectSquare function, it doesn't work. Any help is much appreciated!
// Square a1
a1 = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[a1 setFrame:CGRectMake(0.0f, 0.0f, 70.0f, 70.0f)];
[a1 setBackgroundImage:[UIImage imageNamed:@"black.png"] forState:UIControlStateNormal];
[a1 setCenter:CGPointMake(60.0f, 200.0f)];
[a1 addTarget:self action:@selector(selectSquare) forControlEvents:UIControlEventTouchUpInside];
[self.view addSubview:a1];
// I currently have the previous "a1" button code repeated 9 times, each
// with a different button name... I want to put all these in a single
// array instead
-(void) selectSquare:(id) sender {
if(turn == x) {
[sender setBackgroundImage:[UIImage imageNamed:@"x_button.png"] forState:UIControlStateNormal];
statusImage.image = [UIImage imageNamed:@"o_image.png"];TicTacToe indeed!
The positions I have for my buttons seemed to be perfect when I tested them, so I just went with that vs. using IB.
As for the tag property, would it just be an int? Like:button1.tag = 5And then use the tag as that button's index in the array? So the button with tag 5 would be the 6th element?
Also, I'm still not sure on why -(void) selectSquare:(id) sender; doesn't work. When I click on "a1" (the current button with an action assigned to it), the simulator does nothing and then brings Xcode to the front... But when I take out (id)sender, it works fine.
In the second thread I posted, somebody mentioned something about unbinding and rebinding control actions to fix this, but I'm not too sure what that process entails.
Here is my interface for that controller:#import <UIKit/UIKit.h>
@interface TicTacToeViewController : UIViewController {
UIImageView *statusImage;
UIButton *playButton;
UIButton *a1;
UIButton *a2;
UIButton *a3;
UIButton *b1;
UIButton *b2;
UIButton *b3;
UIButton *c1;
UIButton *c2;
UIButton *c3;
//IBOutlet UILabel *gameText;
//IBOutlet UILabel *x_score;
//IBOutlet UILabel *o_score;
//IBOutlet UILabel *round;
NSInteger turn;
//NSInteger xscorevalue;
//NSInteger oscorevalue;
@property(nonatomic,retain) IBOutlet UIImageView *statusImage;
@property(nonatomic, retain) UIButton *playButton;
@property(nonatomic, retain) UIButton *a1;
@property(nonatomic, retain) UIButton *a2;
@property(nonatomic, retain) UIButton *a3;
@property(nonatomic, retain) UIButton *b1;
@property(nonatomic, retain) UIButton *b2;
@property(nonatomic, retain) UIButton *b3;
@property(nonatomic, retain) UIButton *c1;
@property(nonatomic, retain) UIButton *c2;
@property(nonatomic, retain) UIButton *c3;
//@property(nonatomic,retain) IBOutlet UILabel *gameText;
//@property(nonatomic,retain) IBOutlet UILabel *x_score;
//@property(nonatomic,retain) IBOutlet UILabel *o_score;
//@property(nonatomic,retain) IBOutlet UILabel *round;
@property(nonatomic) NSInteger turn;
//@property(nonatomic) NSInteger x_score;
//@property(nonatomic) NSInteger o_score;
//-(void)reset:(BOOL) newGame;
-(void) selectSquare:(id) sender;
@end -
How can I combine multiple deliveries of the same address to one shipment.
Hello Friends,
My client is sending multiple deliveires with multiple shipments to the same customer. His cost is increasingm therefore I am lookign to help him to combine all the deliveries to one shipment and one delivery.
How can I combine multiple deliveries of the same address to one shipment.
Please help me.
RegardsOf course, you can combine several deliveries into one shipment. You can set your own selection variant to select deliveries with the same ship-to party.
You cannot combine several deliveries into one delivery. The combination of deliveres is possible only when creating deliveries in VL10*.
Edited by: Harry Wu on Jun 21, 2010 4:30 AM -
I have 2 iPhones using the same itunes on one computer, how do I sync each
I have 2 iPhones using the same itunes on one computer, how do I sync each one separately and how do I sync my outlook contact separately.... please help
I tried that and it says "The information on the iPhone "Michael's iPhone is synced with another user account. Do you want to sync this iPhone with the information from this user account instead?
"Merge Info merges the information on this Iphone with the information fro this user account.
"Replace Info" replaces the information on this iPhone with the information from this user account."
I am not sure which user they are talking about. Is it my phone (the one that is hooked up) or the other phone?
Maybe you are looking for
-
Issue on the Data Form - Implied Sharing
Hello, We have a data form on which the user can drill down till Level 0 Customer in rows to input data. The issue is for some customers when the user is trying to input the data at Level 0 Customer it is not saving the input number but was getting o
-
Macbook pro startup problems, Mavericks and Yosemite
2011 MBP OK I am an idiot for trying to update to Yosemite which basically killed my laptop. After a long time of trying everything I eventually deleted and reformatted the hd and reinstalled maverick + data from Time Machine (via internet recovery).
-
iWeb has a library of already formatted temlates. I would like to add a template from another website into that library and work with that template rather than the ones apple has in their library. Is there a way that I can add one of these into the l
-
I've tried everything to prolong the sleep time but it just won't work! When I go to settings>display, the sleep option is disabled for some reason I don't understand. All the power management options are off, so there is no reason for the phone scre
-
Hello, I was trying to maintain entries in TVARV table using SM30 but I am facing two problems: 1. Entries that I try to maintain in TVARV using SM30 gets maintained in TVARVC which I do not want 2. I am not able to maintain value in NUMB field using