tomlogic

Just another Blog.noodle5.com weblog

Error on the primary key with the constraint

Filed under: Software Educational Forum — at 11:52 pm on Tuesday, August 12, 2008

i all,

This is a school related question. My lab says the following:

1. Add a new Vendor table
a. See table above for fields and data types
b. Use your username as the table definition, i.e., userid.Vendor, instead of Demo
c. Add Primary key ProductNo as a Constraint

Okay, I created the table with the fields and data types. Now when I go to add the primary key with the constraint and I get
ERROR at line 2:
ORA-00904: “VENDOR_NO”: invalid identifier

Read more about it at buzzycode.com

Can i use the bind variable inside a procedure?

Filed under: Software Educational Forum — at 11:51 pm on Tuesday, August 12, 2008

Hello everybody,

Can i use the bind variable inside a procedure?
and the query like update emp set empname=:name where empno=:no;

but i work like update emp set empname=&name where empno=&no inside procedures it works properly

Code: ( text )
declare
i number:=0;
begin
while i<3
loop
update dept set empno=&empno where dname=’&deptname’;
i:=i+1;
end loop;
end;

Read more about it at buzzycode.com

The script in HTML form is not working

Filed under: Software Educational Forum — at 4:14 am on Monday, July 7, 2008

Hello,

I’m hoping you can help me with my form. I used some of the script you ga
ve in this discussion but it’s not working for me for some reason. Can you check this out a
nd tell me what you think? http://www.rwgarcia.com/forms/form.html When I test the form it just
goes to the formhandler.asp page.

Read more about it at buzzycode.com

Problem of Comma and how can password protect a CSV file?

Filed under: Software Educational Forum — at 4:13 am on Monday, July 7, 2008

I have more questions.

First of all, if you look at my csv file here: http://www.rwgarcia.com/forms/veggiechips.csv, there are a ton of commas being inserted. It seems like there are more everytime there is a new entry. Do you know why it’s doing that? My client is using Excel to open the file and all those extra commas seem to get in the way.

Also, do you know how can password protect the csv file?

Thank you thank you thank you!!!

Read more about it at buzzycode.com

Problem of Comma and how can password protect a CSV file?

Filed under: Software Educational Forum — at 4:10 am on Monday, July 7, 2008

I have more questions.

First of all, if you look at my csv file here: http://www.rwgarcia.com/forms/veggiechips.csv, there are a ton of commas being inserted. It seems like there are more everytime there is a new entry. Do you know why it’s doing that? My client is using Excel to open the file and all those extra commas seem to get in the way.

Also, do you know how can password protect the csv file?

Thank you thank you thank you!!!

Read more about it at buzzycode.com

Difficult to calculate the Text Box Inputs

Filed under: Software Educational Forum — at 11:36 pm on Thursday, June 12, 2008

Hi,
I have been learning VB now for about a week and thought I was doing ok. I have already done a calculation form (not as big as this) . I have volunteered myself to help a friend input her hours per day into a form, start time, end time and lunch time. Then the form will calculate the amount of hours she has done for her. Sending results to access is not an issue yet!

When I have entered the below code and tested it, it let’s me input hours, I press calculate then says compile error, method or data member not found. I press ok and .text is highlighted. I have noticed when I delete .text and type it again only 4 options instead of loads comes up. So really it’s not letting me selct it as .text.

I was up til 4 this morning with this so any help and I would be eternally grateful.

Read more about it at buzzycode.com

Problems regarding text filtering with Visual Basic

Filed under: Software Educational Forum — at 11:35 pm on Thursday, June 12, 2008

Hallo

I have some problems regarding text filtering with Visual Basic.
In order to filter only some text lines I want to make a copy of the file as a temporary one, read this copy as a file input via basic and print out to the file.
The original text file looks as follows:
2.11.2007 11:35:36 The new source ‘SOCKET:192.168.0.75:1458′
has been accepted
22.11.2007 11:34:42 Network Services stopped (GT EX TEST)
22.11.2007 11:34:52 Network Services started (GT EX TEST)
….
There are hundreds of these messages. This text file is log file of a software.
In a copied text file I only want to copy the text lines (system messages) which I need to see.

I will be really grateful if you give
me some tips for the solution of the problem.

Read more about it at buzzycode.com

For the Redirection of User

Filed under: Software Educational Forum — at 12:05 am on Saturday, May 31, 2008

Hi, I’m very new to php, but is there an object or method that will allow you to redirect th
e user to a new page? i am using the below code header(Location: ‘file.html’) and it’s p
arse error, Thanks! Moshik.

Read more about it at buzzycode.com

Predominantly ASP Site

Filed under: Software Educational Forum — at 12:05 am on Saturday, May 31, 2008

Does anyone know if it is possible to have a predominantly ASp site, but run certain scripts/fu
ctions in PHP, eg sending emails and calling Ajax scripts? I have a real estate website and
I want to use a PHP Pear Ajax script to display regions from countries (and an email script) bu
t all the pages are ASP, can I call a PHP script from an ASP page?

Read more about it at buzzycode.com

I Need a Fast Site Redirection Script

Filed under: Software Educational Forum — at 3:51 am on Thursday, May 15, 2008

Hello Friends, I need a fast site redirection script as I have my head site on windows ser
ver 2003 and some sites on Linux(they are 2 sites which i use to store database). I only wan
t to redirect both linux site to my Head site (Site on Windows server 2003). Thanks Aroma.

Read more about it at buzzycode.com

Next Page »