Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textmerge problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00473023
Message ID:
00481511
Views:
11
>Fred,
>I have a feeling I'm doin (not doing) something really dumb, but I don't know what it is. You said:
>"I don't know why you would be getting blank output. Did you try my example EXACTLY as I posted it? (it was a cut and paste from my command window, except for the file/field names)"
>The "except for the file/field names" is where I think the problem lies. I've built a "letters shell" that will print one record or all records selected with a "for loop". In fpd26 when I'm running thru the entire table have following code:
>select (m.savearea)
>m.recno = recno()
>scan
>\<>
>eject page
>endscan
>
>When I'm just printing the current record there are no select... or m.recno statements.
>In vfp60 I've added the table that has the names & addresses in the Data Environment. That doesn't help either.
>I wonder if when you build the form to do the textmerge that it should be built on a special class. I just looked it up and there is a mailmrge.vcx. Should I be using that to build my form?
>Sorry to be such a bother. Bill

I've never used the mailmerge.vcx so I can't comment. Are you sure you're getting any records to SCAN? Maybe you have *nothing* to print? That's why I suggested just trying my code on a single record that you know is there and see if it prints anything or not.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform