Thank you again everyone for all there help from my question from before.. I've got another one..
Here's the code in all it's 'glory'.. the issue is that it's NOT updating the table with the string information.. and therefore print blank reports...
I've got gotton so fusterated that this simple code isn't working.. I'm assumeing is just a dumb error that I'm overlooking.....
BTW, this is in VFP 3.0 in case it matters.. =)
=========CODE===============
&&INIT
&&&&&&&&&&&&&&&&&&&&&
Batch = ""
Work = ""
Policy = ""
Company = ""
SSN = ""
System = ""
WorkNum = ""
DocType = ""
SBU = ""
&&Check Input from Option Buttons
IF ThisForm.Batch.Value = 1 then
Batch = "Foo"
Work = "Foobar"
Else
Batch = "Foo2"
Work = "FOobar2"
ENDIF
Policy = "XXXBLANK"
Company = "XXXBLANK"
SSN = "XXXBLANK"
System = "XXXBLANK"
WorkNum = "XXXBLANK"
DocType = "DocType"
SBU = "HELP"
CLOSE DATABASES
Select 1 && selects first available work area
Use Special && opens table, refer to after this as table1
APPEND BLANK && Start with a new Record
For x = 001 to 99
REPLACE Special.Policy WITH Policy
REPLACE Special.Company WITH Company
REPLACE Special.DocType WITH DocType
REPLACE Special.SSN WITH SSN
REPLACE Special.System WITH System
REPLACE Special.WorkNUM WITH WorkNUM
REPLACE Special.SBU WITH SBU
REPLACE Special.Batch WITH Batch + STR(X)
REPLACE Special.Work WITH Work
APPEND BLANK &&<--Create Blank
EndFor
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&& Print the Reports
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&SET Console OFF
CLOSE DATABASES
Select 1
Use Special
REPORT FORM specialreport.frx NOEJECT NOCONSOLE PREVIEW
&&use Special
DO FORM delextrt &&Asks if Print was ok...
&&close tables all ******
Darkness... Bleakness...
and Plastic forks...
--The PogoWolf
Here's the code in all it's 'glory'.. the issue is that it's NOT updating the table with the string information.. and therefore print blank reports...
I've got gotton so fusterated that this simple code isn't working.. I'm assumeing is just a dumb error that I'm overlooking.....
BTW, this is in VFP 3.0 in case it matters.. =)
=========CODE===============
&&INIT
&&&&&&&&&&&&&&&&&&&&&
Batch = ""
Work = ""
Policy = ""
Company = ""
SSN = ""
System = ""
WorkNum = ""
DocType = ""
SBU = ""
&&Check Input from Option Buttons
IF ThisForm.Batch.Value = 1 then
Batch = "Foo"
Work = "Foobar"
Else
Batch = "Foo2"
Work = "FOobar2"
ENDIF
Policy = "XXXBLANK"
Company = "XXXBLANK"
SSN = "XXXBLANK"
System = "XXXBLANK"
WorkNum = "XXXBLANK"
DocType = "DocType"
SBU = "HELP"
CLOSE DATABASES
Select 1 && selects first available work area
Use Special && opens table, refer to after this as table1
APPEND BLANK && Start with a new Record
For x = 001 to 99
REPLACE Special.Policy WITH Policy
REPLACE Special.Company WITH Company
REPLACE Special.DocType WITH DocType
REPLACE Special.SSN WITH SSN
REPLACE Special.System WITH System
REPLACE Special.WorkNUM WITH WorkNUM
REPLACE Special.SBU WITH SBU
REPLACE Special.Batch WITH Batch + STR(X)
REPLACE Special.Work WITH Work
APPEND BLANK &&<--Create Blank
EndFor
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&& Print the Reports
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
&&SET Console OFF
CLOSE DATABASES
Select 1
Use Special
REPORT FORM specialreport.frx NOEJECT NOCONSOLE PREVIEW
&&use Special
DO FORM delextrt &&Asks if Print was ok...
&&close tables all ******
Darkness... Bleakness...
and Plastic forks...
--The PogoWolf