The code below gives me a name redefined error. Could someone explain why this is and if there is another way to do this... Couldn't I define the ALLOWADD first then set TRUE/FALSE? I'm not sure how with this Const.
If session("role") = "ADMIN" Then
const ALLOWADD = TRUE
Else
const ALLOWADD =...
I'm trying to only allow number keys, period, decimal point, and dash.
Why does this generate an error? Something is wrong with my if statment syntax.
<SCRIPT language=Javascript>
<!--
function isNumberKey(evt)
{
var charCode = (evt.which) ? evt.which ...
Why would this set the unempyn field on the opener window to the value Y that I'm comparing it to?? Something must be wrong my my syntax...
if(opener.document.MainForm.unempyn.value = 'Y'){
}
Help,
Aaron
I'm sending a for text field back to a parent window like this:
opener.document.Form1.txtField1.value = MainForm.txtField1.value;
I also want to send a Radio button selection back... I have not been successful. Could someone help?
Thanks,
Aaron
I'm using the code below in combination with a dll file that displays files via web page links. This method is slower to bring up the files than when I link directly to the files when in the web directory.
Is there a way to make this faster? Or is there a different way altogether to secure...
I'm using Response.BinaryWrite to display some files that are outside of my webfolder and do not have Read permissions with IIS.
My question is about the code below. When I open or save files using this code the files are always named BinDoc.asp which is the name of this file.
Is there a way...
Could someone tell me why my variable ragenttxt does not pass to the funcion? Or maybe it as and I'm just not doing somthing else right.
Text Field and Checkbox
<input name="ragenttxt" type="text" size="30">
<input name="ragentna" type="checkbox" value="NA"...
I have not figured out how this could be done in VFP and I was wondering if someone could help.
I want to take a date in this format 02-17-2006 and subtract another date 02-10-2006 to the get number of days between these two dates. Is this possible? I have already found that I can't use the...
Can someone tell me if there is something similar to DATEDIFF for the visual foxpro ODBC driver? I need to include Datediff in an sql string connecting to a .dbf database file and datediff is not valid.
Thanks,
Aaron
Could someone give me an example on how to do this.
I have 2 or more tables that have a ID field that will be the same in each table. I need to create a sql Select and combine into one recordset some fields from all the tables. The first table will always contain all records that may be in the...
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.