Well it helps if you provide the correct path...
I added this to the Page1.aspx
<%@ Assembly Src="/Components/Logging/LogTransactions.vb" %>
It seems to work now.
Basically I have three pages Page1.asp,Page1.aspx.vb, LogTransactions.vb. Notice that I am using the src attribute in the aspx page so I don't have to compile/build the project everytime I make a change to the page. That's all good .. but how do I access the class inside the LogTransactions.vb...
Does anyone know of a utility that you can paste a sql statement from say Query Analyzer and it will create a formatted string for use in an ASP.NET page. Most of the time I use sprocs but sometimes when building dynamic sql statements it would be nice to have this utility.
I ended up adding the datalist directly to the repeater on the aspx page (and added an OnItemDataBound="MyDataListBoundHandler()" and did not use the placeholder. The reply above would work great if I did not know exactly what kind of control I needed to add until bind time.
Thanks!
I have a repeater that has a placeholder inside it. I am assigning a datalist to the placehoder and setting the datasource inside the itemdatabound of the repeater. I also have a need to so some decision making inside the itemdatabound of the datalist. How do I hook up an ItemDataBound sub to a...
I have the following bit of code
for (var i=0; i<numLines; i++)
{
alert (document.form1.TQuantity+i.value);
fieldQty = fieldQty + document.form1.TQuantity+i.value;
}
The alert box lists the value as object[undefined]. Is there a way to include variables in this way..ie...
I am running the report wizard to create a report that has a grouping level of hours on the right..When the report is previewed the hours are like this
1:00 PM
1:00 pm Meeting 1
1:00 PM
1:25 pm Meeting 2
1:30 pm Meeting...
I figured it out myself finally....
Here is the solution
Private Sub SaveChanges_Click()
On Error GoTo Err_SaveChanges_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.GoToRecord , , acNewRec
DoCmd.GoToControl "[New2]"...
Ok the save is not really necessary but I need to create a new record for all three subforms with one click.
I already have the code as you mentioned for the subform that the button is on. The problem is that I also need that button to call the
DoCmd.GoToRecord , , acNewRec
action for all...
I have three sub forms incorporated into one main form. I want to put a save button on one of the subforms that saves the data in that form plus saves it in the others as well. Then Make all three go to a new record.
The problem I am having is how to reference the DoCmd action for the other...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.