No, I've tried that many times and it doesn't work at all...
Anyway, I wasn't even close to the solution. In the end, this is the code I added...
<script language=javascript>
function openPopup(strOpen)
{
//alert(strOpen);
open(strOpen, "Teaching", "status=1, width=640...
Hello
Hey that's great, thanks for that. I got that working. The problem is that Staff_ID is not being passed form one page to the other...
The resulting address for the popup page should be...
.../teaching.aspx?Staff_ID=g0000100
but instead I get...
.../teaching.aspx?Staff_ID = {0}
So...
Hi
This is really bugging me now...
I'm trying to get this opened in a pop up using the following code...
<asp:HyperLinkField HeaderText="Popup" Text="View" NavigateUrl="javascript:window.open('teaching.aspx?Staff_ID={0}',,'width=640 height=500');" />
But this won’t do a thing. Staff_ID is...
Anyone know how to define a multidimensional array in VBScript without knowing constant dimensions (ie, using variables to define the dimensions)?
Help greatly appreciated.
Yeh thanks
I actually mamanged to do it. Just in case someone is interested. Here is what I did...
Function iCommas(c)
iCommas = Replace(c, "'", "''")
End Function
Then on the SQL String...
Dim strSQL As String
strSQL = "INSERT INTO Bookings (staff_name,) Values ('" & iCommas(cmbStaff_name)...
Hi
I have an interesting one here... I have a dropdown list which displays staff name. The name selected will be then stored in a table by using a submit button that works as follows...
Dim strSQL As String
strSQL = "INSERT INTO Bookings (staff_name,) Values ('" & cmbStaff_name & "')"...
Hey, I just wanted to say thanks for your help. In the end I managed to get your code running. The main problem is that the ID Column in the table wasn't set to AutoNumber, and without this ID nothing would be allowed to be stored in any of the other columns. That's why it did work when I typed...
Well I'm not using an appended query since all the tables already exist and I'm not using DAO since I'm not really that good with access. That's why I'm in a forum!
All I need is to get the data into a table. Can't be that hard but the code I've written doesn't seem to work, and I can't see why...
Hi everyone! Anyone able to add records to the database using VBA?
I started using 'DoCmd.GoToRecord , , acNewRec
to generate the new ID for a new record, but this doesnt seem to add the ID number directly into the database, instead I had to create a textfield in which to write this ID, and...
Yeah, is just like you said, I'm filtering a subform by picking up the details from a combo box in another pop up form.
This is the code in the pop up form named frm_Filter_by_reference_type with a combo boxe called CmbStaff_number ...
Private Sub Done_button_Click()
On Error GoTo...
Hi there
I'm trying to use "ServerFilter" to be able to filter a form, but this is base on Access, not Access project, and I've been told ServerFilter will only work with Access project.
Is this true? and if so, what could I used instead?
Thank you very much!
Marcel Quiroga Defize
I've got a very stupid problem.
I formated an old computer for a friend ( this computer only will work with windows 98, XP wont install) and i manage to find the drivers for everything apart of the soundcard (integrated on the mither board) Can anyone tell me how can i find out the model of it...
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.