You must return the value of the Oracle function in VB Code
Hi allI have the oracle APPTIDFUN (WHO RETURN NUMBER) function, I need to call in the VB Code. (Here's the code)
--------------------------------
If Msg2 = 6 Then
Dim RS As New ADODB. Recordset
Dim SQL As String
RS. Open "appointments", CN, adOpenDynamic, adLockPessimistic
RS. Find ' patient_id = ' "& str1 &" "'". "
If RS. When the EOF
RS. Find ' Appt_start_Date = ' "& str3 &" "'". "
If RS. When the EOF
RS. AddNew
RS ("patient_id") = str1
RS ("Appt_type") = str2
RS ("Appt_start_Date") = str3
RS ("Appt_end_date") = str4
RS ("Num_days") = str5
RS ("Total_Amount") = str6
RS ("Inv_Number") = str7
RS ("Approval_status") = str8
RS ("NUM_WATCHER") = str9
RS. Update
------------------------------------------------------------
I want to call the function from oracle here that in the above code
RS ("Appt_id") = < value of function >
Please do the needful.
Abdul,
You need to change the line
RS("Appt_Id") = RS1
TO
RS("Appt_Id") = RS1(0)
Kind regards
Manu.
If my answer or the answer to another person has been useful or appropriate, please mark accordingly
Tags: Oracle Development
Similar Questions
-
List of input values (multi-column) must return the output text once the value is selected
Hello
I am trying to achieve conditional:
I create a searchVO(select '' empNumber from dual) - to accept the input value (name empNumber).
I create empLovVO (select enum,ename, addr, city of emp). lov attached to empNumber (searchVO).
In the list of values when I select a value (emp 1, a, xyz, abc), it must return the default aby associated with emp values 1 to my output texts
the name of the EMP one.
addr xyz
City abc
It should also automatically change the values if I select another empNumber.
Please let me know how to achieve this.
Thank youFirstly, for the searchVO, add a three other attributes, name, address, and City, the type of string:
and make sure they are still editable:
Then, you're mapped LOV enum attribute EmpNumber, right?
Do similar for the newly created attributes, in the list of values dialog box validation:
Ename--> name,
--> addr addr,
City--> City
Then, just to show these attributes in the form of output text, and you'll get what you want...
-
Product key bad for the wrong version?
Hello
Recently the computer in business inherited from a friend, very fast and very good. Regardless of the operating system no - geniue, is with Vista Business, while the thumbnail of authentication is Vista Ultimate. I took a screenshot of what it says when I put Vista Ultimate product key: (it does not appear if you are unable to use it: P)
http://S13.PostImage.org/57nfn5pqv/vistareg.jpg
He said: "the product key you entered will not work with this edition of Windows Vista. You must run the Windows Vista Setup program or enter a Windows Vista Business product key."
How would the installation of Windows Vista? My files would still be there when you need him? My drivers would still exist? No matter what to get deleted or become unusable? He would return to SP1? Any response is welcome.
You can order form of the manufacturer's recovery media.
The reason why the system as non-authentique shows currently is using a license in Volume KMS - these licenses must be re-activated at least every 6 months by connecting to the KMS user license activation server.
It will require a reformat and reinstall whatever you do, unless you can connect to the KMS - Volume media server cannot be upgraded under normal conditions.
-
I bought a laptop HP three years ago in Dubai, now I am in India, my family problem does not activate windows vista and also use it now, I try to use but asked the system to activate product key not found the product key at the bottom of my laptop I enter the product key but the system says "the product key you entered will not work with this edition of windows vista.» You must run the windows vista Setup program or enter a windows vista product key. "In my company sticker a HP laptop, it says" Windows Vista Home Premium, also found in computer ownership 'Windows Vista Ultimate' and as low property said: you must activate today and return their product ID: 89580-014-0000025-71152, but in my laptop near the product key, wrote a different number which is "89580-014-0000025." what is the problem and how to solve that advice me please. ""
Hello
You can use this Recovery Partition to reinstall Vista to his new condition with the right edition of Vista.
This recovery partition was photographed on your hard drive by HP during the manufacturing of the factory.
You press F11 on startup to start the process of recovering back to factory settings.
Here is the information about HP.
http://h10025.www1.HP.com/ewfrf/wc/document?DocName=c00809678&LC=en&DLC=en&cc=us&product=18703
If the recovery partition is damaged, you can buy HP's Vista recovery discs for a small fee.
If HP's Vista recovery disks, you may need to try this instead:
You can also borrow and use a Microsoft Vista DVD, which contains the files for the different editions of Vista (Home Basic, Home Premium, Business and Ultimate) must be installed. The product key on your computer / Laptop box determines what Edition is installed.
Other manufacturers recovery DVDs are should not be used for this purpose.
And you need to know the version of 'bit' for Vista, as 32-bit and 64-bit editions come on different DVDs
Here's how to do a clean install of Vista using a DVD of Vista from Microsoft:
"How to do a clean install and configure with a full Version of Vista '
http://www.Vistax64.com/tutorials/117366-clean-install-full-version-Vista.html
And phone Activation may be necessary when you use the above installation method.
"How to activate Vista normally and by Activation of the phone '
http://www.Vistax64.com/tutorials/84488-activate-Vista-phone.html
See you soon
-
Just replaced my hard drive in my 6 year macbook pro. Try to install Photoshop CS5. Operating system is up-to-date with the latest and best. I allowed out photoshop on the old hard drive before installing the new.
Now, I downloaded the installation from the adobe Web site package and tried to start the installation. When I do, I get the following error message:
'Install' is corrupted and cannot be opened. You must eject the disk image.
'Install' is on the image disk 'photoshop_12_LS1.dmg '. Safari has downloaded this disk image today at 16:33 from trials2.adobe.com.
Options are 'Cancel' or 'eject the disk image.
What have I done wrong?
It is a common mistake when dealing with Gatekeeper of OSX which, by default, won't take any unsigned as older CS5 of Adobe software applications.
First go to Apple > System Preferences > security & privacy. Under the general tab and on the bottom, the value "allow applications downloaded on the" "Anywhere".
When you have finished and launched Photoshop, set the default value: "Store App and developers trust".
-
I get this error message. "Error adobe license for this product has stopped working. You cannot use this product at this time. You must repair the problem by uninstalling and then reinstalling this product or contact your COMPUTER administrator or Adobe customer support for assistance. (148: 3) "How can I fix it? When I reinstalled the software, I get a message that I have an invalid serial number.
Hi John,.
Could you please the version of Acrobat you are using, and also work on the operating system?
To check the serial number of your product, you may return the following document.
Quickly find your serial number
If you are using windows you can see the following link for more information on the solution to the existing problem.
https://helpx.Adobe.com/Creative-Suite/KB/error-licensing-stopped-Windows.html
If you wish to contact Adobe support team, please visit the following link.
http://helpx.Adobe.com/x-productkb/global/Service1.html
Please click the blue button "Still need help" to connect with Adobe executives.
Let us know how it goes. In case you need more assistance write us back.
We would be happy to help you.
Concerning
Sukrit diallo
-
10150:error: you must provide the password for SYS the...
Salvation;
I'm doing the installation of vault db r12.0.6 db - version 10.2.0.3... While I try to install I get this error:
10150:error: you must provide the password for SYS the Oracle Database Vault will be installed. in the vault of the Oracle 10.2.0.3.0 database Scripts pane. Installation cannot continue
for this component.
Anyone have idea?
PS: I found the remark and he says:
Selected user: stop the installation of this component only.
The solution is to ignore the error.
But if I chose this option that I come back after the next stage of its 90% waiting and begging and not spend the next step
Thank you
HELIOSHelios,
Why should you install the vault of the database? Please note that this is optional and can be installed/configured later.
Kind regards
Hussein -
Thunderbird doesn't start and gives this message in a message window
Thunderbird is already running but is not responding. To open a new window, you must close the current Thunderbird process, or restart your system.
Any help would be appreciated.
See:
-
Hello...
I wonder if you can help me with a problem with my desktop OS X El Capitan 10.11.4 various...
I use FrostWire and the other asked me to update, so I did and came up with this message, 'FrostWire can damage your computer. You must eject the disk image. There is no disk in my hard drive... I try to download again, but still the same message...
Help, please...
Much thanks
Lisa
< re-titled by host >
The actual message means you need to move the mounted image - the small icon that is displayed after you double-click the .dmg - and put it in the trash.
Where do you see the message your computer?
-
Question
I have another type of problem with Firefox
Description
You must give the line of the menu on header of the browser screen. One with bookmark file top
This has happened
Each time Firefox opened
When I clicked on the wrong button
Version of Firefox
3.6.3
Operating system
Windows XP
User Agent
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; RV:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
Plugins installed
- -Default plugin
- Shockwave Flash 10.0 r45
- Windows Presentation Foundation (WPF) plugin for Mozilla browsers
- Next-generation Java plug-in for the Mozilla browsers 1.6.0_16
- Deploy Script NPRuntime plugin Library for Java (TM)
- Adobe Acrobat plugin Version 7.00 for Netscape
- The QuickTime Plugin allows you to display a wide variety of multimedia content in Web pages. For more information, see the Web of QuickTime site.
- Npdsplay dll
- DRM Netscape Plugin store
- DRM Netscape Object network
See the first item.
Don't see the menu bar not (File, Edit, View, history, Favorites, tools, help)? Press and hold the button (Windows) (Linux and OSX see article below) and the following letters in this exact order: V T M
The bar of menus must now appear permanently, unless you turn it off again (view > toolbars). Turn on/off the menu bar is a new feature in version 3.6.
See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missingNavigation, bar toolbar bookmarks and other toolbars under view > toolbars. By clicking on one of them will place a check mark (display) or remove the check mark (not shown).
To display the status bar, view, and then click status bar to place a check mark (display) or remove the check mark (not shown).
Mode full screen
http://KB.mozillazine.org/netbooks#Full_screenSee also:
Back and front toolbar buttons or others are missing
Customize controls, buttons, and Firefox toolbars -
External hard drive can not suddenly open - fixed
my external hard drive worked very well all the time, but suddenly I can't open it more, when I tried to open it, it gives the error message "You must format the disk in the drive until you can use it" and my hard drive is 0 bytes, average there is no file in the hard drive. Average, all the data inside hard disk are gone!
Hello muhammad.
Before you do anything with this player, you can search online for some data recovery utilities so that you can try to recover your data.
What operating system do you use?
Have you tried running chkdsk on the drive?
Let us know.
Best regards
Matthew_Ha
-
"You must format the disk in drive J: before you can use it"
Says error message "You must format the disk in drive J: before that you can use" I have a removable USB storage drive that I always connected to my computer whenever I have download movies save disk space on my computer. Now, he wants me to format this disk storage. Also, where he used to qualify this drive as "Removable disk", it is not labeled as Local J: drive. I don't want to format this drive because it erases all my files and folders on removable USB storage drive. Please help me.
I had the same problem.
And I have a solution for you... The problem is that when you plug in your HD first, Windows 7 install your hard drive and associate it with only this USB port (whether the USB port "4") If you want to use (HD) again, you need to plug it into the same USB port (USB port '4'), where it was first installed. It's stupid! But that's how it worked with my HD.Try all USB ports you have on your PC.
Good luck.
Hope this has been helpful. : D
PS: the same problem is with all the damage that connect you to your pc.
-
My computer won't allow me to access my files on my portable hard disk without error appear "you must format the E: drive before using it. How can I fix this please!
Try to scan your driver with anti-virus, also try to throw the disc looking for this driver and as you try to run the following tools:
http://support.Microsoft.com/mats/system_maintenance_for_windows/
http://support.Microsoft.com/mats/windows_file_and_folder_diag/
-
I cannot acess my main profile and you must use the guest account
I cannot acess my main profile and you must use the guest account
Hello
There may be several error messages and/or other conditions however these methods
should help you regain access.If you suspect any malware, a system restore is an option:
How to make a Vista system restore
http://www.Vistax64.com/tutorials/76905-System-Restore-how.html
---------------------------------------------------------------------------------------------------------------------------Other methods:
You can try to fix it with Safe Mode - repeatedly press F8 as you bootup. The ADMIN account in trunk
Mode has no default password (unless someone has changed the password so it should be available).Some programs such as the updated Google (if you added the toolbar Google, Chrome or Google Earth)
has been known to cause this problem.Error message when you log on a Windows Vista-based or Windows 7 using computer a
Temporary profile: "the user profile Service has no logon. Unable to load the user profile.
http://support.Microsoft.com/kb/947215How to fix error "the user profile Service has no logon. User profile cannot be loaded. »
http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.htmlHow to fix error "your user profile was not loaded correctly! You have been connected with a
temporary profile. "in Vista
http://www.Vistax64.com/tutorials/135858-user-profile-error-logged-temporary-profile.htmlBE VERY CAREFUL IF YOU USE THIS ONE:
DO NOT USE THE ACCOUNT HIDDEN ON A DAILY BASIS! If it corrupts you are TOAST.
How to enable or disable the real built-in Administrator account in Vista
http://www.Vistax64.com/tutorials/67567-administrator-account.htmlUse the Admin account hidden to lower your user account APPLY / OK then wear again to
ADMIN. This allows clear of corruption. Do the same for other accounts if necessary after the
above message.You can use the hidden - administrator account to make another account as an ADMINISTRATOR with your same
password (or two with the same password) use a test or difficulty to another.You can run the Admin account hidden from the prompt by if necessary.
This tells you how to access the System Recovery Options and/or a Vista DVD
http://windowshelp.Microsoft.com/Windows/en-us/help/326b756b-1601-435e-99D0-1585439470351033.mspxIf you cannot access your old account, you can still use an Admin to migrate to another (don't forget
always leave to an Admin who is not used except for testing and difficulty account).Difficulty of a corrupted user profile
http://windowshelp.Microsoft.com/Windows/en-AU/help/769495bf-035C-4764-A538-c9b05c22001e1033.mspxI hope this helps.
-
Hello
I have an external hard drive to work perfectly. I'm back from vacation, and it does not appear under "My Computer". It appears under "Devices and printers", however. This is a link to a screencap of Device Manager: http://i.gyazo.com/9e91e1d71ed32c55dba0419e79b499d5.png
The device in question is that of J:, and it says here that he has 100% free space, that worries me, because he had only 50 GB of free space when I used the latter. After that I open the disk management, I get a pop up message saying: "You must format the disk in the J: drive until you can use it."
How can I get my hard drive appears again?
Thank you
Original title: external hard drive not appearing is not in Windows 7
Hi John,.
Thanks for posting your query in Microsoft Community.
I imagine the inconvenience that you are experiencing and will certainly help you in the right direction to solve the problem.
According to the error message, I suggest trying the suggestions posted by the NakulShridhar responded on 14 October 2011 and by that alexquiteguy replied on 13 January 2011 in the thread following link and check if it helps.
"You must format the disk in drive J: before you can use it"
[Steps apply to Windows 7]
Hope this information is useful. Let us know if you need more help, we will be happy to help you.
Maybe you are looking for
-
Bootcamp partition renamed Untitled after starting up in Mac OS
Can someone help me please? I had successfully installed Windows 10 on my Macbook Pro and ran Windows already several weeks smoothly. Unfortunately I did a backup of my windows files again. Today when I started at El Capitan to connect my iPad to iTu
-
Satellite Pro L20: Where the wireless card?
Hello I bought my Satellite Pro L20 about 4/5 months ago, second hand and then I saw that the wireless is not working and that by looking for the system on which there is no card wireless isn't installed. I am looking to buy one to replace it, but I
-
High temperature CPU and core on Satellite A100-680
Hey guys,. I'm having a problem with the temperature of my A100-680. It holds an average base about 80 degrees Celsius (176 degrees fahrenheit) temperature and a temperature of CPU from above 70 ° c (158 degrees fahrenheit). I had the problem since t
-
recovery disc will work with the new hard drive
I have a HP Pavilion dm4. My hard drive died so I installed a new hard drive. The original operating system installed on the computer is Windows 7. I don't have a Windows 7 disc with the computer. If I order the Windows 7 HP recovery disk, it will in
-
power supply and the video card update
Hi im planning on getting a cx600 power watt corsair and a sapphire radeon hd 6870, but I want to fit the PSU. I have a h8 hpe - 1240t. also, I hear the 6870 is 10.5 in and want to ask if my big enough to put in this big computer card. Thank you