|
-
May 12th, 2003, 09:34 PM
#1
Thread Starter
New Member
Please help with this(trying to call a value)
Ok I am using a language called FAB Forms Automation Basic, it is close to VB but it uses other junk also check formdocs.com.
Now here is my problem I know what to do in VB I think but I tried it and it didnt work here goes
Look below here is a current print script I have.
.PrintOut ([PageRange], [Copies], [Collate], [BlankPages], [PrintWhatForm], [RecordRange], [Printer], [PrintToFileName])
here is what I am using of it which works fine.
thisform.PrintOut (1,2)
Problem is I have a field called Offcnt that hold a value, lets say it is the value of 4 and I want tht vlue to equalthe number of copies.
so I really want it to look like this
thisform.PrintOut (1,4)
but I know that it is not that easy
so I try to call the value but am getting errors.
here is how it says to call the value
.Value ([Cell])
but everytime I try and use offcnt instead of cell it tells me its wrong.
the only thing that works is to do this
thisform.PrintOut (1,thisfield.value)
but the problem with that is I dont want thisfield since it is a button and doesnt hold a value I want the value of offcnt?
I tried this and got an error
thisform.PrintOut (1,offcnt.value)
saying offcnt is not an object?
Can someone please help me,
Thanks,
Matt
Which works fine it prints page 1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|