Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, I have tried to use the sam

Status
Not open for further replies.

mfild

Technical User
Nov 1, 2003
22
0
0
GB
Hi,

I have tried to use the same list/menu item on two different pages. For example, on one page I need a list box showing course codes. I also need the same list box on another page. On this second page I created a new recordset with a different name and tried it and it didn't work. I get the following message back:

Active Server Pages error 'ASP 0141'
Page Command Repeated
/pProtech/booking1.asp, line 2
The @ command can only be used once within the Active Server Page.


I agree the page command has been repeated (although I have tried a different name) but is there a way of having a list item accessing the same info on two separate pages? I realise this may be a simple question but would appreciate some feedback as I need to repeat other dynamic list items like this.

Many thanks for your help,

Mark
 
I think I will use stored procedures. Thanks
 
<%@LANGUAGE=&quot;VBSCRIPT&quot;%>

repeated!!

[Peace][Pipe]
If you don't stand up for something, you'll fall down. Toke it Easy.
Howard Marks. Visit the forum at
 
Cheech,

Your suggestion was right, many thanks for the help.

Mark
 
[thumbsup2]

[Peace][Pipe]
If you don't stand up for something, you'll fall down. Toke it Easy.
Howard Marks. Visit the forum at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top