Hi,
Many thanks to all you guys, especially ArkM. I will give the code a run and have lots of coffee while the queries run later.
What a great site Tek-Tips is.
Kind regards,
Al
Hi,
Thank you for your input. I need the whole set of numbers so I can delete from them certain sequences which I feel will not come up in the draw. Easier this way using SQL to delete the sequences than to write different programs to generate the numbers.
The British lotto chooses the 6...
Hi,
Can anyone write a program to generate all (14,000,000 ish) the number sequences that could appear in the British Lotto. The program needs to generate a text file which can be exported to a database.
I guess C is the best language to do the task.
Tricky one?
Many thanks in advance.
Al
Hi again,
Thanks for the help so far. I can now get the message text through.
One other problem has become apparent now though...
If no image is selected in the form the message text doesn't get through either and nothing is written to the DB. All is OK if there is message text and a file...
Thanks Gus.
Still didn't work though!?! I have put the code you suggested after Set Upload = Server.CreateObject("Persits.Upload.1").
Any suggestions?
Many thanks.
Al
Hi,
Can anyone help me with uploading a file with a message. I am using...
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="UploadIt.asp">
<table width="70%" border="0" cellspacing="0" cellpadding="5"...
Hi James,
Try this...
Just pass all your variables through the function.
Good Luck.
Al
**********************************
Function cleansql(strValue)
Dim strTemp
strTemp = strValue
Do Until InStr(1, strTemp, "'") = 0
strTemp = Left(strTemp, InStr(1, strTemp...
Hi,
Any ideas on getting the values from a database, entered from a multiselect box giving a comma delimited list, so on return selects the items in the list box?
Many thanks in advance.
Al
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.