|
|
|
|
|
| | |
|
Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
If a Form is Saved or Not... |
From: |
Tom |
Date: |
4/28/2000 11:16:09 AM |
IP: |
199.128.89.41 |
I have a form where it behaves differently based on whether the user Saves their info or not. Some (they are my clients) choose not to. The data is saved in groups of 10, and everything works the same up to 2 full pages of data, then navigation between pages and printing goes awry.
In checking to see if a page is saved or not, I have zeroed in the following few lines of code from 20 printed pages:
bEditReport = (UCase(Request("EditReport")) = "TRUE")
lngReportID = CLng(NullToZero(Request("ReportID")))
bSavedReport = (lngReportID <> 0)
lngGroupID = Session("GroupID")
CheckSession
My debugger takes issue with the use of "CLng". Any removal of it or use of "CInt" results in questioning of the definition/use of "lngReportID".
Have I described this in a way that is understood/complete?
Thanks.
Tom |
Follow Up - Re: If a Form is Saved or Not... - Dan 5/11/2000 1:25:02 AM
|
|
|
|
|
|
|
|
|
|
|
|