I would remove the many to many relationship and add a bridge table in the middle. have two fields in it and they should be the topicID and the videoID. this is like a table which makes a one to many relationship from both sides but allows many to many actions. hope this helps.
Regards,
Lewis...
Are you sure the form2 frm2 = new form2();
actually links to the form. when you initialise the form do you not have to tell it which form it is looking at, not sure if that initialisation technique works.
Regards,
Lewis Harvey
lewis@lharvey.com
It is returning al the values because you are not filtering down the CAS product type in the main query. Try something like:
SELECT * FROM TblMainData WHERE ProductType = 'CAS' AND DateProcessed = NULL AND M.FIRefNo IN (SELECT T.FIRefNo FROM tblTopFI WHERE ProductType = 'CAS');
I think that...
do you need to put string s = frm2.sform2.value or .text? so its know what to look for.
string s = frm2.sform2.Text; <-Think this is the right one.
string s = frm2.sform2.Value;
Let me know if it works
Regards,
Lewis Harvey
lewis@lharvey.com
If you are working in Visual Studio .Net, right click the project, and then click Add Web Reference. Give the link to web service, I have don't done it any other way but it must be posible. Once you have created the web reference treat it like an object. Sample code below:
create the service as...
One simple way would be to set it to a string variable and make it equal to lots of small strings. This will only eliminate bots collecting the password, but people will still be able to decypher it.
e.g.
dim pword = "p" & "a" & "s" & "s" & "w" & "o" & "r" & "d"
Regards,
Lewis Harvey...
It doesn't like the "". In the sub try initilising the sql first as a string, the placing it in the sub, e.g.
sub sqlSelect(conn,sql,rs)
set rs = conn.execute(sql)
end sub
openDatabase(conn)
dim sqlsate = "select distinctrow(codeview.section) from codeview"
sqlSelect(conn,sqlstate,rs)...
When you use your sqlSelect() funtion, you have not put brakcets around the properties.
Try
sqlSelect(conn,"select distinctrow(codeview.section) from codeview",rs)
Does this help?
Regards,
Lewis Harvey
lewis@lharvey.com
Try this
<%
Dim myFSO
'this line creates an instance of the File Scripting Object named myFSO
SET myFSO = Server.CreateObject("Scripting.FileSystemObject")
'error handling here to make sure that things go smoothly
'if the file does not exist
If NOT...
can you post your asp code for me? or at least the bit which opens the connection and sets the sql and whn you use the results please.
Regards,
Lewis Harvey
lewis@lharvey.com
I don't think you can do it in HTML, you need a server side script to generate parser. I have done it in PHP, but you can use ASP quite as simply.
Regards,
Lewis Harvey
lewis@lharvey.com
i don't think you can call the method openConnection in the string, e.g. Response.Write is generating a string of text. Try creating a varible set the value of openConnection results and then placing it in the Response.Write criteria.
Regards,
Lewis Harvey
lewis@lharvey.com
Thats fine, you can close the recordset instead of using nothing in the first instance. Also, there is no real need to create another recordset (rsEvents1) as once you close the other recordset you can reopen it using different SQL, on the same database connection.
Regards,
Lewis Harvey...
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.